[INFO] fetching crate yusb 0.1.2... [INFO] testing yusb-0.1.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate yusb 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate yusb 0.1.2 [INFO] finished tweaking crates.io crate yusb 0.1.2 [INFO] tweaked toml for crates.io crate yusb 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yusb 0.1.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yusb 0.1.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffd2845b046f7d5e2eecbfb9864d9bcef0363708bc9106133e8169feb9558638 [INFO] running `Command { std: "docker" "start" "-a" "ffd2845b046f7d5e2eecbfb9864d9bcef0363708bc9106133e8169feb9558638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd2845b046f7d5e2eecbfb9864d9bcef0363708bc9106133e8169feb9558638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd2845b046f7d5e2eecbfb9864d9bcef0363708bc9106133e8169feb9558638", kill_on_drop: false }` [INFO] [stdout] ffd2845b046f7d5e2eecbfb9864d9bcef0363708bc9106133e8169feb9558638 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b414b220307aaf82448804a31d80f01148c9b0992ea3880cf633bfa41c476931 [INFO] running `Command { std: "docker" "start" "-a" "b414b220307aaf82448804a31d80f01148c9b0992ea3880cf633bfa41c476931", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling yusb v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/context.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let ptr = std::ptr::NonNull::new(handle)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 152 - let ptr = std::ptr::NonNull::new(handle)?; [INFO] [stdout] 152 + let ptr = ptr::NonNull::new(handle)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/context.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | let ptr = std::ptr::NonNull::new(handle.assume_init()).ok_or(Error::NoDevice)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 171 - let ptr = std::ptr::NonNull::new(handle.assume_init()).ok_or(Error::NoDevice)?; [INFO] [stdout] 171 + let ptr = ptr::NonNull::new(handle.assume_init()).ok_or(Error::NoDevice)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/device_handle.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | std::ptr::NonNull::new_unchecked(libusb_get_device(self.as_raw())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 162 - std::ptr::NonNull::new_unchecked(libusb_get_device(self.as_raw())), [INFO] [stdout] 162 + NonNull::new_unchecked(libusb_get_device(self.as_raw())), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_handle.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | fn iter(&self) -> ClaimedInterfacesIter { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 68 | fn iter(&self) -> ClaimedInterfacesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_handle.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter { [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] 87 | fn new(source: &ClaimedInterfaces) -> ClaimedInterfacesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device_list.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn iter(&self) -> Devices { [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] 88 | pub fn iter(&self) -> Devices<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/config_descriptor.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 68 | pub fn interfaces(&self) -> Interfaces<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yusb` (lib) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b414b220307aaf82448804a31d80f01148c9b0992ea3880cf633bfa41c476931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b414b220307aaf82448804a31d80f01148c9b0992ea3880cf633bfa41c476931", kill_on_drop: false }` [INFO] [stdout] b414b220307aaf82448804a31d80f01148c9b0992ea3880cf633bfa41c476931