[INFO] fetching crate libusb-wishbone-tool 0.3.1... [INFO] testing libusb-wishbone-tool-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate libusb-wishbone-tool 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate libusb-wishbone-tool 0.3.1 [INFO] finished tweaking crates.io crate libusb-wishbone-tool 0.3.1 [INFO] tweaked toml for crates.io crate libusb-wishbone-tool 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libusb-wishbone-tool 0.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libusb-wishbone-tool 0.3.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 842db88b3f2739fc63a31304f48a07ae59427e2318e8fb7a635763e6ae914186 [INFO] running `Command { std: "docker" "start" "-a" "842db88b3f2739fc63a31304f48a07ae59427e2318e8fb7a635763e6ae914186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "842db88b3f2739fc63a31304f48a07ae59427e2318e8fb7a635763e6ae914186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842db88b3f2739fc63a31304f48a07ae59427e2318e8fb7a635763e6ae914186", kill_on_drop: false }` [INFO] [stdout] 842db88b3f2739fc63a31304f48a07ae59427e2318e8fb7a635763e6ae914186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a359134c55e2c683534f50677ef42cd1e2ff362ed702070a20e90412e86c88e5 [INFO] running `Command { std: "docker" "start" "-a" "a359134c55e2c683534f50677ef42cd1e2ff362ed702070a20e90412e86c88e5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling libusb-sys-wishbone-tool v0.2.6 [INFO] [stderr] Compiling libusb-wishbone-tool v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_list.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/config_descriptor.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint_descriptor.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.95s [INFO] running `Command { std: "docker" "inspect" "a359134c55e2c683534f50677ef42cd1e2ff362ed702070a20e90412e86c88e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a359134c55e2c683534f50677ef42cd1e2ff362ed702070a20e90412e86c88e5", kill_on_drop: false }` [INFO] [stdout] a359134c55e2c683534f50677ef42cd1e2ff362ed702070a20e90412e86c88e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b07ed97414567b2ac50cbc9055cb9d5f7550d437a20c044beee5c5c89d1e10 [INFO] running `Command { std: "docker" "start" "-a" "a8b07ed97414567b2ac50cbc9055cb9d5f7550d437a20c044beee5c5c89d1e10", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_list.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/config_descriptor.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint_descriptor.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling libusb-wishbone-tool v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `libusb` [INFO] [stdout] --> examples/read_device.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libusb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | try!(handle.reset()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let languages = try!(handle.read_languages(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | println!("Active configuration: {}", try!(handle.active_configuration())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | try!(handle.set_active_configuration(endpoint.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | try!(handle.claim_interface(endpoint.iface)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/read_device.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | try!(handle.set_alternate_setting(endpoint.iface, endpoint.setting)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let devices = match context.devices() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | for device in devices.iter() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `devices` an explicit type [INFO] [stdout] | [INFO] [stdout] 38 | let devices: /* Type */ = match context.devices() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | let device_desc = match device.device_descriptor() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let device_desc = match device.device_descriptor() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | if device_desc.vendor_id() == vid && device_desc.product_id() == pid { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `device_desc` an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | let device_desc: /* Type */ = match device.device_descriptor() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let languages = try!(handle.read_languages(timeout)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | if languages.len() > 0 { [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `languages` an explicit type [INFO] [stdout] | [INFO] [stdout] 64 | let languages: /* Type */ = try!(handle.read_languages(timeout)); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let config_desc = match device.config_descriptor(n) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | for interface in config_desc.interfaces() { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `config_desc` an explicit type [INFO] [stdout] | [INFO] [stdout] 92 | let config_desc: /* Type */ = match device.config_descriptor(n) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 98 | for interface_desc in interface.descriptors() { [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | for endpoint_desc in interface_desc.endpoint_descriptors() { [INFO] [stdout] | ^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/read_device.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | if endpoint_desc.direction() == libusb::Direction::In && endpoint_desc.transfer_type() == transfer_type { [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stderr] error: could not compile `libusb-wishbone-tool` (example "read_device") due to 9 previous errors; 6 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `libusb` [INFO] [stdout] --> examples/libusb_info.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libusb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `libusb` [INFO] [stdout] --> examples/list_devices.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate libusb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/list_devices.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | let context = try!(libusb::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/list_devices.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | for device in try!(context.devices()).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/libusb_info.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut context = match libusb::Context::new() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | context.set_log_level(libusb::LogLevel::Debug); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `context` an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | let mut context: /* Type */ = match libusb::Context::new() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let context = try!(libusb::Context::new()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | for device in try!(context.devices()).iter() { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `context` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let context: /* Type */ = try!(libusb::Context::new()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | for device in try!(context.devices()).iter() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | let device_desc = match device.device_descriptor() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | match h.read_languages(timeout) { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | ... if l.len() > 0 { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let device_desc = match device.device_descriptor() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | println!("Bus {:03} Device {:03} ID {:04x}:{:04x} {}", device.bus_number(), device.address(), device_desc.vendor_id(), devic... [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `device_desc` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let device_desc: /* Type */ = match device.device_descriptor() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list_devices.rs:62:39 [INFO] [stdout] | [INFO] [stdout] 62 | for interface_desc in interface.descriptors() { [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libusb-wishbone-tool` (example "libusb_info") due to 2 previous errors [INFO] [stderr] error: could not compile `libusb-wishbone-tool` (example "list_devices") due to 8 previous errors; 2 warnings emitted [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:111:37 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn open_device_with_vid_pid(&self, vendor_id: u16, product_id: u16) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_list.rs:78:37 [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList { [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub unsafe fn from_libusb(_context: &Context, list: *const *mut libusb_device, len: usize,) -> DeviceList<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/config_descriptor.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 71 | pub fn interfaces(&self) -> Interfaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn endpoint_descriptors(&self) -> EndpointDescriptors<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interface_descriptor.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 146 | pub unsafe fn from_libusb(interface: &libusb_interface) -> Interface<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/endpoint_descriptor.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn from_libusb(endpoint: &libusb_endpoint_descriptor) -> EndpointDescriptor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8b07ed97414567b2ac50cbc9055cb9d5f7550d437a20c044beee5c5c89d1e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b07ed97414567b2ac50cbc9055cb9d5f7550d437a20c044beee5c5c89d1e10", kill_on_drop: false }` [INFO] [stdout] a8b07ed97414567b2ac50cbc9055cb9d5f7550d437a20c044beee5c5c89d1e10