[INFO] fetching crate libusbk 0.2.0... [INFO] testing libusbk-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate libusbk 0.2.0 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libusbk 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da2e09ff4b937abb8677016b1a0256506a9ebabe922b84c8b19ad921a22e7378 [INFO] running `Command { std: "docker" "start" "-a" "da2e09ff4b937abb8677016b1a0256506a9ebabe922b84c8b19ad921a22e7378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da2e09ff4b937abb8677016b1a0256506a9ebabe922b84c8b19ad921a22e7378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da2e09ff4b937abb8677016b1a0256506a9ebabe922b84c8b19ad921a22e7378", kill_on_drop: false }` [INFO] [stdout] da2e09ff4b937abb8677016b1a0256506a9ebabe922b84c8b19ad921a22e7378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b696ea9b4b5a2cf6c0cedbde2a05ea4ba2b35b0b175deb3c585c695f10ffa6f [INFO] running `Command { std: "docker" "start" "-a" "2b696ea9b4b5a2cf6c0cedbde2a05ea4ba2b35b0b175deb3c585c695f10ffa6f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libusbk-sys v0.2.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libusbk v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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]: cannot 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" "2b696ea9b4b5a2cf6c0cedbde2a05ea4ba2b35b0b175deb3c585c695f10ffa6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b696ea9b4b5a2cf6c0cedbde2a05ea4ba2b35b0b175deb3c585c695f10ffa6f", kill_on_drop: false }` [INFO] [stdout] 2b696ea9b4b5a2cf6c0cedbde2a05ea4ba2b35b0b175deb3c585c695f10ffa6f