coins-ledger 0.12.0

Ledger Nano X/S connection and communication management library
Documentation
Build #1305000 2024-07-27T13:05:54.244737+00:00
# rustc version
rustc 1.82.0-nightly (7c2012d0e 2024-07-26)# docs.rs version
docsrs 0.6.0 (bd66f012 2024-07-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/coins-ledger-0.12.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/coins-ledger-0.12.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240726-1.82.0-nightly-7c2012d0e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] bc8bfee904698a050b4a1e6ef78569c175c8e1d3e583bd7ae2a018950907edfd
[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" "bc8bfee904698a050b4a1e6ef78569c175c8e1d3e583bd7ae2a018950907edfd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]    Compiling hidapi-rusb v1.3.3
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: hidapi-rusb@1.3.3: GNU compiler is not supported for this target
[INFO] [stderr] warning: hidapi-rusb@1.3.3: etc/hidapi/windows/hid.c:29:10: fatal error: windows.h: No such file or directory
[INFO] [stderr] warning: hidapi-rusb@1.3.3:    29 | #include <windows.h>
[INFO] [stderr] warning: hidapi-rusb@1.3.3:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: hidapi-rusb@1.3.3: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `hidapi-rusb v1.3.3`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/hidapi-rusb-a8514d5cfaa05efe/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/hidapi-rusb-b79648fe5771fab3/out)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-msvc)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=etc/hidapi/windows/hid.c:29:10: fatal error: windows.h: No such file or directory
[INFO] [stderr]   cargo:warning=   29 | #include <windows.h>
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/hidapi-rusb-b79648fe5771fab3/out/cb369a70dac0fd5c-hid.o" "-c" "etc/hidapi/windows/hid.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libusb1-sys@0.7.0: GNU compiler is not supported for this target
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/os/events_windows.c:21:
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:4:2: error: invalid preprocessing directive #warn; did you mean #warning?
[INFO] [stderr] warning: libusb1-sys@0.7.0:     4 | #warn "msvc/config.h shouldn't be included for your development environment."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  warning
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:5:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr] warning: libusb1-sys@0.7.0:     5 | #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:10:2: error: #error "Visual Studio 2013 or later is required."
[INFO] [stderr] warning: libusb1-sys@0.7.0:    10 | #error "Visual Studio 2013 or later is required."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:27,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:4:2: error: invalid preprocessing directive #warn; did you mean #warning?
[INFO] [stderr] warning: libusb1-sys@0.7.0:     4 | #warn "msvc/config.h shouldn't be included for your development environment."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  warning
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:5:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr] warning: libusb1-sys@0.7.0:     5 | #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: /opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:10:2: error: #error "Visual Studio 2013 or later is required."
[INFO] [stderr] warning: libusb1-sys@0.7.0:    10 | #error "Visual Studio 2013 or later is required."
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |  ^~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:119,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/events_windows.h:24:9: error: unknown type name 'HANDLE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    24 | typedef HANDLE usbi_os_handle_t;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/events_windows.h:28:9: error: unknown type name 'HANDLE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    28 |         HANDLE hEvent;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/events_windows.h:36:9: error: unknown type name 'HANDLE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    36 |         HANDLE hTimer;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/events_windows.h: In function 'usbi_timer_valid':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/events_windows.h:43:30: warning: comparison between pointer and integer
[INFO] [stderr] warning: libusb1-sys@0.7.0:    43 |         return timer->hTimer != NULL;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                              ^~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:27:9: error: unknown type name 'LONG'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    27 | typedef LONG usbi_mutex_static_t;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_static_lock':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:30:16: warning: implicit declaration of function 'InterlockedExchange' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    30 |         while (InterlockedExchange(mutex, 1L) == 1L)
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:31:17: warning: implicit declaration of function 'SleepEx' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    31 |                 SleepEx(0, TRUE);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                 ^~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:31:28: error: 'TRUE' undeclared (first use in this function)
[INFO] [stderr] warning: libusb1-sys@0.7.0:    31 |                 SleepEx(0, TRUE);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                            ^~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:31:28: note: each undeclared identifier is reported only once for each function it appears in
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:38:9: error: unknown type name 'CRITICAL_SECTION'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    38 | typedef CRITICAL_SECTION usbi_mutex_t;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_init':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:41:9: warning: implicit declaration of function 'InitializeCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    41 |         InitializeCriticalSection(mutex);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_lock':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:45:9: warning: implicit declaration of function 'EnterCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    45 |         EnterCriticalSection(mutex);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_unlock':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:49:9: warning: implicit declaration of function 'LeaveCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    49 |         LeaveCriticalSection(mutex);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_trylock':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:53:16: warning: implicit declaration of function 'TryEnterCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    53 |         return TryEnterCriticalSection(mutex) != 0;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                ^~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_destroy':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:57:9: warning: implicit declaration of function 'DeleteCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    57 |         DeleteCriticalSection(mutex);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:63:8: error: redefinition of 'struct timespec'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    63 | struct timespec {
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |        ^~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from /usr/include/x86_64-linux-gnu/sys/select.h:39,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from /usr/include/x86_64-linux-gnu/sys/types.h:179,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from /usr/include/stdlib.h:395,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/libusbi.h:33,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: /usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h:11:8: note: originally defined here
[INFO] [stderr] warning: libusb1-sys@0.7.0:    11 | struct timespec
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |        ^~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:69:9: error: unknown type name 'CONDITION_VARIABLE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    69 | typedef CONDITION_VARIABLE usbi_cond_t;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_cond_init':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:72:9: warning: implicit declaration of function 'InitializeConditionVariable' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    72 |         InitializeConditionVariable(cond);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_cond_wait':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:76:22: warning: implicit declaration of function 'SleepConditionVariableCS' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                      ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                                         ^~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:76:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:76:60: error: 'INFINITE' undeclared (first use in this function)
[INFO] [stderr] warning: libusb1-sys@0.7.0:    76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                                                            ^~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                                         ^~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:76:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_cond_broadcast':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:82:9: warning: implicit declaration of function 'WakeAllConditionVariable' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    82 |         WakeAllConditionVariable(cond);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:89:9: error: unknown type name 'DWORD'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    89 | typedef DWORD usbi_tls_key_t;
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_create':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:92:16: warning: implicit declaration of function 'TlsAlloc' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    92 |         *key = TlsAlloc();
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                ^~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:93:24: error: 'TLS_OUT_OF_INDEXES' undeclared (first use in this function)
[INFO] [stderr] warning: libusb1-sys@0.7.0:    93 |         assert(*key != TLS_OUT_OF_INDEXES);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                        ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_get':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:97:16: warning: implicit declaration of function 'TlsGetValue' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    97 |         return TlsGetValue(key);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                ^~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:97:16: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr] warning: libusb1-sys@0.7.0:    97 |         return TlsGetValue(key);
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                ^~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_set':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:101:22: warning: implicit declaration of function 'TlsSetValue' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:   101 |         WINAPI_CHECK(TlsSetValue(key, ptr));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                      ^~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                                         ^~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:101:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr] warning: libusb1-sys@0.7.0:   101 |         WINAPI_CHECK(TlsSetValue(key, ptr));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_delete':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:105:22: warning: implicit declaration of function 'TlsFree' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:   105 |         WINAPI_CHECK(TlsFree(key));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                      ^~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr] warning: libusb1-sys@0.7.0:    24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                                         ^~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:105:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr] warning: libusb1-sys@0.7.0:   105 |         WINAPI_CHECK(TlsFree(key));
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |         ^~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr] warning: libusb1-sys@0.7.0:                  from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h: In function 'usbi_get_tid':
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/threads_windows.h:110:30: warning: implicit declaration of function 'GetCurrentThreadId' [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libusb1-sys@0.7.0:   110 |         return (unsigned int)GetCurrentThreadId();
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |                              ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: In file included from libusb/libusb/os/events_windows.c:24:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/windows_common.h: At top level:
[INFO] [stderr] warning: libusb1-sys@0.7.0: libusb/libusb/os/windows_common.h:56:10: fatal error: process.h: No such file or directory
[INFO] [stderr] warning: libusb1-sys@0.7.0:    56 | #include <process.h>
[INFO] [stderr] warning: libusb1-sys@0.7.0:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: libusb1-sys@0.7.0: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `libusb1-sys v0.7.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libusb1-sys-878cd949355fb72e/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBUSB_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBUSB_1.0_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   Can't find libusb pkg: pkg-config has not been configured to support cross-compilation.
[INFO] [stderr] 
[INFO] [stderr]   Install a sysroot for the target platform and configure it via
[INFO] [stderr]   PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
[INFO] [stderr]   cross-compiling wrapper for pkg-config and set it via
[INFO] [stderr]   PKG_CONFIG environment variable.
[INFO] [stderr]   cargo:vendored=1
[INFO] [stderr]   cargo:static=1
[INFO] [stderr]   cargo:include=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include
[INFO] [stderr]   cargo:rustc-link-lib=dylib=user32
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-msvc)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/os/events_windows.c:21:
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:4:2: error: invalid preprocessing directive #warn; did you mean #warning?
[INFO] [stderr]   cargo:warning=    4 | #warn "msvc/config.h shouldn't be included for your development environment."
[INFO] [stderr]   cargo:warning=      |  ^~~~
[INFO] [stderr]   cargo:warning=      |  warning
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:5:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr]   cargo:warning=    5 | #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr]   cargo:warning=      |  ^~~~~
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:10:2: error: #error "Visual Studio 2013 or later is required."
[INFO] [stderr]   cargo:warning=   10 | #error "Visual Studio 2013 or later is required."
[INFO] [stderr]   cargo:warning=      |  ^~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:27,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:4:2: error: invalid preprocessing directive #warn; did you mean #warning?
[INFO] [stderr]   cargo:warning=    4 | #warn "msvc/config.h shouldn't be included for your development environment."
[INFO] [stderr]   cargo:warning=      |  ^~~~
[INFO] [stderr]   cargo:warning=      |  warning
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:5:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr]   cargo:warning=    5 | #error "Please make sure the msvc/ directory is removed from your build path."
[INFO] [stderr]   cargo:warning=      |  ^~~~~
[INFO] [stderr]   cargo:warning=/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include/config.h:10:2: error: #error "Visual Studio 2013 or later is required."
[INFO] [stderr]   cargo:warning=   10 | #error "Visual Studio 2013 or later is required."
[INFO] [stderr]   cargo:warning=      |  ^~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:119,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/events_windows.h:24:9: error: unknown type name 'HANDLE'
[INFO] [stderr]   cargo:warning=   24 | typedef HANDLE usbi_os_handle_t;
[INFO] [stderr]   cargo:warning=      |         ^~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/events_windows.h:28:9: error: unknown type name 'HANDLE'
[INFO] [stderr]   cargo:warning=   28 |         HANDLE hEvent;
[INFO] [stderr]   cargo:warning=      |         ^~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/events_windows.h:36:9: error: unknown type name 'HANDLE'
[INFO] [stderr]   cargo:warning=   36 |         HANDLE hTimer;
[INFO] [stderr]   cargo:warning=      |         ^~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/events_windows.h: In function 'usbi_timer_valid':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/events_windows.h:43:30: warning: comparison between pointer and integer
[INFO] [stderr]   cargo:warning=   43 |         return timer->hTimer != NULL;
[INFO] [stderr]   cargo:warning=      |                              ^~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:27:9: error: unknown type name 'LONG'
[INFO] [stderr]   cargo:warning=   27 | typedef LONG usbi_mutex_static_t;
[INFO] [stderr]   cargo:warning=      |         ^~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_static_lock':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:30:16: warning: implicit declaration of function 'InterlockedExchange' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   30 |         while (InterlockedExchange(mutex, 1L) == 1L)
[INFO] [stderr]   cargo:warning=      |                ^~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:31:17: warning: implicit declaration of function 'SleepEx' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   31 |                 SleepEx(0, TRUE);
[INFO] [stderr]   cargo:warning=      |                 ^~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:31:28: error: 'TRUE' undeclared (first use in this function)
[INFO] [stderr]   cargo:warning=   31 |                 SleepEx(0, TRUE);
[INFO] [stderr]   cargo:warning=      |                            ^~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:31:28: note: each undeclared identifier is reported only once for each function it appears in
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:38:9: error: unknown type name 'CRITICAL_SECTION'
[INFO] [stderr]   cargo:warning=   38 | typedef CRITICAL_SECTION usbi_mutex_t;
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_init':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:41:9: warning: implicit declaration of function 'InitializeCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   41 |         InitializeCriticalSection(mutex);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_lock':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:45:9: warning: implicit declaration of function 'EnterCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   45 |         EnterCriticalSection(mutex);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_unlock':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:49:9: warning: implicit declaration of function 'LeaveCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   49 |         LeaveCriticalSection(mutex);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_trylock':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:53:16: warning: implicit declaration of function 'TryEnterCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   53 |         return TryEnterCriticalSection(mutex) != 0;
[INFO] [stderr]   cargo:warning=      |                ^~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_mutex_destroy':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:57:9: warning: implicit declaration of function 'DeleteCriticalSection' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   57 |         DeleteCriticalSection(mutex);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:63:8: error: redefinition of 'struct timespec'
[INFO] [stderr]   cargo:warning=   63 | struct timespec {
[INFO] [stderr]   cargo:warning=      |        ^~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from /usr/include/x86_64-linux-gnu/sys/select.h:39,
[INFO] [stderr]   cargo:warning=                 from /usr/include/x86_64-linux-gnu/sys/types.h:179,
[INFO] [stderr]   cargo:warning=                 from /usr/include/stdlib.h:395,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/libusbi.h:33,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h:11:8: note: originally defined here
[INFO] [stderr]   cargo:warning=   11 | struct timespec
[INFO] [stderr]   cargo:warning=      |        ^~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:69:9: error: unknown type name 'CONDITION_VARIABLE'
[INFO] [stderr]   cargo:warning=   69 | typedef CONDITION_VARIABLE usbi_cond_t;
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_cond_init':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:72:9: warning: implicit declaration of function 'InitializeConditionVariable' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   72 |         InitializeConditionVariable(cond);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_cond_wait':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:76:22: warning: implicit declaration of function 'SleepConditionVariableCS' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr]   cargo:warning=      |                      ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr]   cargo:warning=   24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr]   cargo:warning=      |                                         ^~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:76:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr]   cargo:warning=   76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:76:60: error: 'INFINITE' undeclared (first use in this function)
[INFO] [stderr]   cargo:warning=   76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr]   cargo:warning=      |                                                            ^~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr]   cargo:warning=   24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr]   cargo:warning=      |                                         ^~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:76:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr]   cargo:warning=   76 |         WINAPI_CHECK(SleepConditionVariableCS(cond, mutex, INFINITE));
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_cond_broadcast':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:82:9: warning: implicit declaration of function 'WakeAllConditionVariable' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   82 |         WakeAllConditionVariable(cond);
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: At top level:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:89:9: error: unknown type name 'DWORD'
[INFO] [stderr]   cargo:warning=   89 | typedef DWORD usbi_tls_key_t;
[INFO] [stderr]   cargo:warning=      |         ^~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_create':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:92:16: warning: implicit declaration of function 'TlsAlloc' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   92 |         *key = TlsAlloc();
[INFO] [stderr]   cargo:warning=      |                ^~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:93:24: error: 'TLS_OUT_OF_INDEXES' undeclared (first use in this function)
[INFO] [stderr]   cargo:warning=   93 |         assert(*key != TLS_OUT_OF_INDEXES);
[INFO] [stderr]   cargo:warning=      |                        ^~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_get':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:97:16: warning: implicit declaration of function 'TlsGetValue' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   97 |         return TlsGetValue(key);
[INFO] [stderr]   cargo:warning=      |                ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:97:16: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
[INFO] [stderr]   cargo:warning=   97 |         return TlsGetValue(key);
[INFO] [stderr]   cargo:warning=      |                ^~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:29,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_set':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:101:22: warning: implicit declaration of function 'TlsSetValue' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  101 |         WINAPI_CHECK(TlsSetValue(key, ptr));
[INFO] [stderr]   cargo:warning=      |                      ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr]   cargo:warning=   24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr]   cargo:warning=      |                                         ^~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:101:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr]   cargo:warning=  101 |         WINAPI_CHECK(TlsSetValue(key, ptr));
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_tls_key_delete':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:105:22: warning: implicit declaration of function 'TlsFree' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  105 |         WINAPI_CHECK(TlsFree(key));
[INFO] [stderr]   cargo:warning=      |                      ^~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:24:41: note: in expansion of macro 'ASSERT_NE'
[INFO] [stderr]   cargo:warning=   24 | #define WINAPI_CHECK(expression)        ASSERT_NE(expression, 0)
[INFO] [stderr]   cargo:warning=      |                                         ^~~~~~~~~
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:105:9: note: in expansion of macro 'WINAPI_CHECK'
[INFO] [stderr]   cargo:warning=  105 |         WINAPI_CHECK(TlsFree(key));
[INFO] [stderr]   cargo:warning=      |         ^~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/libusbi.h:120,
[INFO] [stderr]   cargo:warning=                 from libusb/libusb/os/events_windows.c:23:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h: In function 'usbi_get_tid':
[INFO] [stderr]   cargo:warning=libusb/libusb/os/threads_windows.h:110:30: warning: implicit declaration of function 'GetCurrentThreadId' [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  110 |         return (unsigned int)GetCurrentThreadId();
[INFO] [stderr]   cargo:warning=      |                              ^~~~~~~~~~~~~~~~~~
[INFO] [stderr]   cargo:warning=In file included from libusb/libusb/os/events_windows.c:24:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/windows_common.h: At top level:
[INFO] [stderr]   cargo:warning=libusb/libusb/os/windows_common.h:56:10: fatal error: process.h: No such file or directory
[INFO] [stderr]   cargo:warning=   56 | #include <process.h>
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/include" "-I" "libusb/libusb" "/source-charset:utf-8" "-DPRINTF_FORMAT(a, b)=" "-DENABLE_LOGGING=1" "-DOS_WINDOWS=1" "-DDEFAULT_VISIBILITY=" "-DPLATFORM_WINDOWS=1" "-o" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/libusb1-sys-810687b608b1c6c1/out/0e3aad1164bcc6fc-events_windows.o" "-c" "libusb/libusb/os/events_windows.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "bc8bfee904698a050b4a1e6ef78569c175c8e1d3e583bd7ae2a018950907edfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc8bfee904698a050b4a1e6ef78569c175c8e1d3e583bd7ae2a018950907edfd", kill_on_drop: false }`
[INFO] [stdout] bc8bfee904698a050b4a1e6ef78569c175c8e1d3e583bd7ae2a018950907edfd