[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 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasche842%2Frust-ftd2xx" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masche842/rust-ftd2xx on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/masche842/rust-ftd2xx already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99dd6a1b4319577d9494fbd887b16452d04472be4c5c4a8742d5cc5f6bd5a8b3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99dd6a1b4319577d9494fbd887b16452d04472be4c5c4a8742d5cc5f6bd5a8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99dd6a1b4319577d9494fbd887b16452d04472be4c5c4a8742d5cc5f6bd5a8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99dd6a1b4319577d9494fbd887b16452d04472be4c5c4a8742d5cc5f6bd5a8b3", kill_on_drop: false }` [INFO] [stdout] 99dd6a1b4319577d9494fbd887b16452d04472be4c5c4a8742d5cc5f6bd5a8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c27b3429ad2ca08893cc1e60e4a32fdb0634273e6a33fd647eb6d097380b6aa4 [INFO] running `Command { std: "docker" "start" "-a" "c27b3429ad2ca08893cc1e60e4a32fdb0634273e6a33fd647eb6d097380b6aa4", kill_on_drop: false }` [INFO] [stderr] Checking rust-ftd2xx v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![comment = "FTDI d2xx driver bindings"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/constants.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | SerialNumber: [CHAR, ..16], [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #![comment = "FTDI d2xx driver bindings"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] = help: add `#![feature(custom_inner_attributes)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/constants.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | SerialNumber: [CHAR, ..16], [INFO] [stdout] | ^ expected one of 7 possible tokens [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: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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[E0412]: 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] [INFO] [stdout] error[E0412]: 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] [INFO] [stdout] error[E0412]: 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] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_uint`, `c_ulong`, `free`, `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)]` 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`, `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] 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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-ftd2xx` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[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: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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[E0412]: 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] [INFO] [stdout] error[E0412]: 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] [INFO] [stdout] error[E0412]: 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] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_uint`, `c_ulong`, `free`, `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)]` 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`, `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] 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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c27b3429ad2ca08893cc1e60e4a32fdb0634273e6a33fd647eb6d097380b6aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27b3429ad2ca08893cc1e60e4a32fdb0634273e6a33fd647eb6d097380b6aa4", kill_on_drop: false }` [INFO] [stdout] c27b3429ad2ca08893cc1e60e4a32fdb0634273e6a33fd647eb6d097380b6aa4