[INFO] fetching crate yusb 0.1.2... [INFO] testing yusb-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate yusb 0.1.2 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yusb 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.64 [INFO] [stderr] Downloaded phf v0.9.0 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded phf_shared v0.9.0 [INFO] [stderr] Downloaded phf_codegen v0.9.0 [INFO] [stderr] Downloaded unicode-ident v1.0.10 [INFO] [stderr] Downloaded phf_generator v0.9.1 [INFO] [stderr] Downloaded serde_derive v1.0.171 [INFO] [stderr] Downloaded serde v1.0.171 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded syn v2.0.25 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded libusb1-sys v0.6.4 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded usb-ids v1.2023.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67ee21af6335f0e0b2b8378b2d416e6287ab98de1e136c44095988825900e03d [INFO] running `Command { std: "docker" "start" "-a" "67ee21af6335f0e0b2b8378b2d416e6287ab98de1e136c44095988825900e03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67ee21af6335f0e0b2b8378b2d416e6287ab98de1e136c44095988825900e03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ee21af6335f0e0b2b8378b2d416e6287ab98de1e136c44095988825900e03d", kill_on_drop: false }` [INFO] [stdout] 67ee21af6335f0e0b2b8378b2d416e6287ab98de1e136c44095988825900e03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bce17339a9cceb6425e8989bb2571ac9295bf8db0e05c177eb88fc781b3d1cb [INFO] running `Command { std: "docker" "start" "-a" "7bce17339a9cceb6425e8989bb2571ac9295bf8db0e05c177eb88fc781b3d1cb", 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" "7bce17339a9cceb6425e8989bb2571ac9295bf8db0e05c177eb88fc781b3d1cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bce17339a9cceb6425e8989bb2571ac9295bf8db0e05c177eb88fc781b3d1cb", kill_on_drop: false }` [INFO] [stdout] 7bce17339a9cceb6425e8989bb2571ac9295bf8db0e05c177eb88fc781b3d1cb