[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 try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksonbrim%2Fwindows-rust-wasapi-example" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jacksonbrim/windows-rust-wasapi-example on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-result v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 705d1f4f8dae680238e73ce31c9f6c3d60d3f453a8de85b93014fdc1b67a984a [INFO] running `Command { std: "docker" "start" "-a" "705d1f4f8dae680238e73ce31c9f6c3d60d3f453a8de85b93014fdc1b67a984a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "705d1f4f8dae680238e73ce31c9f6c3d60d3f453a8de85b93014fdc1b67a984a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705d1f4f8dae680238e73ce31c9f6c3d60d3f453a8de85b93014fdc1b67a984a", kill_on_drop: false }` [INFO] [stdout] 705d1f4f8dae680238e73ce31c9f6c3d60d3f453a8de85b93014fdc1b67a984a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2762c58e97a8740f69e7101d750916975bc2bebd0298725e36756c1f8b4c4251 [INFO] running `Command { std: "docker" "start" "-a" "2762c58e97a8740f69e7101d750916975bc2bebd0298725e36756c1f8b4c4251", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [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-interface v0.56.0 [INFO] [stderr] Compiling windows-implement 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] 17 | #[cfg(feature = "Win32_Media_Multimedia")] [INFO] [stdout] | ---------------------------------- the item is gated behind the `Win32_Media_Multimedia` feature [INFO] [stdout] 18 | pub mod Multimedia; [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] 17 | #[cfg(feature = "Win32_Media_Multimedia")] [INFO] [stdout] | ---------------------------------- the item is gated behind the `Win32_Media_Multimedia` feature [INFO] [stdout] 18 | pub mod 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `windows-wasapi` (bin "windows-wasapi" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2762c58e97a8740f69e7101d750916975bc2bebd0298725e36756c1f8b4c4251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2762c58e97a8740f69e7101d750916975bc2bebd0298725e36756c1f8b4c4251", kill_on_drop: false }` [INFO] [stdout] 2762c58e97a8740f69e7101d750916975bc2bebd0298725e36756c1f8b4c4251