[INFO] fetching crate serial-win 0.2.0...
[INFO] testing serial-win-0.2.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate serial-win 0.2.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate serial-win 0.2.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate serial-win 0.2.0
[INFO] finished tweaking crates.io crate serial-win 0.2.0
[INFO] tweaked toml for crates.io crate serial-win 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7834d57a7a350b0de5c72d0cff86800fac280f5f9f92628a371da1952df7432b
[INFO] running `Command { std: "docker" "start" "-a" "7834d57a7a350b0de5c72d0cff86800fac280f5f9f92628a371da1952df7432b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7834d57a7a350b0de5c72d0cff86800fac280f5f9f92628a371da1952df7432b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7834d57a7a350b0de5c72d0cff86800fac280f5f9f92628a371da1952df7432b", kill_on_drop: false }`
[INFO] [stdout] 7834d57a7a350b0de5c72d0cff86800fac280f5f9f92628a371da1952df7432b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d5eef3ebaffa13ed33f9465e452072c4d7325a36728c1c249c5099b9e7eabc2a
[INFO] running `Command { std: "docker" "start" "-a" "d5eef3ebaffa13ed33f9465e452072c4d7325a36728c1c249c5099b9e7eabc2a", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling serial-win v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:32:2
[INFO] [stdout]     |
[INFO] [stdout] 32  |     flags DCBFlags: WORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:111:2
[INFO] [stdout]     |
[INFO] [stdout] 111 |     flags CommEventFlags: DWORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:126:2
[INFO] [stdout]     |
[INFO] [stdout] 126 |     flags PurgeFlags: DWORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc`
[INFO] [stdout]   --> src/lib.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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 `windows` in `os`
[INFO] [stdout]   --> src/lib.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::os::windows::io::{ AsRawHandle, RawHandle };
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libc::HANDLE`
[INFO] [stdout]   --> src/lib.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 | use libc::{ c_void, c_int, HANDLE };
[INFO] [stdout]    |                            ^^^^^^ no `HANDLE` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libc::HANDLE`, `libc::LPOVERLAPPED`, `libc::DWORD`, `libc::WORD`, `libc::BOOL`, `libc::BYTE`, `libc::SECURITY_ATTRIBUTES`
[INFO] [stdout]   --> src/ffi.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | use libc::{ c_int, c_char, HANDLE, LPOVERLAPPED, DWORD, WORD, BOOL, BYTE, SECURITY_ATTRIBUTES };
[INFO] [stdout]    |                            ^^^^^^  ^^^^^^^^^^^^  ^^^^^  ^^^^  ^^^^  ^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |       |             |      |     |     |     |
[INFO] [stdout]    |                            |       |             |      |     |     |     no `SECURITY_ATTRIBUTES` in the root
[INFO] [stdout]    |                            |       |             |      |     |     |     help: a similar name exists in the module: `_SC_FILE_ATTRIBUTES`
[INFO] [stdout]    |                            |       |             |      |     |     no `BYTE` in the root
[INFO] [stdout]    |                            |       |             |      |     no `BOOL` in the root
[INFO] [stdout]    |                            |       |             |      no `WORD` in the root
[INFO] [stdout]    |                            |       |             no `DWORD` in the root
[INFO] [stdout]    |                            |       no `LPOVERLAPPED` in the root
[INFO] [stdout]    |                            no `HANDLE` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]            HANDLE
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope
[INFO] [stdout]   --> src/ffi.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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:76:46
[INFO] [stdout]    |
[INFO] [stdout] 76 |             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:76:66
[INFO] [stdout]    |
[INFO] [stdout] 76 |             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:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 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:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 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:81:48
[INFO] [stdout]    |
[INFO] [stdout] 81 |             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:81:68
[INFO] [stdout]    |
[INFO] [stdout] 81 |             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 `PurgeFlags` in this scope
[INFO] [stdout]    --> src/ffi.rs:145:47
[INFO] [stdout]     |
[INFO] [stdout] 145 |     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:151:54
[INFO] [stdout]     |
[INFO] [stdout] 151 |     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:153:61
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub fn WaitCommEvent(file_handle: HANDLE, event_mask: *mut CommEventFlags,
[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:69:6
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     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:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     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:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     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:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     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:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         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:95:49
[INFO] [stdout]    |
[INFO] [stdout] 95 |                         PurgeComm(*conn.comm_handle.borrow_mut(), 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:95:65
[INFO] [stdout]    |
[INFO] [stdout] 95 |                         PurgeComm(*conn.comm_handle.borrow_mut(), PURGE_RXCLEAR | PURGE_TXCLEAR);
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `serial-win` (lib) due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "d5eef3ebaffa13ed33f9465e452072c4d7325a36728c1c249c5099b9e7eabc2a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5eef3ebaffa13ed33f9465e452072c4d7325a36728c1c249c5099b9e7eabc2a", kill_on_drop: false }`
[INFO] [stdout] d5eef3ebaffa13ed33f9465e452072c4d7325a36728c1c249c5099b9e7eabc2a
[INFO] testing serial-win-0.2.0 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate serial-win 0.2.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate serial-win 0.2.0 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate serial-win 0.2.0
[INFO] finished tweaking crates.io crate serial-win 0.2.0
[INFO] tweaked toml for crates.io crate serial-win 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 05ff4973c3ff38b39b3db289aaa6135cf1f6de49ff4d67b1a7028f09695ca2ad
[INFO] running `Command { std: "docker" "start" "-a" "05ff4973c3ff38b39b3db289aaa6135cf1f6de49ff4d67b1a7028f09695ca2ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "05ff4973c3ff38b39b3db289aaa6135cf1f6de49ff4d67b1a7028f09695ca2ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05ff4973c3ff38b39b3db289aaa6135cf1f6de49ff4d67b1a7028f09695ca2ad", kill_on_drop: false }`
[INFO] [stdout] 05ff4973c3ff38b39b3db289aaa6135cf1f6de49ff4d67b1a7028f09695ca2ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db9de9c24a4a0cab6492b948a29e7f2dc98496fead482780fbfad9d6c124506e
[INFO] running `Command { std: "docker" "start" "-a" "db9de9c24a4a0cab6492b948a29e7f2dc98496fead482780fbfad9d6c124506e", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling serial-win v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:32:2
[INFO] [stdout]     |
[INFO] [stdout] 32  |     flags DCBFlags: WORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:111:2
[INFO] [stdout]     |
[INFO] [stdout] 111 |     flags CommEventFlags: DWORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: no rules expected the token `flags`
[INFO] [stdout]    --> src/ffi.rs:126:2
[INFO] [stdout]     |
[INFO] [stdout] 126 |     flags PurgeFlags: DWORD {
[INFO] [stdout]     |     ^^^^^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout] note: while trying to match `struct`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bitflags-2.4.2/src/lib.rs:449:18
[INFO] [stdout]     |
[INFO] [stdout] 449 |         $vis:vis struct $BitFlags:ident: $T:ty {
[INFO] [stdout]     |                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `consts` in `libc`
[INFO] [stdout]   --> src/lib.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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:30:11
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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 `windows` in `os`
[INFO] [stdout]   --> src/lib.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | use std::os::windows::io::{ AsRawHandle, RawHandle };
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/os/mod.rs:53:9
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/std/src/os/mod.rs:97:9
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libc::HANDLE`
[INFO] [stdout]   --> src/lib.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 | use libc::{ c_void, c_int, HANDLE };
[INFO] [stdout]    |                            ^^^^^^ no `HANDLE` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libc::HANDLE`, `libc::LPOVERLAPPED`, `libc::DWORD`, `libc::WORD`, `libc::BOOL`, `libc::BYTE`, `libc::SECURITY_ATTRIBUTES`
[INFO] [stdout]   --> src/ffi.rs:25:28
[INFO] [stdout]    |
[INFO] [stdout] 25 | use libc::{ c_int, c_char, HANDLE, LPOVERLAPPED, DWORD, WORD, BOOL, BYTE, SECURITY_ATTRIBUTES };
[INFO] [stdout]    |                            ^^^^^^  ^^^^^^^^^^^^  ^^^^^  ^^^^  ^^^^  ^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                            |       |             |      |     |     |     |
[INFO] [stdout]    |                            |       |             |      |     |     |     no `SECURITY_ATTRIBUTES` in the root
[INFO] [stdout]    |                            |       |             |      |     |     |     help: a similar name exists in the module: `_SC_FILE_ATTRIBUTES`
[INFO] [stdout]    |                            |       |             |      |     |     no `BYTE` in the root
[INFO] [stdout]    |                            |       |             |      |     no `BOOL` in the root
[INFO] [stdout]    |                            |       |             |      no `WORD` in the root
[INFO] [stdout]    |                            |       |             no `DWORD` in the root
[INFO] [stdout]    |                            |       no `LPOVERLAPPED` in the root
[INFO] [stdout]    |                            no `HANDLE` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this unresolved item through its public re-export instead:
[INFO] [stdout]            HANDLE
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DCBFlags` in this scope
[INFO] [stdout]   --> src/ffi.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |     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:76:46
[INFO] [stdout]    |
[INFO] [stdout] 76 |             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:76:66
[INFO] [stdout]    |
[INFO] [stdout] 76 |             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:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |                 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:79:23
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 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:81:48
[INFO] [stdout]    |
[INFO] [stdout] 81 |             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:81:68
[INFO] [stdout]    |
[INFO] [stdout] 81 |             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 `PurgeFlags` in this scope
[INFO] [stdout]    --> src/ffi.rs:145:47
[INFO] [stdout]     |
[INFO] [stdout] 145 |     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:151:54
[INFO] [stdout]     |
[INFO] [stdout] 151 |     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:153:61
[INFO] [stdout]     |
[INFO] [stdout] 153 |     pub fn WaitCommEvent(file_handle: HANDLE, event_mask: *mut CommEventFlags,
[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:69:6
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     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:69:21
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     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:72:6
[INFO] [stdout]    |
[INFO] [stdout] 72 |                     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:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 |                     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:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         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:95:49
[INFO] [stdout]    |
[INFO] [stdout] 95 |                         PurgeComm(*conn.comm_handle.borrow_mut(), 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:95:65
[INFO] [stdout]    |
[INFO] [stdout] 95 |                         PurgeComm(*conn.comm_handle.borrow_mut(), PURGE_RXCLEAR | PURGE_TXCLEAR);
[INFO] [stdout]    |                                                                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 25 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `serial-win` (lib) due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "db9de9c24a4a0cab6492b948a29e7f2dc98496fead482780fbfad9d6c124506e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db9de9c24a4a0cab6492b948a29e7f2dc98496fead482780fbfad9d6c124506e", kill_on_drop: false }`
[INFO] [stdout] db9de9c24a4a0cab6492b948a29e7f2dc98496fead482780fbfad9d6c124506e
