[INFO] fetching crate yusb 0.1.2... [INFO] testing yusb-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate yusb 0.1.2 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yusb 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b993a1a5dbd482d610597129314de05d5ec9c29bd0498424e5b4ce489466497 [INFO] running `Command { std: "docker" "start" "-a" "8b993a1a5dbd482d610597129314de05d5ec9c29bd0498424e5b4ce489466497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b993a1a5dbd482d610597129314de05d5ec9c29bd0498424e5b4ce489466497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b993a1a5dbd482d610597129314de05d5ec9c29bd0498424e5b4ce489466497", kill_on_drop: false }` [INFO] [stdout] 8b993a1a5dbd482d610597129314de05d5ec9c29bd0498424e5b4ce489466497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41dab7a6ca31c3aab84fd18a8d66b9a8d7a4bafd3ce0ca8f5aa38f627ffa27ab [INFO] running `Command { std: "docker" "start" "-a" "41dab7a6ca31c3aab84fd18a8d66b9a8d7a4bafd3ce0ca8f5aa38f627ffa27ab", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libc v0.2.147 [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" "41dab7a6ca31c3aab84fd18a8d66b9a8d7a4bafd3ce0ca8f5aa38f627ffa27ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41dab7a6ca31c3aab84fd18a8d66b9a8d7a4bafd3ce0ca8f5aa38f627ffa27ab", kill_on_drop: false }` [INFO] [stdout] 41dab7a6ca31c3aab84fd18a8d66b9a8d7a4bafd3ce0ca8f5aa38f627ffa27ab