[INFO] fetching crate libusbk 0.2.0... [INFO] testing libusbk-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate libusbk 0.2.0 into /workspace/builds/worker-2-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-2-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 15 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc673df97e027c0402f16dab50395e62bfc8a0d0fe61f77e654756e7a682e76c [INFO] running `Command { std: "docker" "start" "-a" "fc673df97e027c0402f16dab50395e62bfc8a0d0fe61f77e654756e7a682e76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc673df97e027c0402f16dab50395e62bfc8a0d0fe61f77e654756e7a682e76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc673df97e027c0402f16dab50395e62bfc8a0d0fe61f77e654756e7a682e76c", kill_on_drop: false }` [INFO] [stdout] fc673df97e027c0402f16dab50395e62bfc8a0d0fe61f77e654756e7a682e76c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ccc651c4ae115f7081872cf943b69eca49b5cd5742ce15f163bf4e47b2e507c [INFO] running `Command { std: "docker" "start" "-a" "4ccc651c4ae115f7081872cf943b69eca49b5cd5742ce15f163bf4e47b2e507c", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libusbk-sys v0.2.0 [INFO] [stderr] Compiling 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] 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" "4ccc651c4ae115f7081872cf943b69eca49b5cd5742ce15f163bf4e47b2e507c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ccc651c4ae115f7081872cf943b69eca49b5cd5742ce15f163bf4e47b2e507c", kill_on_drop: false }` [INFO] [stdout] 4ccc651c4ae115f7081872cf943b69eca49b5cd5742ce15f163bf4e47b2e507c