[INFO] fetching crate webusb-web 0.5.1... [INFO] testing webusb-web-0.5.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate webusb-web 0.5.1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate webusb-web 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate webusb-web 0.5.1 [INFO] tweaked toml for crates.io crate webusb-web 0.5.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate webusb-web 0.5.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate webusb-web 0.5.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-shared v0.2.114 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.64 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcf547b6c058be62836e58c5bf758eed96dcc5d028849dcdf05489b200777351 [INFO] running `Command { std: "docker" "start" "-a" "bcf547b6c058be62836e58c5bf758eed96dcc5d028849dcdf05489b200777351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcf547b6c058be62836e58c5bf758eed96dcc5d028849dcdf05489b200777351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf547b6c058be62836e58c5bf758eed96dcc5d028849dcdf05489b200777351", kill_on_drop: false }` [INFO] [stdout] bcf547b6c058be62836e58c5bf758eed96dcc5d028849dcdf05489b200777351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d6994533d935e690a8e1df2c27577f348ed4c715b054d1f101aa4694320e857 [INFO] running `Command { std: "docker" "start" "-a" "9d6994533d935e690a8e1df2c27577f348ed4c715b054d1f101aa4694320e857", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.114 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.114 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.114 [INFO] [stderr] Compiling js-sys v0.3.91 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.64 [INFO] [stderr] Compiling web-sys v0.3.91 [INFO] [stderr] Compiling webusb-web v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | web_sys::UsbEndpointType::Bulk => Self::Bulk, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:400:22 [INFO] [stdout] | [INFO] [stdout] 400 | web_sys::UsbEndpointType::Interrupt => Self::Interrupt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:401:22 [INFO] [stdout] | [INFO] [stdout] 401 | web_sys::UsbEndpointType::Isochronous => Self::Isochronous, [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | web_sys::UsbDirection::In => Self::In, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:590:22 [INFO] [stdout] | [INFO] [stdout] 590 | web_sys::UsbDirection::Out => Self::Out, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:599:42 [INFO] [stdout] | [INFO] [stdout] 599 | UsbDirection::In => web_sys::UsbDirection::In, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:600:43 [INFO] [stdout] | [INFO] [stdout] 600 | UsbDirection::Out => web_sys::UsbDirection::Out, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `UsbDirection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:677:31 [INFO] [stdout] | [INFO] [stdout] 677 | let filter = web_sys::UsbDeviceFilter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:761:57 [INFO] [stdout] | [INFO] [stdout] 761 | let filters = value.filters.iter().map(web_sys::UsbDeviceFilter::from).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `UsbDeviceFilter` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbDeviceRequestOptions` in `web_sys` [INFO] [stdout] --> src/lib.rs:763:18 [INFO] [stdout] | [INFO] [stdout] 763 | web_sys::UsbDeviceRequestOptions::new(&filters) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ could not find `UsbDeviceRequestOptions` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:1027:22 [INFO] [stdout] | [INFO] [stdout] 1027 | web_sys::UsbTransferStatus::Ok => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:1028:22 [INFO] [stdout] | [INFO] [stdout] 1028 | 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]: cannot find `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | web_sys::UsbTransferStatus::Babble => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `UsbTransferStatus` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] --> src/lib.rs:1038:30 [INFO] [stdout] | [INFO] [stdout] 1038 | 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]: cannot find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] --> src/lib.rs:1051:30 [INFO] [stdout] | [INFO] [stdout] 1051 | let setup = web_sys::UsbControlTransferParameters::from(control_request); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | impl From<&web_sys::UsbConfiguration> for UsbConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:240:29 [INFO] [stdout] | [INFO] [stdout] 240 | fn from(conf: &web_sys::UsbConfiguration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:244:71 [INFO] [stdout] | [INFO] [stdout] 244 | if let Some(iface) = iface_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | impl From<&web_sys::UsbInterface> for UsbInterface { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:279:30 [INFO] [stdout] | [INFO] [stdout] 279 | fn from(iface: &web_sys::UsbInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:283:67 [INFO] [stdout] | [INFO] [stdout] 283 | if let Some(alt) = alt_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:326:21 [INFO] [stdout] | [INFO] [stdout] 326 | impl From<&web_sys::UsbAlternateInterface> for UsbAlternateInterface { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbAlternateInterface` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | fn from(alt: &web_sys::UsbAlternateInterface) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:331:65 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(ep) = ep_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | impl From<&web_sys::UsbEndpoint> for UsbEndpoint { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbEndpoint` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:365:27 [INFO] [stdout] | [INFO] [stdout] 365 | fn from(ep: &web_sys::UsbEndpoint) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbEndpointType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:396:20 [INFO] [stdout] | [INFO] [stdout] 396 | impl From for UsbEndpointType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbEndpointType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:397:29 [INFO] [stdout] | [INFO] [stdout] 397 | fn from(value: web_sys::UsbEndpointType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | device: web_sys::UsbDevice, [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConfiguration` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:499:68 [INFO] [stdout] | [INFO] [stdout] 499 | if let Some(conf) = cfg_list.get(i).dyn_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:565:20 [INFO] [stdout] | [INFO] [stdout] 565 | impl From for UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:566:30 [INFO] [stdout] | [INFO] [stdout] 566 | fn from(device: web_sys::UsbDevice) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:571:21 [INFO] [stdout] | [INFO] [stdout] 571 | impl AsRef for UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:572:35 [INFO] [stdout] | [INFO] [stdout] 572 | fn as_ref(&self) -> &web_sys::UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | impl From for UsbDirection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:587:29 [INFO] [stdout] | [INFO] [stdout] 587 | fn from(value: web_sys::UsbDirection) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:596:38 [INFO] [stdout] | [INFO] [stdout] 596 | impl From for web_sys::UsbDirection { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDeviceFilter` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:675:42 [INFO] [stdout] | [INFO] [stdout] 675 | impl From<&UsbDeviceFilter> for web_sys::UsbDeviceFilter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbRecipient` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:713:38 [INFO] [stdout] | [INFO] [stdout] 713 | impl From for web_sys::UsbRecipient { [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbRequestType` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:735:40 [INFO] [stdout] | [INFO] [stdout] 735 | impl From for web_sys::UsbRequestType { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDeviceRequestOptions` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:759:50 [INFO] [stdout] | [INFO] [stdout] 759 | impl From<&UsbDeviceRequestOptions> for web_sys::UsbDeviceRequestOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbControlTransferParameters` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:793:44 [INFO] [stdout] | [INFO] [stdout] 793 | impl From<&UsbControlRequest> for web_sys::UsbControlTransferParameters { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Usb` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:846:19 [INFO] [stdout] | [INFO] [stdout] 846 | usb: web_sys::Usb, [INFO] [stdout] | ^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:848:41 [INFO] [stdout] | [INFO] [stdout] 848 | on_connect: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:849:44 [INFO] [stdout] | [INFO] [stdout] 849 | on_disconnect: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:867:58 [INFO] [stdout] | [INFO] [stdout] 867 | Closure::wrap(Box::new(move |event: web_sys::UsbConnectionEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbConnectionEvent` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:875:58 [INFO] [stdout] | [INFO] [stdout] 875 | Closure::wrap(Box::new(move |event: web_sys::UsbConnectionEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Usb` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:884:41 [INFO] [stdout] | [INFO] [stdout] 884 | fn browser_usb() -> Result { [INFO] [stdout] | ^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:920:70 [INFO] [stdout] | [INFO] [stdout] 920 | .map(|dev| UsbDevice::from(dev.unchecked_into::())) [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbDevice` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:966:32 [INFO] [stdout] | [INFO] [stdout] 966 | fn dev(&self) -> &web_sys::UsbDevice { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UsbTransferStatus` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:1025:38 [INFO] [stdout] | [INFO] [stdout] 1025 | fn check_status(status: web_sys::UsbTransferStatus) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [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:890:89 [INFO] [stdout] | [INFO] [stdout] 890 | 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/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/arith.rs:205:4 [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:898:89 [INFO] [stdout] | [INFO] [stdout] 898 | 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/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/arith.rs:205:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webusb-web` (lib) due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "9d6994533d935e690a8e1df2c27577f348ed4c715b054d1f101aa4694320e857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6994533d935e690a8e1df2c27577f348ed4c715b054d1f101aa4694320e857", kill_on_drop: false }` [INFO] [stdout] 9d6994533d935e690a8e1df2c27577f348ed4c715b054d1f101aa4694320e857