[INFO] fetching crate libusb-sys-wishbone-tool 0.2.6...
[INFO] checking libusb-sys-wishbone-tool-0.2.6 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate libusb-sys-wishbone-tool 0.2.6 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate libusb-sys-wishbone-tool 0.2.6 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libusb-sys-wishbone-tool 0.2.6
[INFO] finished tweaking crates.io crate libusb-sys-wishbone-tool 0.2.6
[INFO] tweaked toml for crates.io crate libusb-sys-wishbone-tool 0.2.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate libusb-sys-wishbone-tool 0.2.6 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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b248e7bd1df9fd862b942f3b6300274deaa4f00cbb7256721f568dd329d5a6d
[INFO] running `Command { std: "docker" "start" "-a" "9b248e7bd1df9fd862b942f3b6300274deaa4f00cbb7256721f568dd329d5a6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b248e7bd1df9fd862b942f3b6300274deaa4f00cbb7256721f568dd329d5a6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b248e7bd1df9fd862b942f3b6300274deaa4f00cbb7256721f568dd329d5a6d", kill_on_drop: false }`
[INFO] [stdout] 9b248e7bd1df9fd862b942f3b6300274deaa4f00cbb7256721f568dd329d5a6d
[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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ff79b66648b747fd6f69f3e667050d1e076c011f99e74f78872655fda5b5d4e3
[INFO] running `Command { std: "docker" "start" "-a" "ff79b66648b747fd6f69f3e667050d1e076c011f99e74f78872655fda5b5d4e3", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling libusb-sys-wishbone-tool v0.2.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/libusb_info.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/list_devices.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/read_device.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/libusb_info.rs:24:63
[INFO] [stdout]    |
[INFO] [stdout] 24 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 31 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:32:73
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:59:54
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut active_config: c_int = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:152:78
[INFO] [stdout]     |
[INFO] [stdout] 152 |   let mut device_descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:157:84
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut config_ptr: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:230:58
[INFO] [stdout]     |
[INFO] [stdout] 230 |               let mut transferred: c_int = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:11:63
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:24:73
[INFO] [stdout]    |
[INFO] [stdout] 24 |   let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:43:71
[INFO] [stdout]    |
[INFO] [stdout] 43 |   let mut descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:97:82
[INFO] [stdout]    |
[INFO] [stdout] 97 |       let mut descriptor: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "libusb_info") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0609]: no field `altsetting` on type `&_`
[INFO] [stdout]    --> examples/list_devices.rs:107:74
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let iface_descriptors = unsafe { slice::from_raw_parts(iface.altsetting, iface.num_altsetting as usize) };
[INFO] [stdout]     |                                                                          ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]   --> examples/read_device.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |   if device.is_null() {
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]    = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `altsetting` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:165:67
[INFO] [stdout]     |
[INFO] [stdout] 165 |               let settings = unsafe { slice::from_raw_parts(iface.altsetting, iface.num_altsetting as usize) };
[INFO] [stdout]     |                                                                   ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `endpoint` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:168:81
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 let endpoints = unsafe { slice::from_raw_parts(iface_descriptor.endpoint, iface_descriptor.bNumEndpoints as usize) };
[INFO] [stdout]     |                                                                                 ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `bEndpointAddress` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:171:54
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   let is_input = endpoint_descriptor.bEndpointAddress & ::ffi::LIBUSB_ENDPOINT_DIR_MASK == ::ffi::LIBUSB_ENDPOINT_IN;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> examples/list_devices.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |   if handle.is_null() || desc_index == 0{
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "read_device") due to 5 previous errors; 7 warnings emitted
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "list_devices") due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ff79b66648b747fd6f69f3e667050d1e076c011f99e74f78872655fda5b5d4e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff79b66648b747fd6f69f3e667050d1e076c011f99e74f78872655fda5b5d4e3", kill_on_drop: false }`
[INFO] [stdout] ff79b66648b747fd6f69f3e667050d1e076c011f99e74f78872655fda5b5d4e3
[INFO] checking libusb-sys-wishbone-tool-0.2.6 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate libusb-sys-wishbone-tool 0.2.6 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate libusb-sys-wishbone-tool 0.2.6 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libusb-sys-wishbone-tool 0.2.6
[INFO] finished tweaking crates.io crate libusb-sys-wishbone-tool 0.2.6
[INFO] tweaked toml for crates.io crate libusb-sys-wishbone-tool 0.2.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate crates.io crate libusb-sys-wishbone-tool 0.2.6 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" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 881e23c056d3af91e3d4776b8dc9b61d6a7178a93f84e8ab2c72de15a55ec726
[INFO] running `Command { std: "docker" "start" "-a" "881e23c056d3af91e3d4776b8dc9b61d6a7178a93f84e8ab2c72de15a55ec726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "881e23c056d3af91e3d4776b8dc9b61d6a7178a93f84e8ab2c72de15a55ec726", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "881e23c056d3af91e3d4776b8dc9b61d6a7178a93f84e8ab2c72de15a55ec726", kill_on_drop: false }`
[INFO] [stdout] 881e23c056d3af91e3d4776b8dc9b61d6a7178a93f84e8ab2c72de15a55ec726
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 786379fa4806b0be8371f7f4700a8117b8496e3817bedfd31ffcd978cb06c258
[INFO] running `Command { std: "docker" "start" "-a" "786379fa4806b0be8371f7f4700a8117b8496e3817bedfd31ffcd978cb06c258", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling cc v1.0.52
[INFO] [stderr]    Compiling libusb-sys-wishbone-tool v0.2.6 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/list_devices.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/libusb_info.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `libusb_sys`
[INFO] [stdout]  --> examples/read_device.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate libusb_sys as ffi;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/libusb_info.rs:24:63
[INFO] [stdout]    |
[INFO] [stdout] 24 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:11:63
[INFO] [stdout]    |
[INFO] [stdout] 11 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:24:73
[INFO] [stdout]    |
[INFO] [stdout] 24 |   let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:43:71
[INFO] [stdout]    |
[INFO] [stdout] 43 |   let mut descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/list_devices.rs:97:82
[INFO] [stdout]    |
[INFO] [stdout] 97 |       let mut descriptor: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:31:63
[INFO] [stdout]    |
[INFO] [stdout] 31 |   let mut context: *mut ::ffi::libusb_context = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                               ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:32:73
[INFO] [stdout]    |
[INFO] [stdout] 32 |   let mut device_list: *const *mut ::ffi::libusb_device = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> examples/read_device.rs:59:54
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut active_config: c_int = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:152:78
[INFO] [stdout]     |
[INFO] [stdout] 152 |   let mut device_descriptor: ::ffi::libusb_device_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:157:84
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut config_ptr: *const ::ffi::libusb_config_descriptor = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]    --> examples/read_device.rs:230:58
[INFO] [stdout]     |
[INFO] [stdout] 230 |               let mut transferred: c_int = unsafe { mem::uninitialized() };
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `altsetting` on type `&_`
[INFO] [stdout]    --> examples/list_devices.rs:107:74
[INFO] [stdout]     |
[INFO] [stdout] 107 |             let iface_descriptors = unsafe { slice::from_raw_parts(iface.altsetting, iface.num_altsetting as usize) };
[INFO] [stdout]     |                                                                          ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "libusb_info") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]   --> examples/read_device.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |   if device.is_null() {
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]    = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type annotations needed
[INFO] [stdout]    --> examples/list_devices.rs:340:13
[INFO] [stdout]     |
[INFO] [stdout] 340 |   if handle.is_null() || desc_index == 0{
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
[INFO] [stdout]     = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `altsetting` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:165:67
[INFO] [stdout]     |
[INFO] [stdout] 165 |               let settings = unsafe { slice::from_raw_parts(iface.altsetting, iface.num_altsetting as usize) };
[INFO] [stdout]     |                                                                   ^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `endpoint` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:168:81
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 let endpoints = unsafe { slice::from_raw_parts(iface_descriptor.endpoint, iface_descriptor.bNumEndpoints as usize) };
[INFO] [stdout]     |                                                                                 ^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `bEndpointAddress` on type `&_`
[INFO] [stdout]    --> examples/read_device.rs:171:54
[INFO] [stdout]     |
[INFO] [stdout] 171 |                   let is_input = endpoint_descriptor.bEndpointAddress & ::ffi::LIBUSB_ENDPOINT_DIR_MASK == ::ffi::LIBUSB_ENDPOINT_IN;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0463, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0463`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "list_devices") due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] error: could not compile `libusb-sys-wishbone-tool` (example "read_device") due to 5 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "786379fa4806b0be8371f7f4700a8117b8496e3817bedfd31ffcd978cb06c258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "786379fa4806b0be8371f7f4700a8117b8496e3817bedfd31ffcd978cb06c258", kill_on_drop: false }`
[INFO] [stdout] 786379fa4806b0be8371f7f4700a8117b8496e3817bedfd31ffcd978cb06c258
