[INFO] fetching crate web-codecs 0.3.9... [INFO] testing web-codecs-0.3.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate web-codecs 0.3.9 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate web-codecs 0.3.9 [INFO] finished tweaking crates.io crate web-codecs 0.3.9 [INFO] tweaked toml for crates.io crate web-codecs 0.3.9 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate web-codecs 0.3.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate web-codecs 0.3.9 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21bfb2102a6ac51d47095142321a50407e1b9202aee63e988aea23c1c8271a86 [INFO] running `Command { std: "docker" "start" "-a" "21bfb2102a6ac51d47095142321a50407e1b9202aee63e988aea23c1c8271a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21bfb2102a6ac51d47095142321a50407e1b9202aee63e988aea23c1c8271a86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21bfb2102a6ac51d47095142321a50407e1b9202aee63e988aea23c1c8271a86", kill_on_drop: false }` [INFO] [stdout] 21bfb2102a6ac51d47095142321a50407e1b9202aee63e988aea23c1c8271a86 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32633bef3cd04d18fde838222d32b0444b95ebaf9f17898a64c3447349917f8 [INFO] running `Command { std: "docker" "start" "-a" "c32633bef3cd04d18fde838222d32b0444b95ebaf9f17898a64c3447349917f8", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.114 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling wasm-bindgen v0.2.114 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.114 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling derive_more v2.1.1 [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 web-codecs v0.3.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `web_sys::AudioSampleFormat` [INFO] [stdout] --> src/audio/data.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use web_sys::AudioSampleFormat as AudioDataFormat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AudioSampleFormat` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDataInit` in `web_sys` [INFO] [stdout] --> src/audio/data.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | let init = web_sys::AudioDataInit::new( [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `AudioDataInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDataCopyToOptions` in `web_sys` [INFO] [stdout] --> src/audio/data.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let options = web_sys::AudioDataCopyToOptions::new(channel as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ could not find `AudioDataCopyToOptions` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDecoderInit` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 60 | let init = web_sys::AudioDecoderInit::new(on_error.as_ref().unchecked_ref(), on_frame.as_ref().unchecked_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `AudioDecoderInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | true => web_sys::EncodedAudioChunkType::Key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | false => web_sys::EncodedAudioChunkType::Delta, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedAudioChunkInit` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | let chunk = web_sys::EncodedAudioChunkInit::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedAudioChunkInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedAudioChunk` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let chunk = web_sys::EncodedAudioChunk::new(&chunk)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `EncodedAudioChunk` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioEncoderInit` in `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | let init = web_sys::AudioEncoderInit::new(on_error.as_ref().unchecked_ref(), on_frame.as_ref().unchecked_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `AudioEncoderInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] --> src/frame.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | keyframe: chunk.type_() == web_sys::EncodedVideoChunkType::Key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] --> src/frame.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | keyframe: chunk.type_() == web_sys::EncodedAudioChunkType::Key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedAudioChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoColorSpaceInit` in `web_sys` [INFO] [stdout] --> src/video/color.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | inner: web_sys::VideoColorSpaceInit::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `VideoColorSpaceInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoDecoderInit` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let init = web_sys::VideoDecoderInit::new(on_error.as_ref().unchecked_ref(), on_frame.as_ref().unchecked_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `VideoDecoderInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | true => web_sys::HardwareAcceleration::PreferHardware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | false => web_sys::HardwareAcceleration::PreferSoftware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | Some(web_sys::HardwareAcceleration::PreferHardware) => Some(true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | Some(web_sys::HardwareAcceleration::PreferSoftware) => Some(false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | true => web_sys::EncodedVideoChunkType::Key, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | false => web_sys::EncodedVideoChunkType::Delta, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedVideoChunkType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedVideoChunkInit` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:199:24 [INFO] [stdout] | [INFO] [stdout] 199 | let chunk = web_sys::EncodedVideoChunkInit::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `EncodedVideoChunkInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `EncodedVideoChunk` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let chunk = web_sys::EncodedVideoChunk::new(&chunk)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `EncodedVideoChunk` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | true => web_sys::HardwareAcceleration::PreferHardware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `HardwareAcceleration` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:104:23 [INFO] [stdout] | [INFO] [stdout] 104 | false => web_sys::HardwareAcceleration::PreferSoftware, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `HardwareAcceleration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `LatencyMode` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | true => web_sys::LatencyMode::Realtime, [INFO] [stdout] | ^^^^^^^^^^^ could not find `LatencyMode` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `LatencyMode` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | false => web_sys::LatencyMode::Quality, [INFO] [stdout] | ^^^^^^^^^^^ could not find `LatencyMode` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AlphaOption` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | true => web_sys::AlphaOption::Keep, [INFO] [stdout] | ^^^^^^^^^^^ could not find `AlphaOption` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AlphaOption` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | false => web_sys::AlphaOption::Discard, [INFO] [stdout] | ^^^^^^^^^^^ could not find `AlphaOption` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoEncoderInit` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:206:23 [INFO] [stdout] | [INFO] [stdout] 206 | let init = web_sys::VideoEncoderInit::new(on_error.as_ref().unchecked_ref(), on_frame.as_ref().unchecked_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `VideoEncoderInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoEncoderEncodeOptions` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:220:20 [INFO] [stdout] | [INFO] [stdout] 220 | let o = web_sys::VideoEncoderEncodeOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `VideoEncoderEncodeOptions` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AudioData(Option); [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - pub struct AudioData(Option); [INFO] [stdout] 11 + pub struct AudioData(Option); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioData` in `web_sys` [INFO] [stdout] --> src/audio/data.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | let audio_data = web_sys::AudioData::new(&init)?; [INFO] [stdout] | ^^^^^^^^^ could not find `AudioData` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - let audio_data = web_sys::AudioData::new(&init)?; [INFO] [stdout] 61 + let audio_data = AudioData::new(&init)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn leak(mut self) -> web_sys::AudioData { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 85 - pub fn leak(mut self) -> web_sys::AudioData { [INFO] [stdout] 85 + pub fn leak(mut self) -> AudioData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | type Target = web_sys::AudioData; [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 97 - type Target = web_sys::AudioData; [INFO] [stdout] 97 + type Target = AudioData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | impl From for AudioData { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - impl From for AudioData { [INFO] [stdout] 119 + impl From for AudioData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | fn from(this: web_sys::AudioData) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - fn from(this: web_sys::AudioData) -> Self { [INFO] [stdout] 120 + fn from(this: AudioData) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDataCopyToOptions` in crate `web_sys` [INFO] [stdout] --> src/audio/data.rs:193:52 [INFO] [stdout] | [INFO] [stdout] 193 | fn into_web_sys(self, channel: usize) -> web_sys::AudioDataCopyToOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDecoder` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | wasm_bindgen_futures::JsFuture::from(web_sys::AudioDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `AudioDecoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - wasm_bindgen_futures::JsFuture::from(web_sys::AudioDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] 37 + wasm_bindgen_futures::JsFuture::from(AudioDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoderSupport` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | let support: web_sys::AudioDecoderSupport = res.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioData` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let frame: web_sys::AudioData = e.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioData; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - let frame: web_sys::AudioData = e.unchecked_into(); [INFO] [stdout] 52 + let frame: AudioData = e.unchecked_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoder` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | let inner: web_sys::AudioDecoder = web_sys::AudioDecoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - let inner: web_sys::AudioDecoder = web_sys::AudioDecoder::new(&init).unwrap(); [INFO] [stdout] 61 + let inner: AudioDecoder = web_sys::AudioDecoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDecoder` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | let inner: web_sys::AudioDecoder = web_sys::AudioDecoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `AudioDecoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - let inner: web_sys::AudioDecoder = web_sys::AudioDecoder::new(&init).unwrap(); [INFO] [stdout] 61 + let inner: web_sys::AudioDecoder = AudioDecoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:79:45 [INFO] [stdout] | [INFO] [stdout] 79 | impl From<&AudioDecoderConfig> for web_sys::AudioDecoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - impl From<&AudioDecoderConfig> for web_sys::AudioDecoderConfig { [INFO] [stdout] 79 + impl From<&AudioDecoderConfig> for AudioDecoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioDecoderConfig` in `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let config = web_sys::AudioDecoderConfig::new(&this.codec, this.channel_count, this.sample_rate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `AudioDecoderConfig` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - let config = web_sys::AudioDecoderConfig::new(&this.codec, this.channel_count, this.sample_rate); [INFO] [stdout] 81 + let config = AudioDecoderConfig::new(&this.codec, this.channel_count, this.sample_rate); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | impl From for AudioDecoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 91 - impl From for AudioDecoderConfig { [INFO] [stdout] 91 + impl From for AudioDecoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | fn from(this: web_sys::AudioDecoderConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - fn from(this: web_sys::AudioDecoderConfig) -> Self { [INFO] [stdout] 92 + fn from(this: AudioDecoderConfig) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoder` in crate `web_sys` [INFO] [stdout] --> src/audio/decoder.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | inner: web_sys::AudioDecoder, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - inner: web_sys::AudioDecoder, [INFO] [stdout] 118 + inner: AudioDecoder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioEncoder` in `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:31:50 [INFO] [stdout] | [INFO] [stdout] 31 | wasm_bindgen_futures::JsFuture::from(web_sys::AudioEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `AudioEncoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - wasm_bindgen_futures::JsFuture::from(web_sys::AudioEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] 31 + wasm_bindgen_futures::JsFuture::from(AudioEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioEncoderSupport` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let support: web_sys::AudioEncoderSupport = res.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioEncoderConfig` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | impl From<&AudioEncoderConfig> for web_sys::AudioEncoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - impl From<&AudioEncoderConfig> for web_sys::AudioEncoderConfig { [INFO] [stdout] 48 + impl From<&AudioEncoderConfig> for AudioEncoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioEncoderConfig` in `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let config = web_sys::AudioEncoderConfig::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `AudioEncoderConfig` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 50 - let config = web_sys::AudioEncoderConfig::new( [INFO] [stdout] 50 + let config = AudioEncoderConfig::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioEncoder` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | inner: web_sys::AudioEncoder, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - inner: web_sys::AudioEncoder, [INFO] [stdout] 65 + inner: AudioEncoder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedAudioChunk` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | let frame: web_sys::EncodedAudioChunk = frame.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let config: web_sys::AudioDecoderConfig = config.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - let config: web_sys::AudioDecoderConfig = config.unchecked_into(); [INFO] [stdout] 96 + let config: AudioDecoderConfig = config.unchecked_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `AudioEncoder` in crate `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | let inner: web_sys::AudioEncoder = web_sys::AudioEncoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 109 - let inner: web_sys::AudioEncoder = web_sys::AudioEncoder::new(&init).unwrap(); [INFO] [stdout] 109 + let inner: AudioEncoder = web_sys::AudioEncoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `AudioEncoder` in `web_sys` [INFO] [stdout] --> src/audio/encoder.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | let inner: web_sys::AudioEncoder = web_sys::AudioEncoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `AudioEncoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::AudioEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `AudioEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 109 - let inner: web_sys::AudioEncoder = web_sys::AudioEncoder::new(&init).unwrap(); [INFO] [stdout] 109 + let inner: web_sys::AudioEncoder = AudioEncoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedVideoChunk` in crate `web_sys` [INFO] [stdout] --> src/frame.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl From for EncodedFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedVideoChunk` in crate `web_sys` [INFO] [stdout] --> src/frame.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | fn from(chunk: web_sys::EncodedVideoChunk) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedAudioChunk` in crate `web_sys` [INFO] [stdout] --> src/frame.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | impl From for EncodedFrame { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedAudioChunk` in crate `web_sys` [INFO] [stdout] --> src/frame.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | fn from(chunk: web_sys::EncodedAudioChunk) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoColorSpaceInit` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | inner: web_sys::VideoColorSpaceInit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoColorSpaceInit` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | impl From<&VideoColorSpaceConfig> for web_sys::VideoColorSpaceInit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoColorSpaceInit` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | impl From for VideoColorSpaceConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoColorSpaceInit` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | fn from(inner: web_sys::VideoColorSpaceInit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoMatrixCoefficients` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:52:45 [INFO] [stdout] | [INFO] [stdout] 52 | pub type VideoMatrixCoefficients = web_sys::VideoMatrixCoefficients; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoMatrixCoefficients; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoMatrixCoefficients`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 52 - pub type VideoMatrixCoefficients = web_sys::VideoMatrixCoefficients; [INFO] [stdout] 52 + pub type VideoMatrixCoefficients = VideoMatrixCoefficients; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoColorPrimaries` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | pub type VideoColorPrimaries = web_sys::VideoColorPrimaries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoColorPrimaries; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoColorPrimaries`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - pub type VideoColorPrimaries = web_sys::VideoColorPrimaries; [INFO] [stdout] 53 + pub type VideoColorPrimaries = VideoColorPrimaries; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoTransferCharacteristics` in crate `web_sys` [INFO] [stdout] --> src/video/color.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | pub type VideoTransferCharacteristics = web_sys::VideoTransferCharacteristics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoTransferCharacteristics; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoTransferCharacteristics`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 54 - pub type VideoTransferCharacteristics = web_sys::VideoTransferCharacteristics; [INFO] [stdout] 54 + pub type VideoTransferCharacteristics = VideoTransferCharacteristics; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoDecoder` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | wasm_bindgen_futures::JsFuture::from(web_sys::VideoDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `VideoDecoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - wasm_bindgen_futures::JsFuture::from(web_sys::VideoDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] 57 + wasm_bindgen_futures::JsFuture::from(VideoDecoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoderSupport` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let support: web_sys::VideoDecoderSupport = res.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoFrame` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | let frame: web_sys::VideoFrame = e.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoFrame; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoFrame`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let frame: web_sys::VideoFrame = e.unchecked_into(); [INFO] [stdout] 72 + let frame: VideoFrame = e.unchecked_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoder` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let inner: web_sys::VideoDecoder = web_sys::VideoDecoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - let inner: web_sys::VideoDecoder = web_sys::VideoDecoder::new(&init).unwrap(); [INFO] [stdout] 81 + let inner: VideoDecoder = web_sys::VideoDecoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoDecoder` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | let inner: web_sys::VideoDecoder = web_sys::VideoDecoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `VideoDecoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - let inner: web_sys::VideoDecoder = web_sys::VideoDecoder::new(&init).unwrap(); [INFO] [stdout] 81 + let inner: web_sys::VideoDecoder = VideoDecoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | impl From<&VideoDecoderConfig> for web_sys::VideoDecoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - impl From<&VideoDecoderConfig> for web_sys::VideoDecoderConfig { [INFO] [stdout] 99 + impl From<&VideoDecoderConfig> for VideoDecoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoDecoderConfig` in `web_sys` [INFO] [stdout] --> src/video/decoder.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | let config = web_sys::VideoDecoderConfig::new(&this.codec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `VideoDecoderConfig` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - let config = web_sys::VideoDecoderConfig::new(&this.codec); [INFO] [stdout] 101 + let config = VideoDecoderConfig::new(&this.codec); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | impl From for VideoDecoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 136 - impl From for VideoDecoderConfig { [INFO] [stdout] 136 + impl From for VideoDecoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | fn from(this: web_sys::VideoDecoderConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 137 - fn from(this: web_sys::VideoDecoderConfig) -> Self { [INFO] [stdout] 137 + fn from(this: VideoDecoderConfig) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoder` in crate `web_sys` [INFO] [stdout] --> src/video/decoder.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | inner: web_sys::VideoDecoder, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - inner: web_sys::VideoDecoder, [INFO] [stdout] 183 + inner: VideoDecoder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoEncoder` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:61:50 [INFO] [stdout] | [INFO] [stdout] 61 | wasm_bindgen_futures::JsFuture::from(web_sys::VideoEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `VideoEncoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - wasm_bindgen_futures::JsFuture::from(web_sys::VideoEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] 61 + wasm_bindgen_futures::JsFuture::from(VideoEncoder::is_config_supported(&self.into())).await?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoEncoderSupport` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let support: web_sys::VideoEncoderSupport = res.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoEncoderConfig` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | impl From<&VideoEncoderConfig> for web_sys::VideoEncoderConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 92 - impl From<&VideoEncoderConfig> for web_sys::VideoEncoderConfig { [INFO] [stdout] 92 + impl From<&VideoEncoderConfig> for VideoEncoderConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoEncoderConfig` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let config = web_sys::VideoEncoderConfig::new(&this.codec, this.resolution.height, this.resolution.width); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `VideoEncoderConfig` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 94 - let config = web_sys::VideoEncoderConfig::new(&this.codec, this.resolution.height, this.resolution.width); [INFO] [stdout] 94 + let config = VideoEncoderConfig::new(&this.codec, this.resolution.height, this.resolution.width); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoEncoder` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | inner: web_sys::VideoEncoder, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - inner: web_sys::VideoEncoder, [INFO] [stdout] 151 + inner: VideoEncoder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `EncodedVideoChunk` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | let frame: web_sys::EncodedVideoChunk = frame.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoDecoderConfig` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | let config: web_sys::VideoDecoderConfig = config.unchecked_into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoDecoderConfig; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoDecoderConfig`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - let config: web_sys::VideoDecoderConfig = config.unchecked_into(); [INFO] [stdout] 187 + let config: VideoDecoderConfig = config.unchecked_into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoEncoder` in crate `web_sys` [INFO] [stdout] --> src/video/encoder.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | let inner: web_sys::VideoEncoder = web_sys::VideoEncoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 207 - let inner: web_sys::VideoEncoder = web_sys::VideoEncoder::new(&init).unwrap(); [INFO] [stdout] 207 + let inner: VideoEncoder = web_sys::VideoEncoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `VideoEncoder` in `web_sys` [INFO] [stdout] --> src/video/encoder.rs:207:47 [INFO] [stdout] | [INFO] [stdout] 207 | let inner: web_sys::VideoEncoder = web_sys::VideoEncoder::new(&init).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `VideoEncoder` in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoEncoder; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoEncoder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 207 - let inner: web_sys::VideoEncoder = web_sys::VideoEncoder::new(&init).unwrap(); [INFO] [stdout] 207 + let inner: web_sys::VideoEncoder = VideoEncoder::new(&init).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoFrame` in crate `web_sys` [INFO] [stdout] --> src/video/frame.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct VideoFrame(web_sys::VideoFrame); [INFO] [stdout] | ^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoFrame; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoFrame`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - pub struct VideoFrame(web_sys::VideoFrame); [INFO] [stdout] 13 + pub struct VideoFrame(VideoFrame); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoFrame` in crate `web_sys` [INFO] [stdout] --> src/video/frame.rs:33:36 [INFO] [stdout] | [INFO] [stdout] 33 | impl From for web_sys::VideoFrame { [INFO] [stdout] | ^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoFrame; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoFrame`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - impl From for web_sys::VideoFrame { [INFO] [stdout] 33 + impl From for VideoFrame { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `VideoFrame` in crate `web_sys` [INFO] [stdout] --> src/video/frame.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | type Target = web_sys::VideoFrame; [INFO] [stdout] | ^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::VideoFrame; [INFO] [stdout] | [INFO] [stdout] help: if you import `VideoFrame`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 46 - type Target = web_sys::VideoFrame; [INFO] [stdout] 46 + type Target = VideoFrame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web-codecs` (lib) due to 88 previous errors [INFO] running `Command { std: "docker" "inspect" "c32633bef3cd04d18fde838222d32b0444b95ebaf9f17898a64c3447349917f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32633bef3cd04d18fde838222d32b0444b95ebaf9f17898a64c3447349917f8", kill_on_drop: false }` [INFO] [stdout] c32633bef3cd04d18fde838222d32b0444b95ebaf9f17898a64c3447349917f8