[INFO] cloning repository https://github.com/masche842/rust-ftd2xx
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masche842/rust-ftd2xx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasche842%2Frust-ftd2xx", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasche842%2Frust-ftd2xx'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f96ca513b447fe133b5f98afa7c9a9fdf042880
[INFO] checking masche842/rust-ftd2xx/2f96ca513b447fe133b5f98afa7c9a9fdf042880 against 4fcf39725a9c99bd495d8c73af83628a256ff9a9 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasche842%2Frust-ftd2xx" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/masche842/rust-ftd2xx
[INFO] finished tweaking git repo https://github.com/masche842/rust-ftd2xx
[INFO] tweaked toml for git repo https://github.com/masche842/rust-ftd2xx written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/masche842/rust-ftd2xx on toolchain 4fcf39725a9c99bd495d8c73af83628a256ff9a9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4fcf39725a9c99bd495d8c73af83628a256ff9a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/masche842/rust-ftd2xx already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4fcf39725a9c99bd495d8c73af83628a256ff9a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-ftd2xx` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0
[INFO] running `Command { std: "docker" "start" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0" "/opt/rustwide/cargo-home/bin/cargo" "+4fcf39725a9c99bd495d8c73af83628a256ff9a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0" "/opt/rustwide/cargo-home/bin/cargo" "+4fcf39725a9c99bd495d8c73af83628a256ff9a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust-ftd2xx` (manifest) generated 1 warning
[INFO] [stderr]     Checking rust-ftd2xx v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/constants.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |    SerialNumber: [CHAR, ..16],
[INFO] [stdout]    |                       ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 72 -    SerialNumber: [CHAR, ..16],
[INFO] [stdout] 72 +    SerialNumber: [CHAR; ..16],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/constants.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |    Description: [CHAR, ..64],
[INFO] [stdout]    |                      ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 73 -    Description: [CHAR, ..64],
[INFO] [stdout] 73 +    Description: [CHAR; ..64],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/constants.rs:72:23
[INFO] [stdout]    |
[INFO] [stdout] 72 |    SerialNumber: [CHAR, ..16],
[INFO] [stdout]    |                       ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 72 -    SerialNumber: [CHAR, ..16],
[INFO] [stdout] 72 +    SerialNumber: [CHAR; ..16],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]   --> src/constants.rs:73:22
[INFO] [stdout]    |
[INFO] [stdout] 73 |    Description: [CHAR, ..64],
[INFO] [stdout]    |                      ^ expected `;` or `]`
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]    |
[INFO] [stdout] 73 -    Description: [CHAR, ..64],
[INFO] [stdout] 73 +    Description: [CHAR; ..64],
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::c_vec`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::c_vec;
[INFO] [stdout]    |     ^^^^^-----
[INFO] [stdout]    |          |
[INFO] [stdout]    |          no `c_vec` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `comment` in this scope
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![comment = "FTDI d2xx driver bindings"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `license` in this scope
[INFO] [stdout]  --> src/lib.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![license = "MIT"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::c_vec`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::c_vec;
[INFO] [stdout]    |     ^^^^^-----
[INFO] [stdout]    |          |
[INFO] [stdout]    |          no `c_vec` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `comment` in this scope
[INFO] [stdout]  --> src/lib.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | #![comment = "FTDI d2xx driver bindings"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `license` in this scope
[INFO] [stdout]  --> src/lib.rs:7:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | #![license = "MIT"]
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Show` in module `core::fmt`
[INFO] [stdout]   --> src/constants.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl core::fmt::Show for FT_STATUS {
[INFO] [stdout]    |                 ^^^^ not found in `core::fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type   BOOL      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named type alias `UINT` defined here
[INFO] [stdout]   --> src/typedefs.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub type   BOOL      = uint;
[INFO] [stdout] 20 + pub type   BOOL      = UINT;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub type   LONG      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named type alias `UINT` defined here
[INFO] [stdout]   --> src/typedefs.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 29 - pub type   LONG      = uint;
[INFO] [stdout] 29 + pub type   LONG      = UINT;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/typedefs.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type   INT       = int;
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        not found in this scope
[INFO] [stdout]    |                        help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_uint`, `c_ulong`, `free`, and `malloc`
[INFO] [stdout]   --> src/lib.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                   ^^^^^^          ^^^^^^^  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::string;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_DEVICE_LIST_INFO_NODE` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct FT_DEVICE_LIST_INFO_NODE {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceListInfoNode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DEVICE_INFORMATION_FLAGS` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub enum DEVICE_INFORMATION_FLAGS {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceInformationFlags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_FLAGS_OPENED` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:79:3
[INFO] [stdout]    |
[INFO] [stdout] 79 |   FT_FLAGS_OPENED = 1,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtFlagsOpened`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_FLAGS_HISPEED` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:80:3
[INFO] [stdout]    |
[INFO] [stdout] 80 |   FT_FLAGS_HISPEED = 2
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtFlagsHispeed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DEVICE_TYPES` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub enum DEVICE_TYPES {
[INFO] [stdout]     |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceTypes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_BM` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:188:3
[INFO] [stdout]     |
[INFO] [stdout] 188 |   FT_DEVICE_BM,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceBm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_AM` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:189:3
[INFO] [stdout]     |
[INFO] [stdout] 189 |   FT_DEVICE_AM,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceAm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_100AX` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 |   FT_DEVICE_100AX,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice100ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_UNKNOWN` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:191:3
[INFO] [stdout]     |
[INFO] [stdout] 191 |   FT_DEVICE_UNKNOWN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceUnknown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_2232C` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:192:3
[INFO] [stdout]     |
[INFO] [stdout] 192 |   FT_DEVICE_2232C,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice2232c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_232R` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:193:3
[INFO] [stdout]     |
[INFO] [stdout] 193 |   FT_DEVICE_232R,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice232r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_2232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:194:3
[INFO] [stdout]     |
[INFO] [stdout] 194 |   FT_DEVICE_2232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice2232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_4232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:195:3
[INFO] [stdout]     |
[INFO] [stdout] 195 |   FT_DEVICE_4232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice4232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:196:3
[INFO] [stdout]     |
[INFO] [stdout] 196 |   FT_DEVICE_232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_X_SERIES` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:197:3
[INFO] [stdout]     |
[INFO] [stdout] 197 |   FT_DEVICE_X_SERIES
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceXSeries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_int` and `c_ulong`
[INFO] [stdout]  --> src/typedefs.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{c_int, c_uint, c_ushort, c_uchar, c_ulong, c_ulonglong, c_void};
[INFO] [stdout]   |            ^^^^^                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_HANDLE` should have an upper camel case name
[INFO] [stdout]   --> src/typedefs.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub type  FT_HANDLE = PVOID;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper camel case: `FtHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_DEVICE` should have an upper camel case name
[INFO] [stdout]   --> src/typedefs.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub type  FT_DEVICE = ULONG;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout]   | |        -------------- valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout]   | |        --------- valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________--------^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `repr(C)` attribute cannot be used on type aliases
[INFO] [stdout]   --> src/typedefs.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[repr(C)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: the `repr(C)` attribute can only be applied to data types
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:52
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                                                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(globs)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/typedefs.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate libc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/typedefs.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{c_int, c_uint, c_ushort, c_uchar, c_ulong, c_ulonglong, c_void};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `link` attribute cannot be used on crates
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![link(name = "ftd2xx",
[INFO] [stdout]   |    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the `link` attribute can only be applied to foreign modules
[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: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Show` in module `core::fmt`
[INFO] [stdout]   --> src/constants.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl core::fmt::Show for FT_STATUS {
[INFO] [stdout]    |                 ^^^^ not found in `core::fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:20:24
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub type   BOOL      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named type alias `UINT` defined here
[INFO] [stdout]   --> src/typedefs.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub type   BOOL      = uint;
[INFO] [stdout] 20 + pub type   BOOL      = UINT;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:29:24
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub type   LONG      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] note: similarly named type alias `UINT` defined here
[INFO] [stdout]   --> src/typedefs.rs:31:1
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 29 - pub type   LONG      = uint;
[INFO] [stdout] 29 + pub type   LONG      = UINT;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/typedefs.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type   INT       = int;
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        not found in this scope
[INFO] [stdout]    |                        help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/typedefs.rs:31:24
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub type   UINT      = uint;
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::fmt;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_uint`, `c_ulong`, `free`, and `malloc`
[INFO] [stdout]   --> src/lib.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                   ^^^^^^          ^^^^^^^  ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::string`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::string;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_DEVICE_LIST_INFO_NODE` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct FT_DEVICE_LIST_INFO_NODE {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceListInfoNode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DEVICE_INFORMATION_FLAGS` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub enum DEVICE_INFORMATION_FLAGS {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceInformationFlags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_FLAGS_OPENED` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:79:3
[INFO] [stdout]    |
[INFO] [stdout] 79 |   FT_FLAGS_OPENED = 1,
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtFlagsOpened`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_FLAGS_HISPEED` should have an upper camel case name
[INFO] [stdout]   --> src/constants.rs:80:3
[INFO] [stdout]    |
[INFO] [stdout] 80 |   FT_FLAGS_HISPEED = 2
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtFlagsHispeed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `DEVICE_TYPES` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 | pub enum DEVICE_TYPES {
[INFO] [stdout]     |          ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DeviceTypes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_BM` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:188:3
[INFO] [stdout]     |
[INFO] [stdout] 188 |   FT_DEVICE_BM,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceBm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_AM` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:189:3
[INFO] [stdout]     |
[INFO] [stdout] 189 |   FT_DEVICE_AM,
[INFO] [stdout]     |   ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceAm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_100AX` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 |   FT_DEVICE_100AX,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice100ax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_UNKNOWN` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:191:3
[INFO] [stdout]     |
[INFO] [stdout] 191 |   FT_DEVICE_UNKNOWN,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceUnknown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_2232C` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:192:3
[INFO] [stdout]     |
[INFO] [stdout] 192 |   FT_DEVICE_2232C,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice2232c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_232R` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:193:3
[INFO] [stdout]     |
[INFO] [stdout] 193 |   FT_DEVICE_232R,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice232r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_2232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:194:3
[INFO] [stdout]     |
[INFO] [stdout] 194 |   FT_DEVICE_2232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice2232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_4232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:195:3
[INFO] [stdout]     |
[INFO] [stdout] 195 |   FT_DEVICE_4232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice4232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_232H` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:196:3
[INFO] [stdout]     |
[INFO] [stdout] 196 |   FT_DEVICE_232H,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice232h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `FT_DEVICE_X_SERIES` should have an upper camel case name
[INFO] [stdout]    --> src/constants.rs:197:3
[INFO] [stdout]     |
[INFO] [stdout] 197 |   FT_DEVICE_X_SERIES
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FtDeviceXSeries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_int` and `c_ulong`
[INFO] [stdout]  --> src/typedefs.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{c_int, c_uint, c_ushort, c_uchar, c_ulong, c_ulonglong, c_void};
[INFO] [stdout]   |            ^^^^^                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_HANDLE` should have an upper camel case name
[INFO] [stdout]   --> src/typedefs.rs:43:11
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub type  FT_HANDLE = PVOID;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper camel case: `FtHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `FT_DEVICE` should have an upper camel case name
[INFO] [stdout]   --> src/typedefs.rs:44:11
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub type  FT_DEVICE = ULONG;
[INFO] [stdout]    |           ^^^^^^^^^ help: convert the identifier to upper camel case: `FtDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:26:1
[INFO] [stdout]    |
[INFO] [stdout] 26 | extern {
[INFO] [stdout]    | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout]   | |        -------------- valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout]   | |        --------- valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________________^
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0539]: malformed `link` attribute input
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 |   #![link(name = "ftd2xx",
[INFO] [stdout]   |  ____^
[INFO] [stdout] 3 | |        vers = "0.0.1",
[INFO] [stdout] 4 | |        uuid = "",
[INFO] [stdout] 5 | |        url = "")]
[INFO] [stdout]   | |________--------^
[INFO] [stdout]   |          |
[INFO] [stdout]   |          valid arguments are "name", "kind", "modifiers", "cfg", "wasm_import_module" or "import_name_type"
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the `repr(C)` attribute cannot be used on type aliases
[INFO] [stdout]   --> src/typedefs.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[repr(C)]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: the `repr(C)` attribute can only be applied to data types
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/constants.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 72 |    SerialNumber: [CHAR, ..16],
[INFO] [stdout]    |                         ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:44
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:14:52
[INFO] [stdout]    |
[INFO] [stdout] 14 | use libc::{c_int, c_uint, c_void, c_ulong, malloc, free};
[INFO] [stdout]    |                                                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(globs)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/typedefs.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | extern crate libc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/typedefs.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use libc::{c_int, c_uint, c_ushort, c_uchar, c_ulong, c_ulonglong, c_void};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2026-09-03; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the `link` attribute cannot be used on crates
[INFO] [stdout]  --> src/lib.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![link(name = "ftd2xx",
[INFO] [stdout]   |    ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: the `link` attribute can only be applied to foreign modules
[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: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/constants.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |    Description: [CHAR, ..64],
[INFO] [stdout]    |                        ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0405, E0425, E0432, E0539, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/constants.rs:72:25
[INFO] [stdout]    |
[INFO] [stdout] 72 |    SerialNumber: [CHAR, ..16],
[INFO] [stdout]    |                         ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/constants.rs:73:24
[INFO] [stdout]    |
[INFO] [stdout] 73 |    Description: [CHAR, ..64],
[INFO] [stdout]    |                        ^^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `usize`
[INFO] [stdout]             found struct `RangeTo<{integer}>`
[INFO] [stdout]    = note: array length can only be `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0405, E0425, E0432, E0539, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-ftd2xx` (lib test) due to 22 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-ftd2xx` (lib) due to 22 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0", kill_on_drop: false }`
[INFO] [stdout] 35d5d7bdfeca0b69c6c142a1b352870fd0dbaec6a8c3020a490934e9da956bd0
