[INFO] cloning repository https://github.com/jacksonbrim/windows-rust-wasapi-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacksonbrim/windows-rust-wasapi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Fwindows-rust-wasapi-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Fwindows-rust-wasapi-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3267bfcf7b521e2ea75312e0010825cb75b8a510 [INFO] checking jacksonbrim/windows-rust-wasapi-example against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Fwindows-rust-wasapi-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacksonbrim/windows-rust-wasapi-example on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacksonbrim/windows-rust-wasapi-example [INFO] finished tweaking git repo https://github.com/jacksonbrim/windows-rust-wasapi-example [INFO] tweaked toml for git repo https://github.com/jacksonbrim/windows-rust-wasapi-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jacksonbrim/windows-rust-wasapi-example 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4f196e7c2066b9caf73541b9e2d3ebef8cbc8d7b3792b0ddadac11f22d1fce [INFO] running `Command { std: "docker" "start" "-a" "eb4f196e7c2066b9caf73541b9e2d3ebef8cbc8d7b3792b0ddadac11f22d1fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4f196e7c2066b9caf73541b9e2d3ebef8cbc8d7b3792b0ddadac11f22d1fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4f196e7c2066b9caf73541b9e2d3ebef8cbc8d7b3792b0ddadac11f22d1fce", kill_on_drop: false }` [INFO] [stdout] eb4f196e7c2066b9caf73541b9e2d3ebef8cbc8d7b3792b0ddadac11f22d1fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33e13650ee06f474dcb5d5e7d16e45e606da9ccb0d7949463d7a4f6dc664405e [INFO] running `Command { std: "docker" "start" "-a" "33e13650ee06f474dcb5d5e7d16e45e606da9ccb0d7949463d7a4f6dc664405e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Checking windows-targets v0.52.5 [INFO] [stderr] Checking windows-result v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Checking windows-core v0.56.0 [INFO] [stderr] Checking windows v0.56.0 [INFO] [stderr] Checking windows-wasapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `windows::Win32::Media::Multimedia` [INFO] [stdout] --> src/tone.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Media::Multimedia::KSDATAFORMAT_SUBTYPE_IEEE_FLOAT; [INFO] [stdout] | ^^^^^^^^^^ could not find `Multimedia` in `Media` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Media/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod Multimedia; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `Win32_Media_Multimedia` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Media/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "Win32_Media_Multimedia")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tone.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as u16); [INFO] [stdout] 86 + let sample = (self.next_sample() * self.amplitude * i16::MAX as f32) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tone.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as i16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as i16); [INFO] [stdout] 95 + let sample = (self.next_sample() * self.amplitude * i16::MAX as f32) as i16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::Win32::Media::Multimedia` [INFO] [stdout] --> src/tone.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::Media::Multimedia::KSDATAFORMAT_SUBTYPE_IEEE_FLOAT; [INFO] [stdout] | ^^^^^^^^^^ could not find `Multimedia` in `Media` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Media/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub mod Multimedia; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `Win32_Media_Multimedia` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.56.0/src/Windows/Win32/Media/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[cfg(feature = "Win32_Media_Multimedia")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tone.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as u16); [INFO] [stdout] 86 + let sample = (self.next_sample() * self.amplitude * i16::MAX as f32) as u16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tone.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as i16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let sample = ((self.next_sample() * self.amplitude * i16::MAX as f32) as i16); [INFO] [stdout] 95 + let sample = (self.next_sample() * self.amplitude * i16::MAX as f32) as i16; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-wasapi` (bin "windows-wasapi" test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-wasapi` (bin "windows-wasapi") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "33e13650ee06f474dcb5d5e7d16e45e606da9ccb0d7949463d7a4f6dc664405e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33e13650ee06f474dcb5d5e7d16e45e606da9ccb0d7949463d7a4f6dc664405e", kill_on_drop: false }` [INFO] [stdout] 33e13650ee06f474dcb5d5e7d16e45e606da9ccb0d7949463d7a4f6dc664405e