[INFO] cloning repository https://github.com/zX3no/wasapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zX3no/wasapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fwasapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fwasapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c4acd77899f6b215d11b8729b59746c23fc969c [INFO] building zX3no/wasapi against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FzX3no%2Fwasapi" "/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/zX3no/wasapi on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zX3no/wasapi [INFO] finished tweaking git repo https://github.com/zX3no/wasapi [INFO] tweaked toml for git repo https://github.com/zX3no/wasapi written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zX3no/wasapi 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 440beff19414d2497af610fd3fc6f9288995171eddfd04a7ffc13b00a98f0d9b [INFO] running `Command { std: "docker" "start" "-a" "440beff19414d2497af610fd3fc6f9288995171eddfd04a7ffc13b00a98f0d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "440beff19414d2497af610fd3fc6f9288995171eddfd04a7ffc13b00a98f0d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440beff19414d2497af610fd3fc6f9288995171eddfd04a7ffc13b00a98f0d9b", kill_on_drop: false }` [INFO] [stdout] 440beff19414d2497af610fd3fc6f9288995171eddfd04a7ffc13b00a98f0d9b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea6a4ca132afe1850d85cd61f654fedb56e2df41901fb1eb32675a7f9b8360e4 [INFO] running `Command { std: "docker" "start" "-a" "ea6a4ca132afe1850d85cd61f654fedb56e2df41901fb1eb32675a7f9b8360e4", kill_on_drop: false }` [INFO] [stderr] Compiling wasapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: extern block cannot be declared unsafe [INFO] [stdout] --> src/other.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | unsafe extern "system" { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123743 for more information [INFO] [stdout] = help: add `#![feature(unsafe_extern_blocks)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-08-01; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/std/src/os/mod.rs:100:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/lib.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | OsString::from_wide(slice).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/70591dc15db32941fe3595fdbf98e58d6975f95e/library/std/src/ffi/os_str.rs:138:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 91 | OsString::from_iter(slice).to_string_lossy().to_string() [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasapi` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ea6a4ca132afe1850d85cd61f654fedb56e2df41901fb1eb32675a7f9b8360e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea6a4ca132afe1850d85cd61f654fedb56e2df41901fb1eb32675a7f9b8360e4", kill_on_drop: false }` [INFO] [stdout] ea6a4ca132afe1850d85cd61f654fedb56e2df41901fb1eb32675a7f9b8360e4