[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] testing masche842/rust-ftd2xx against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasche842%2Frust-ftd2xx" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/masche842/rust-ftd2xx on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de0102b80c6b01a55a4ff40ef85d8c7eb02e7414ba1f8c4db6bd9d851218e02e [INFO] running `Command { std: "docker" "start" "-a" "de0102b80c6b01a55a4ff40ef85d8c7eb02e7414ba1f8c4db6bd9d851218e02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de0102b80c6b01a55a4ff40ef85d8c7eb02e7414ba1f8c4db6bd9d851218e02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de0102b80c6b01a55a4ff40ef85d8c7eb02e7414ba1f8c4db6bd9d851218e02e", kill_on_drop: false }` [INFO] [stdout] de0102b80c6b01a55a4ff40ef85d8c7eb02e7414ba1f8c4db6bd9d851218e02e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8927d653832d4ad32fbbcaeebaafa911c61434e59ae170ec7e8bc8c0ba0aa4 [INFO] running `Command { std: "docker" "start" "-a" "fb8927d653832d4ad32fbbcaeebaafa911c61434e59ae170ec7e8bc8c0ba0aa4", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling 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[E0432]: unresolved import `std::c_vec` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::c_vec; [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] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub type UINT = uint; [INFO] [stdout] | ---------------------------- similarly named type alias `UINT` defined here [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] | ^^^^ [INFO] [stdout] 30 | pub type INT = int; [INFO] [stdout] 31 | pub type UINT = uint; [INFO] [stdout] | ---------------------------- similarly named type alias `UINT` defined here [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:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #![link(name = "ftd2xx", [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `link` attribute input [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #![link(name = "ftd2xx", [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0539]: malformed `link` attribute input [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #![link(name = "ftd2xx", [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to an `extern` block with non-Rust ABI [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #![link(name = "ftd2xx", [INFO] [stdout] 3 | | vers = "0.0.1", [INFO] [stdout] 4 | | uuid = "", [INFO] [stdout] 5 | | url = "")] [INFO] [stdout] | | ^ not an `extern` block [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [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[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 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-03-19; 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:12 [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 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-03-19; 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:19 [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 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-03-19; 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:27 [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 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-03-19; 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:35 [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 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-03-19; 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 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-03-19; 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 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-03-19; 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:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn FT_Open(deviceNumber: c_int , pHandle: *mut FT_HANDLE) -> FT_STATUS; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/typedefs.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | #[repr(C)] [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub type DWORD = c_uint; [INFO] [stdout] | ------------------------------ not a struct, enum, or union [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 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-03-19; 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: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] = note: see issue #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-03-19; 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:19 [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 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-03-19; 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:27 [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 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-03-19; 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:37 [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 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-03-19; 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:46 [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 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-03-19; 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:55 [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 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-03-19; 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:68 [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 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-03-19; 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:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub type DWORD = c_uint; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | pub type ULONG = c_uint; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub type USHORT = c_ushort; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | pub type SHORT = c_ushort; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | pub type UCHAR = c_uchar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub type WORD = c_ushort; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | pub type BYTE = c_uchar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub type BOOLEAN = c_uchar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub type CHAR = c_uchar; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; 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:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub type ULONGLONG = c_ulonglong; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #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-03-19; consider upgrading it if it is out of date [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[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, E0517, 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) due to 42 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb8927d653832d4ad32fbbcaeebaafa911c61434e59ae170ec7e8bc8c0ba0aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8927d653832d4ad32fbbcaeebaafa911c61434e59ae170ec7e8bc8c0ba0aa4", kill_on_drop: false }` [INFO] [stdout] fb8927d653832d4ad32fbbcaeebaafa911c61434e59ae170ec7e8bc8c0ba0aa4