[INFO] fetching crate se_rs_ial 0.0.2... [INFO] checking se_rs_ial-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate se_rs_ial 0.0.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate se_rs_ial 0.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate se_rs_ial 0.0.2 [INFO] finished tweaking crates.io crate se_rs_ial 0.0.2 [INFO] tweaked toml for crates.io crate se_rs_ial 0.0.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fefa2c3ff630aa0ab835e3a868761a4caeabc5d6cf603915c208f22322abe77c [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" "fefa2c3ff630aa0ab835e3a868761a4caeabc5d6cf603915c208f22322abe77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fefa2c3ff630aa0ab835e3a868761a4caeabc5d6cf603915c208f22322abe77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fefa2c3ff630aa0ab835e3a868761a4caeabc5d6cf603915c208f22322abe77c", kill_on_drop: false }` [INFO] [stdout] fefa2c3ff630aa0ab835e3a868761a4caeabc5d6cf603915c208f22322abe77c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ee257b157587df8735bd66df9209290702e090962f390c1b18227cc39f0a266 [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" "9ee257b157587df8735bd66df9209290702e090962f390c1b18227cc39f0a266", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking se_rs_ial v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | flags DCBFlags: WORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | flags CommEventFlags: DWORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:155:2 [INFO] [stdout] | [INFO] [stdout] 155 | flags PurgeFlags: DWORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | flags DCBFlags: WORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | flags CommEventFlags: DWORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `flags` [INFO] [stdout] --> src/ffi.rs:155:2 [INFO] [stdout] | [INFO] [stdout] 155 | flags PurgeFlags: DWORD { [INFO] [stdout] | ^^^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::consts::os::extra::*; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | use libc::funcs::extra::kernel32; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc` [INFO] [stdout] --> src/lib.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::consts::os::extra::*; [INFO] [stdout] | ^^^^^^ could not find `consts` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stdout] --> src/lib.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | use libc::funcs::extra::kernel32; [INFO] [stdout] | ^^^^^ could not find `funcs` in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::HANDLE`, `libc::DWORD` [INFO] [stdout] --> src/lib.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | use libc::{ c_void, c_int, HANDLE, DWORD }; [INFO] [stdout] | ^^^^^^ ^^^^^ no `DWORD` in the root [INFO] [stdout] | | [INFO] [stdout] | no `HANDLE` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::HANDLE`, `libc::DWORD` [INFO] [stdout] --> src/lib.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | use libc::{ c_void, c_int, HANDLE, DWORD }; [INFO] [stdout] | ^^^^^^ ^^^^^ no `DWORD` in the root [INFO] [stdout] | | [INFO] [stdout] | no `HANDLE` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::LPOVERLAPPED`, `libc::HANDLE`, `libc::DWORD`, `libc::WORD`, `libc::BOOL`, `libc::BYTE` [INFO] [stdout] --> src/ffi.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use libc::{ c_int, c_char, LPOVERLAPPED, HANDLE, DWORD, WORD, BOOL, BYTE }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ no `BYTE` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `BOOL` in the root [INFO] [stdout] | | | | no `WORD` in the root [INFO] [stdout] | | | no `DWORD` in the root [INFO] [stdout] | | no `HANDLE` in the root [INFO] [stdout] | no `LPOVERLAPPED` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::LPOVERLAPPED`, `libc::HANDLE`, `libc::DWORD`, `libc::WORD`, `libc::BOOL`, `libc::BYTE` [INFO] [stdout] --> src/ffi.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use libc::{ c_int, c_char, LPOVERLAPPED, HANDLE, DWORD, WORD, BOOL, BYTE }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^^ no `BYTE` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `BOOL` in the root [INFO] [stdout] | | | | no `WORD` in the root [INFO] [stdout] | | | no `DWORD` in the root [INFO] [stdout] | | no `HANDLE` in the root [INFO] [stdout] | no `LPOVERLAPPED` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommEventFlags` [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut events = CommEventFlags::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommEventFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | kernel32::GetLastError() [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | kernel32::CreateFileW(port_u16.as_ptr(), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommEventFlags` [INFO] [stdout] --> src/lib.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let mut events = CommEventFlags::empty(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CommEventFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | kernel32::GetLastError() [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | kernel32::CreateFileW(port_u16.as_ptr(), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | kernel32::ReadFile(self.comm_handle, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | kernel32::WriteFile(self.comm_handle, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let e = unsafe { kernel32::CloseHandle(self.comm_handle) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope [INFO] [stdout] --> src/ffi.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | impl fmt::Debug for DCBFlags { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFBinary` in this scope [INFO] [stdout] --> src/ffi.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "{}", [(DCBFBinary, "DCBFBinary"), (DCBFParity, "DCBFParity"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFParity` in this scope [INFO] [stdout] --> src/ffi.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "{}", [(DCBFBinary, "DCBFBinary"), (DCBFParity, "DCBFParity"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutxCtsFlow` in this scope [INFO] [stdout] --> src/ffi.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | (DCBFOutxCtsFlow, "DCBFOutxCtsFlow"), (DCBFOutxDsrFlow, "DCBFOutxDsrFlow"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutxDsrFlow` in this scope [INFO] [stdout] --> src/ffi.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | (DCBFOutxCtsFlow, "DCBFOutxCtsFlow"), (DCBFOutxDsrFlow, "DCBFOutxDsrFlow"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | (DCBFDtrControl_lo, "DCBFDtrControl_lo"), (DCBFDtrControl_hi, "DCBFDtrControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | (DCBFDtrControl_lo, "DCBFDtrControl_lo"), (DCBFDtrControl_hi, "DCBFDtrControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDsrSensitivity` in this scope [INFO] [stdout] --> src/ffi.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | (DCBFDsrSensitivity, "DCBFDsrSensitivity"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFTXContinueOnXoff` in this scope [INFO] [stdout] --> src/ffi.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | (DCBFTXContinueOnXoff, "DCBFTXContinueOnXoff"), (DCBFOutX, "DCBFOutX"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutX` in this scope [INFO] [stdout] --> src/ffi.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | (DCBFTXContinueOnXoff, "DCBFTXContinueOnXoff"), (DCBFOutX, "DCBFOutX"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFInX` in this scope [INFO] [stdout] --> src/ffi.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFErrorChar` in this scope [INFO] [stdout] --> src/ffi.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFNull` in this scope [INFO] [stdout] --> src/ffi.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFRtsControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | (DCBFRtsControl_lo, "DCBFRtsControl_lo"), (DCBFRtsControl_hi, "DCBFRtsControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFRtsControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | (DCBFRtsControl_lo, "DCBFRtsControl_lo"), (DCBFRtsControl_hi, "DCBFRtsControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFAbortOnError` in this scope [INFO] [stdout] --> src/ffi.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | (DCBFAbortOnError, "DCBFAbortOnError"), (DCBFDummy, "DCBFDummy")].iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDummy` in this scope [INFO] [stdout] --> src/ffi.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | (DCBFAbortOnError, "DCBFAbortOnError"), (DCBFDummy, "DCBFDummy")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope [INFO] [stdout] --> src/ffi.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | pub flags: DCBFlags, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | DTR_CONTROL::DISABLE => self.flags.remove(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:97:66 [INFO] [stdout] | [INFO] [stdout] 97 | DTR_CONTROL::DISABLE => self.flags.remove(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | self.flags.remove(DCBFDtrControl_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | self.flags.insert(DCBFDtrControl_lo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | DTR_CONTROL::HANDSHAKE => self.flags.insert(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:102:68 [INFO] [stdout] | [INFO] [stdout] 102 | DTR_CONTROL::HANDSHAKE => self.flags.insert(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | impl fmt::Debug for CommEventFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_BREAK` in this scope [INFO] [stdout] --> src/ffi.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CTS` in this scope [INFO] [stdout] --> src/ffi.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DSR` in this scope [INFO] [stdout] --> src/ffi.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ERR` in this scope [INFO] [stdout] --> src/ffi.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RING` in this scope [INFO] [stdout] --> src/ffi.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RLSD` in this scope [INFO] [stdout] --> src/ffi.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RXCHAR` in this scope [INFO] [stdout] --> src/ffi.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RXFLAG` in this scope [INFO] [stdout] --> src/ffi.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_TXEMPTY` in this scope [INFO] [stdout] --> src/ffi.rs:142:57 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PurgeFlags` in this scope [INFO] [stdout] --> src/ffi.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn PurgeComm(file_handle: HANDLE, flags: PurgeFlags) -> BOOL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:177:54 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn SetCommMask(file_handle: HANDLE, event_mask: CommEventFlags) -> BOOL; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn WaitCommEvent(file_handle: HANDLE, event_mask: *mut CommEventFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/lib.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> CommEventWaiter<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, CommEventFlags` [INFO] [stdout] 43 | pub fn wait_for_event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/lib.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/lib.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in crate `libc` [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | libc::FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | if comm_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PURGE_RXCLEAR` in this scope [INFO] [stdout] --> src/lib.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { PurgeComm(conn.comm_handle, PURGE_RXCLEAR | PURGE_TXCLEAR); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PURGE_TXCLEAR` in this scope [INFO] [stdout] --> src/lib.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { PurgeComm(conn.comm_handle, PURGE_RXCLEAR | PURGE_TXCLEAR); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | kernel32::ReadFile(self.comm_handle, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | kernel32::WriteFile(self.comm_handle, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:234:4 [INFO] [stdout] | [INFO] [stdout] 234 | kernel32::GetLastError() as c_int [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kernel32` [INFO] [stdout] --> src/lib.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | let e = unsafe { kernel32::CloseHandle(self.comm_handle) }; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope [INFO] [stdout] --> src/ffi.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | impl fmt::Debug for DCBFlags { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFBinary` in this scope [INFO] [stdout] --> src/ffi.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "{}", [(DCBFBinary, "DCBFBinary"), (DCBFParity, "DCBFParity"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFParity` in this scope [INFO] [stdout] --> src/ffi.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "{}", [(DCBFBinary, "DCBFBinary"), (DCBFParity, "DCBFParity"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutxCtsFlow` in this scope [INFO] [stdout] --> src/ffi.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | (DCBFOutxCtsFlow, "DCBFOutxCtsFlow"), (DCBFOutxDsrFlow, "DCBFOutxDsrFlow"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutxDsrFlow` in this scope [INFO] [stdout] --> src/ffi.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | (DCBFOutxCtsFlow, "DCBFOutxCtsFlow"), (DCBFOutxDsrFlow, "DCBFOutxDsrFlow"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | (DCBFDtrControl_lo, "DCBFDtrControl_lo"), (DCBFDtrControl_hi, "DCBFDtrControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | (DCBFDtrControl_lo, "DCBFDtrControl_lo"), (DCBFDtrControl_hi, "DCBFDtrControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDsrSensitivity` in this scope [INFO] [stdout] --> src/ffi.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | (DCBFDsrSensitivity, "DCBFDsrSensitivity"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFTXContinueOnXoff` in this scope [INFO] [stdout] --> src/ffi.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | (DCBFTXContinueOnXoff, "DCBFTXContinueOnXoff"), (DCBFOutX, "DCBFOutX"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFOutX` in this scope [INFO] [stdout] --> src/ffi.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | (DCBFTXContinueOnXoff, "DCBFTXContinueOnXoff"), (DCBFOutX, "DCBFOutX"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFInX` in this scope [INFO] [stdout] --> src/ffi.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFErrorChar` in this scope [INFO] [stdout] --> src/ffi.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFNull` in this scope [INFO] [stdout] --> src/ffi.rs:60:61 [INFO] [stdout] | [INFO] [stdout] 60 | (DCBFInX, "DCBFInX"), (DCBFErrorChar, "DCBFErrorChar"), (DCBFNull, "DCBFNull"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFRtsControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | (DCBFRtsControl_lo, "DCBFRtsControl_lo"), (DCBFRtsControl_hi, "DCBFRtsControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFRtsControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | (DCBFRtsControl_lo, "DCBFRtsControl_lo"), (DCBFRtsControl_hi, "DCBFRtsControl_hi"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFAbortOnError` in this scope [INFO] [stdout] --> src/ffi.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | (DCBFAbortOnError, "DCBFAbortOnError"), (DCBFDummy, "DCBFDummy")].iter() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDummy` in this scope [INFO] [stdout] --> src/ffi.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | (DCBFAbortOnError, "DCBFAbortOnError"), (DCBFDummy, "DCBFDummy")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope [INFO] [stdout] --> src/ffi.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | pub flags: DCBFlags, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | DTR_CONTROL::DISABLE => self.flags.remove(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:97:66 [INFO] [stdout] | [INFO] [stdout] 97 | DTR_CONTROL::DISABLE => self.flags.remove(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | self.flags.remove(DCBFDtrControl_hi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | self.flags.insert(DCBFDtrControl_lo) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_lo` in this scope [INFO] [stdout] --> src/ffi.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | DTR_CONTROL::HANDSHAKE => self.flags.insert(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DCBFDtrControl_hi` in this scope [INFO] [stdout] --> src/ffi.rs:102:68 [INFO] [stdout] | [INFO] [stdout] 102 | DTR_CONTROL::HANDSHAKE => self.flags.insert(DCBFDtrControl_lo | DCBFDtrControl_hi), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | impl fmt::Debug for CommEventFlags { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_BREAK` in this scope [INFO] [stdout] --> src/ffi.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CTS` in this scope [INFO] [stdout] --> src/ffi.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_DSR` in this scope [INFO] [stdout] --> src/ffi.rs:140:65 [INFO] [stdout] | [INFO] [stdout] 140 | write!(f, "{}", [(EV_BREAK, "EV_BREAK"), (EV_CTS, "EV_CTS"), (EV_DSR, "EV_DSR"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ERR` in this scope [INFO] [stdout] --> src/ffi.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RING` in this scope [INFO] [stdout] --> src/ffi.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RLSD` in this scope [INFO] [stdout] --> src/ffi.rs:141:47 [INFO] [stdout] | [INFO] [stdout] 141 | (EV_ERR, "EV_ERR"), (EV_RING, "EV_RING"), (EV_RLSD, "EV_RLSD"), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RXCHAR` in this scope [INFO] [stdout] --> src/ffi.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_RXFLAG` in this scope [INFO] [stdout] --> src/ffi.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_TXEMPTY` in this scope [INFO] [stdout] --> src/ffi.rs:142:57 [INFO] [stdout] | [INFO] [stdout] 142 | (EV_RXCHAR, "EV_RXCHAR"), (EV_RXFLAG, "EV_RXFLAG"), (EV_TXEMPTY, "EV_TXEMPTY")].iter() [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PurgeFlags` in this scope [INFO] [stdout] --> src/ffi.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn PurgeComm(file_handle: HANDLE, flags: PurgeFlags) -> BOOL; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:177:54 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn SetCommMask(file_handle: HANDLE, event_mask: CommEventFlags) -> BOOL; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/ffi.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn WaitCommEvent(file_handle: HANDLE, event_mask: *mut CommEventFlags, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommEventFlags` in this scope [INFO] [stdout] --> src/lib.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> CommEventWaiter<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, CommEventFlags` [INFO] [stdout] 43 | pub fn wait_for_event(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/lib.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | GENERIC_READ | GENERIC_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/lib.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in crate `libc` [INFO] [stdout] --> src/lib.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | libc::FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | if comm_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PURGE_RXCLEAR` in this scope [INFO] [stdout] --> src/lib.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { PurgeComm(conn.comm_handle, PURGE_RXCLEAR | PURGE_TXCLEAR); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PURGE_TXCLEAR` in this scope [INFO] [stdout] --> src/lib.rs:106:58 [INFO] [stdout] | [INFO] [stdout] 106 | unsafe { PurgeComm(conn.comm_handle, PURGE_RXCLEAR | PURGE_TXCLEAR); } [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:304:2 [INFO] [stdout] | [INFO] [stdout] 304 | thread::sleep_ms(2000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/lib.rs:386:3 [INFO] [stdout] | [INFO] [stdout] 386 | thread::sleep_ms(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `utf16_units` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let mut port_u16: Vec<_> = port.utf16_units().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `se_rs_ial` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `utf16_units` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let mut port_u16: Vec<_> = port.utf16_units().collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 62 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [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" "9ee257b157587df8735bd66df9209290702e090962f390c1b18227cc39f0a266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee257b157587df8735bd66df9209290702e090962f390c1b18227cc39f0a266", kill_on_drop: false }` [INFO] [stdout] 9ee257b157587df8735bd66df9209290702e090962f390c1b18227cc39f0a266