[INFO] fetching crate webusb-web 0.4.1... [INFO] testing webusb-web-0.4.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate webusb-web 0.4.1 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate webusb-web 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate webusb-web 0.4.1 [INFO] tweaked toml for crates.io crate webusb-web 0.4.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate webusb-web 0.4.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate webusb-web 0.4.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 363424ed15284c71017181b65a9fd90ec0c5bfb8c940d630231d1dcd53bafaea [INFO] running `Command { std: "docker" "start" "-a" "363424ed15284c71017181b65a9fd90ec0c5bfb8c940d630231d1dcd53bafaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "363424ed15284c71017181b65a9fd90ec0c5bfb8c940d630231d1dcd53bafaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363424ed15284c71017181b65a9fd90ec0c5bfb8c940d630231d1dcd53bafaea", kill_on_drop: false }` [INFO] [stdout] 363424ed15284c71017181b65a9fd90ec0c5bfb8c940d630231d1dcd53bafaea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78bc3f1a2ddf7de05567c5796b513f01b413b09f2c1cf90cbb4badb987440e74 [INFO] running `Command { std: "docker" "start" "-a" "78bc3f1a2ddf7de05567c5796b513f01b413b09f2c1cf90cbb4badb987440e74", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling webusb-web v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:320:22 [INFO] [stdout] | [INFO] [stdout] 320 | web_sys::UsbEndpointType::Bulk => Self::Bulk, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | web_sys::UsbEndpointType::Interrupt => Self::Interrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | web_sys::UsbEndpointType::Isochronous => Self::Isochronous, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | web_sys::UsbDirection::In => Self::In, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:511:22 [INFO] [stdout] | [INFO] [stdout] 511 | web_sys::UsbDirection::Out => Self::Out, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:520:42 [INFO] [stdout] | [INFO] [stdout] 520 | UsbDirection::In => web_sys::UsbDirection::In, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:521:43 [INFO] [stdout] | [INFO] [stdout] 521 | UsbDirection::Out => web_sys::UsbDirection::Out, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:598:31 [INFO] [stdout] | [INFO] [stdout] 598 | let filter = web_sys::UsbDeviceFilter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:684:36 [INFO] [stdout] | [INFO] [stdout] 684 | filters.push(&web_sys::UsbDeviceFilter::from(filter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbDeviceRequestOptions` in `web_sys` [INFO] [stdout] --> src/lib.rs:687:18 [INFO] [stdout] | [INFO] [stdout] 687 | web_sys::UsbDeviceRequestOptions::new(&filters) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `UsbDeviceRequestOptions` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:951:22 [INFO] [stdout] | [INFO] [stdout] 951 | web_sys::UsbTransferStatus::Ok => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:952:22 [INFO] [stdout] | [INFO] [stdout] 952 | web_sys::UsbTransferStatus::Stall => Err(Error::new(ErrorKind::Stall, "USB device stalled transfer")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:953:22 [INFO] [stdout] | [INFO] [stdout] 953 | web_sys::UsbTransferStatus::Babble => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] --> src/lib.rs:962:30 [INFO] [stdout] | [INFO] [stdout] 962 | let setup = web_sys::UsbControlTransferParameters::from(control_request); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] --> src/lib.rs:974:30 [INFO] [stdout] | [INFO] [stdout] 974 | let setup = web_sys::UsbControlTransferParameters::from(control_request); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | impl From<&web_sys::UsbConfiguration> for UsbConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | fn from(conf: &web_sys::UsbConfiguration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:165:71 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(iface) = iface_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | impl From<&web_sys::UsbInterface> for UsbInterface { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:200:30 [INFO] [stdout] | [INFO] [stdout] 200 | fn from(iface: &web_sys::UsbInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:204:67 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some(alt) = alt_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | impl From<&web_sys::UsbAlternateInterface> for UsbAlternateInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | fn from(alt: &web_sys::UsbAlternateInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:252:65 [INFO] [stdout] | [INFO] [stdout] 252 | if let Some(ep) = ep_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | impl From<&web_sys::UsbEndpoint> for UsbEndpoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:286:27 [INFO] [stdout] | [INFO] [stdout] 286 | fn from(ep: &web_sys::UsbEndpoint) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbEndpointType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | impl From for UsbEndpointType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbEndpointType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:318:29 [INFO] [stdout] | [INFO] [stdout] 318 | fn from(value: web_sys::UsbEndpointType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | device: web_sys::UsbDevice, [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:420:68 [INFO] [stdout] | [INFO] [stdout] 420 | if let Some(conf) = cfg_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | impl From for UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | fn from(device: web_sys::UsbDevice) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 492 | impl AsRef for UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:493:35 [INFO] [stdout] | [INFO] [stdout] 493 | fn as_ref(&self) -> &web_sys::UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | impl From for UsbDirection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:508:29 [INFO] [stdout] | [INFO] [stdout] 508 | fn from(value: web_sys::UsbDirection) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:517:38 [INFO] [stdout] | [INFO] [stdout] 517 | impl From for web_sys::UsbDirection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDeviceFilter` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:596:42 [INFO] [stdout] | [INFO] [stdout] 596 | impl From<&UsbDeviceFilter> for web_sys::UsbDeviceFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbRecipient` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:634:38 [INFO] [stdout] | [INFO] [stdout] 634 | impl From for web_sys::UsbRecipient { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbRequestType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:656:40 [INFO] [stdout] | [INFO] [stdout] 656 | impl From for web_sys::UsbRequestType { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDeviceRequestOptions` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:680:50 [INFO] [stdout] | [INFO] [stdout] 680 | impl From<&UsbDeviceRequestOptions> for web_sys::UsbDeviceRequestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbControlTransferParameters` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:717:44 [INFO] [stdout] | [INFO] [stdout] 717 | impl From<&UsbControlRequest> for web_sys::UsbControlTransferParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usb` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:770:19 [INFO] [stdout] | [INFO] [stdout] 770 | usb: web_sys::Usb, [INFO] [stdout] | ^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:772:41 [INFO] [stdout] | [INFO] [stdout] 772 | on_connect: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:773:44 [INFO] [stdout] | [INFO] [stdout] 773 | on_disconnect: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:791:58 [INFO] [stdout] | [INFO] [stdout] 791 | Closure::wrap(Box::new(move |event: web_sys::UsbConnectionEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:799:58 [INFO] [stdout] | [INFO] [stdout] 799 | Closure::wrap(Box::new(move |event: web_sys::UsbConnectionEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Usb` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:808:41 [INFO] [stdout] | [INFO] [stdout] 808 | fn browser_usb() -> Result { [INFO] [stdout] | ^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:844:64 [INFO] [stdout] | [INFO] [stdout] 844 | .map(|dev| UsbDevice::from(dev.dyn_into::().unwrap())) [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:854:36 [INFO] [stdout] | [INFO] [stdout] 854 | Ok(dev.dyn_into::().unwrap().into()) [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:890:32 [INFO] [stdout] | [INFO] [stdout] 890 | fn dev(&self) -> &web_sys::UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbTransferStatus` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:949:38 [INFO] [stdout] | [INFO] [stdout] 949 | fn check_status(status: web_sys::UsbTransferStatus) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbInTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:964:43 [INFO] [stdout] | [INFO] [stdout] 964 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbOutTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:977:43 [INFO] [stdout] | [INFO] [stdout] 977 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbIsochronousInTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:990:43 [INFO] [stdout] | [INFO] [stdout] 990 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbIsochronousInTransferPacket` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:994:53 [INFO] [stdout] | [INFO] [stdout] 994 | let packet = packet.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbIsochronousOutTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:1024:43 [INFO] [stdout] | [INFO] [stdout] 1024 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbIsochronousOutTransferPacket` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:1028:53 [INFO] [stdout] | [INFO] [stdout] 1028 | let packet = packet.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbInTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:1042:43 [INFO] [stdout] | [INFO] [stdout] 1042 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbOutTransferResult` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:1056:43 [INFO] [stdout] | [INFO] [stdout] 1056 | let res = res.dyn_into::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | self.device.configuration().map(|cfg| (&cfg).into()) [INFO] [stdout] | ^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 412 | self.device.configuration().map(|cfg: /* Type */| (&cfg).into()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `usb` found for struct `Navigator` in the current scope [INFO] [stdout] --> src/lib.rs:814:89 [INFO] [stdout] | [INFO] [stdout] 814 | Ok(usb) if !usb.is_null() && !usb.is_undefined() => return Ok(navigator.usb()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `sub` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/arith.rs:207:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `usb` found for struct `WorkerNavigator` in the current scope [INFO] [stdout] --> src/lib.rs:822:89 [INFO] [stdout] | [INFO] [stdout] 822 | Ok(usb) if !usb.is_null() && !usb.is_undefined() => return Ok(navigator.usb()), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `sub` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/arith.rs:207:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webusb-web` (lib) due to 63 previous errors [INFO] running `Command { std: "docker" "inspect" "78bc3f1a2ddf7de05567c5796b513f01b413b09f2c1cf90cbb4badb987440e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bc3f1a2ddf7de05567c5796b513f01b413b09f2c1cf90cbb4badb987440e74", kill_on_drop: false }` [INFO] [stdout] 78bc3f1a2ddf7de05567c5796b513f01b413b09f2c1cf90cbb4badb987440e74