[INFO] cloning repository https://github.com/surban/webusb-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/surban/webusb-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurban%2Fwebusb-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurban%2Fwebusb-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4c638271e3bf3785c72299eefab8616e1af824b [INFO] checking surban/webusb-web/a4c638271e3bf3785c72299eefab8616e1af824b against master#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsurban%2Fwebusb-web" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/surban/webusb-web on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/surban/webusb-web [INFO] finished tweaking git repo https://github.com/surban/webusb-web [INFO] tweaked toml for git repo https://github.com/surban/webusb-web written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/surban/webusb-web 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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.50 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bcae2f0e7c5eb82df374bd23ee7be6d86d1abbc1face7edac076718d30d26b9 [INFO] running `Command { std: "docker" "start" "-a" "9bcae2f0e7c5eb82df374bd23ee7be6d86d1abbc1face7edac076718d30d26b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bcae2f0e7c5eb82df374bd23ee7be6d86d1abbc1face7edac076718d30d26b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcae2f0e7c5eb82df374bd23ee7be6d86d1abbc1face7edac076718d30d26b9", kill_on_drop: false }` [INFO] [stdout] 9bcae2f0e7c5eb82df374bd23ee7be6d86d1abbc1face7edac076718d30d26b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b9eefd85245c78fee70a86538b47d2bfc99b023041249549a8d9941155e4321 [INFO] running `Command { std: "docker" "start" "-a" "8b9eefd85245c78fee70a86538b47d2bfc99b023041249549a8d9941155e4321", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking webusb-web v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 302 | 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:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | 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:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `UsbEndpointType` in `web_sys` [INFO] [stdout] --> src/lib.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 302 | 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:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | 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:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | 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:470:22 [INFO] [stdout] | [INFO] [stdout] 470 | 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:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | 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:480:42 [INFO] [stdout] | [INFO] [stdout] 480 | 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:470:22 [INFO] [stdout] | [INFO] [stdout] 470 | 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:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | 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:481:43 [INFO] [stdout] | [INFO] [stdout] 481 | 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 `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:480:42 [INFO] [stdout] | [INFO] [stdout] 480 | 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 `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:558:31 [INFO] [stdout] | [INFO] [stdout] 558 | 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 `UsbDirection` in `web_sys` [INFO] [stdout] --> src/lib.rs:481:43 [INFO] [stdout] | [INFO] [stdout] 481 | 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:644:36 [INFO] [stdout] | [INFO] [stdout] 644 | 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 `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:558:31 [INFO] [stdout] | [INFO] [stdout] 558 | 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 `UsbDeviceRequestOptions` in `web_sys` [INFO] [stdout] --> src/lib.rs:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | 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 `UsbDeviceFilter` in `web_sys` [INFO] [stdout] --> src/lib.rs:644:36 [INFO] [stdout] | [INFO] [stdout] 644 | 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:647:18 [INFO] [stdout] | [INFO] [stdout] 647 | 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:905:22 [INFO] [stdout] | [INFO] [stdout] 905 | 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:906:22 [INFO] [stdout] | [INFO] [stdout] 906 | 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:907:22 [INFO] [stdout] | [INFO] [stdout] 907 | 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:916:30 [INFO] [stdout] | [INFO] [stdout] 916 | 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 `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:905:22 [INFO] [stdout] | [INFO] [stdout] 905 | 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:906:22 [INFO] [stdout] | [INFO] [stdout] 906 | 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 `UsbControlTransferParameters` in `web_sys` [INFO] [stdout] --> src/lib.rs:928:30 [INFO] [stdout] | [INFO] [stdout] 928 | 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 `UsbTransferStatus` in `web_sys` [INFO] [stdout] --> src/lib.rs:907:22 [INFO] [stdout] | [INFO] [stdout] 907 | 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:916:30 [INFO] [stdout] | [INFO] [stdout] 916 | 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:928:30 [INFO] [stdout] | [INFO] [stdout] 928 | 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:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:147:71 [INFO] [stdout] | [INFO] [stdout] 147 | 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:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | 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:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | 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:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | 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:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | 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:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | 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:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | 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:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | 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:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | 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:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | 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:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | 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:402:68 [INFO] [stdout] | [INFO] [stdout] 402 | 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:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | 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:453:30 [INFO] [stdout] | [INFO] [stdout] 453 | 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 `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | 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:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | 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:477:38 [INFO] [stdout] | [INFO] [stdout] 477 | 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:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | 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:594:38 [INFO] [stdout] | [INFO] [stdout] 594 | 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:616:40 [INFO] [stdout] | [INFO] [stdout] 616 | 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:640:50 [INFO] [stdout] | [INFO] [stdout] 640 | 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:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | 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:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | 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:749:58 [INFO] [stdout] | [INFO] [stdout] 749 | 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:757:58 [INFO] [stdout] | [INFO] [stdout] 757 | 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:766:41 [INFO] [stdout] | [INFO] [stdout] 766 | 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:802:64 [INFO] [stdout] | [INFO] [stdout] 802 | .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:812:36 [INFO] [stdout] | [INFO] [stdout] 812 | 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:844:32 [INFO] [stdout] | [INFO] [stdout] 844 | 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:903:38 [INFO] [stdout] | [INFO] [stdout] 903 | 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:918:43 [INFO] [stdout] | [INFO] [stdout] 918 | 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:931:43 [INFO] [stdout] | [INFO] [stdout] 931 | 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:944:43 [INFO] [stdout] | [INFO] [stdout] 944 | 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:948:53 [INFO] [stdout] | [INFO] [stdout] 948 | 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:978:43 [INFO] [stdout] | [INFO] [stdout] 978 | 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:982:53 [INFO] [stdout] | [INFO] [stdout] 982 | 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:996:43 [INFO] [stdout] | [INFO] [stdout] 996 | 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:1010:43 [INFO] [stdout] | [INFO] [stdout] 1010 | let res = res.dyn_into::().unwrap(); [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:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | 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:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | 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:147:71 [INFO] [stdout] | [INFO] [stdout] 147 | 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:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | 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:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | 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:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | 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:229:21 [INFO] [stdout] | [INFO] [stdout] 229 | 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:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | 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:234:65 [INFO] [stdout] | [INFO] [stdout] 234 | 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:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | 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:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | 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:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | 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:313:22 [INFO] [stdout] | [INFO] [stdout] 313 | 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:402:68 [INFO] [stdout] | [INFO] [stdout] 402 | 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:452:20 [INFO] [stdout] | [INFO] [stdout] 452 | 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:453:30 [INFO] [stdout] | [INFO] [stdout] 453 | 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 `UsbDirection` in crate `web_sys` [INFO] [stdout] --> src/lib.rs:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | 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:468:29 [INFO] [stdout] | [INFO] [stdout] 468 | 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:477:38 [INFO] [stdout] | [INFO] [stdout] 477 | 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:556:42 [INFO] [stdout] | [INFO] [stdout] 556 | 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:594:38 [INFO] [stdout] | [INFO] [stdout] 594 | 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:616:40 [INFO] [stdout] | [INFO] [stdout] 616 | 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:640:50 [INFO] [stdout] | [INFO] [stdout] 640 | 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:677:44 [INFO] [stdout] | [INFO] [stdout] 677 | 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:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | 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:749:58 [INFO] [stdout] | [INFO] [stdout] 749 | 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:757:58 [INFO] [stdout] | [INFO] [stdout] 757 | 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:766:41 [INFO] [stdout] | [INFO] [stdout] 766 | 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:802:64 [INFO] [stdout] | [INFO] [stdout] 802 | .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:812:36 [INFO] [stdout] | [INFO] [stdout] 812 | 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:844:32 [INFO] [stdout] | [INFO] [stdout] 844 | 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:903:38 [INFO] [stdout] | [INFO] [stdout] 903 | 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:918:43 [INFO] [stdout] | [INFO] [stdout] 918 | 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:931:43 [INFO] [stdout] | [INFO] [stdout] 931 | 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:944:43 [INFO] [stdout] | [INFO] [stdout] 944 | 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:948:53 [INFO] [stdout] | [INFO] [stdout] 948 | 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:978:43 [INFO] [stdout] | [INFO] [stdout] 978 | 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:982:53 [INFO] [stdout] | [INFO] [stdout] 982 | 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:996:43 [INFO] [stdout] | [INFO] [stdout] 996 | 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:1010:43 [INFO] [stdout] | [INFO] [stdout] 1010 | 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:394:42 [INFO] [stdout] | [INFO] [stdout] 394 | 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] 394 | self.device.configuration().map(|cfg: /* Type */| (&cfg).into()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:394:42 [INFO] [stdout] | [INFO] [stdout] 394 | 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] 394 | 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:772:89 [INFO] [stdout] | [INFO] [stdout] 772 | 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/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/core/src/ops/arith.rs:202: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:780:89 [INFO] [stdout] | [INFO] [stdout] 780 | 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/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/core/src/ops/arith.rs:202:5 [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:772:89 [INFO] [stdout] | [INFO] [stdout] 772 | 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/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/core/src/ops/arith.rs:202: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:780:89 [INFO] [stdout] | [INFO] [stdout] 780 | 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/cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9/library/core/src/ops/arith.rs:202: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] [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 59 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `webusb-web` (lib test) due to 59 previous errors [INFO] running `Command { std: "docker" "inspect" "8b9eefd85245c78fee70a86538b47d2bfc99b023041249549a8d9941155e4321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b9eefd85245c78fee70a86538b47d2bfc99b023041249549a8d9941155e4321", kill_on_drop: false }` [INFO] [stdout] 8b9eefd85245c78fee70a86538b47d2bfc99b023041249549a8d9941155e4321