[INFO] fetching crate libusbk 0.2.0... [INFO] checking libusbk-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate libusbk 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate libusbk 0.2.0 [INFO] finished tweaking crates.io crate libusbk 0.2.0 [INFO] tweaked toml for crates.io crate libusbk 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libusbk 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libusbk-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84114fb396f594497f6824d68e5aa23439de676bfc531e77b80c347f625805ec [INFO] running `Command { std: "docker" "start" "-a" "84114fb396f594497f6824d68e5aa23439de676bfc531e77b80c347f625805ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84114fb396f594497f6824d68e5aa23439de676bfc531e77b80c347f625805ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84114fb396f594497f6824d68e5aa23439de676bfc531e77b80c347f625805ec", kill_on_drop: false }` [INFO] [stdout] 84114fb396f594497f6824d68e5aa23439de676bfc531e77b80c347f625805ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de755d356a57892ea0204489b06f4d0e3e6aec29267af5e49ccc50f7323e09c [INFO] running `Command { std: "docker" "start" "-a" "1de755d356a57892ea0204489b06f4d0e3e6aec29267af5e49ccc50f7323e09c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libusbk-sys v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking libusbk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try_unsafe!(LibK_LoadDriverAPI(&mut dev, self.driver_id())); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try_unsafe!(dev.Init.unwrap()(handle.as_mut_ptr(), self.0)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / try_unsafe!(self.dev.ClaimInterface.unwrap()( [INFO] [stdout] 28 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 29 | | num_or_index, [INFO] [stdout] 30 | | is_index.into() [INFO] [stdout] 31 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / try_unsafe!(self.dev.ReadPipe.unwrap()( [INFO] [stdout] 43 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 44 | | pipe_id, [INFO] [stdout] 45 | | buffer.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 48 | | std::ptr::null_mut(), [INFO] [stdout] 49 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / try_unsafe!(self.dev.WritePipe.unwrap()( [INFO] [stdout] 57 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 58 | | pipe_id, [INFO] [stdout] 59 | | ptr as *mut u8, [INFO] [stdout] ... | [INFO] [stdout] 62 | | std::ptr::null_mut() [INFO] [stdout] 63 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try_unsafe!(LstK_Init(context.as_mut_ptr(), 0)); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try_unsafe!(LstK_Count(self.list.inner.as_ptr(), &mut count)); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / try_unsafe!(LstK_FindByVidPid( [INFO] [stdout] 51 | | self.list.inner.as_ptr(), [INFO] [stdout] 52 | | vid, [INFO] [stdout] 53 | | pid, [INFO] [stdout] 54 | | &mut device.0 [INFO] [stdout] 55 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hotplug.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | try_unsafe!(HotK_Init(&mut self.handle, &mut self.params)); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try_unsafe!(LibK_LoadDriverAPI(&mut dev, self.driver_id())); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try_unsafe!(dev.Init.unwrap()(handle.as_mut_ptr(), self.0)); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | / try_unsafe!(self.dev.ClaimInterface.unwrap()( [INFO] [stdout] 28 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 29 | | num_or_index, [INFO] [stdout] 30 | | is_index.into() [INFO] [stdout] 31 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / try_unsafe!(self.dev.ReadPipe.unwrap()( [INFO] [stdout] 43 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 44 | | pipe_id, [INFO] [stdout] 45 | | buffer.as_mut_ptr(), [INFO] [stdout] ... | [INFO] [stdout] 48 | | std::ptr::null_mut(), [INFO] [stdout] 49 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_handle.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / try_unsafe!(self.dev.WritePipe.unwrap()( [INFO] [stdout] 57 | | self.handle.unwrap().as_ptr(), [INFO] [stdout] 58 | | pipe_id, [INFO] [stdout] 59 | | ptr as *mut u8, [INFO] [stdout] ... | [INFO] [stdout] 62 | | std::ptr::null_mut() [INFO] [stdout] 63 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try_unsafe!(LstK_Init(context.as_mut_ptr(), 0)); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | try_unsafe!(LstK_Count(self.list.inner.as_ptr(), &mut count)); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/device_list.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / try_unsafe!(LstK_FindByVidPid( [INFO] [stdout] 51 | | self.list.inner.as_ptr(), [INFO] [stdout] 52 | | vid, [INFO] [stdout] 53 | | pid, [INFO] [stdout] 54 | | &mut device.0 [INFO] [stdout] 55 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/error.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/hotplug.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | try_unsafe!(HotK_Init(&mut self.handle, &mut self.params)); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `try_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libusbk` (lib test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libusbk` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "1de755d356a57892ea0204489b06f4d0e3e6aec29267af5e49ccc50f7323e09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de755d356a57892ea0204489b06f4d0e3e6aec29267af5e49ccc50f7323e09c", kill_on_drop: false }` [INFO] [stdout] 1de755d356a57892ea0204489b06f4d0e3e6aec29267af5e49ccc50f7323e09c