[INFO] cloning repository https://github.com/poljar/shm-bridge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/poljar/shm-bridge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpoljar%2Fshm-bridge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpoljar%2Fshm-bridge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3b40658d4d4456e2eff239db10f212073de5d6c [INFO] checking poljar/shm-bridge against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpoljar%2Fshm-bridge" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/poljar/shm-bridge [INFO] finished tweaking git repo https://github.com/poljar/shm-bridge [INFO] tweaked toml for git repo https://github.com/poljar/shm-bridge written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/poljar/shm-bridge on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/poljar/shm-bridge 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.18 [INFO] [stderr] Downloaded anstyle v1.0.5 [INFO] [stderr] Downloaded anyhow v1.0.79 [INFO] [stderr] Downloaded clap_builder v4.4.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39045cef58aae1bc38b58de062a19d5bf038a497b5e22a330678bb065ee6c6ce [INFO] running `Command { std: "docker" "start" "-a" "39045cef58aae1bc38b58de062a19d5bf038a497b5e22a330678bb065ee6c6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39045cef58aae1bc38b58de062a19d5bf038a497b5e22a330678bb065ee6c6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39045cef58aae1bc38b58de062a19d5bf038a497b5e22a330678bb065ee6c6ce", kill_on_drop: false }` [INFO] [stdout] 39045cef58aae1bc38b58de062a19d5bf038a497b5e22a330678bb065ee6c6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa4edef954832a5f97f58f5ef433ce08a8e35da84baadbe6608210b450f1236f [INFO] running `Command { std: "docker" "start" "-a" "fa4edef954832a5f97f58f5ef433ce08a8e35da84baadbe6608210b450f1236f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking windows-targets v0.52.0 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking shm-bridge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | os::windows::fs::OpenOptionsExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/file_mapping.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs::File, os::windows::prelude::AsRawHandle}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | os::windows::fs::OpenOptionsExt, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/file_mapping.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{fs::File, os::windows::prelude::AsRawHandle}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope [INFO] [stdout] --> src/file_mapping.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] 72 + let handle = HANDLE(file.as_raw_fd() as _); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope [INFO] [stdout] --> src/file_mapping.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 72 - let handle = HANDLE(file.as_raw_handle() as _); [INFO] [stdout] 72 + let handle = HANDLE(file.as_raw_fd() as _); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attributes` found for mutable reference `&mut OpenOptions` in the current scope [INFO] [stdout] --> src/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 92 | let file = File::options() [INFO] [stdout] | ________________- [INFO] [stdout] 93 | | .read(true) [INFO] [stdout] 94 | | .write(true) [INFO] [stdout] 95 | | .attributes(FILE_ATTRIBUTE_TEMPORARY.0) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `&mut OpenOptions` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `attributes` found for mutable reference `&mut OpenOptions` in the current scope [INFO] [stdout] --> src/main.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 92 | let file = File::options() [INFO] [stdout] | ________________- [INFO] [stdout] 93 | | .read(true) [INFO] [stdout] 94 | | .write(true) [INFO] [stdout] 95 | | .attributes(FILE_ATTRIBUTE_TEMPORARY.0) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `&mut OpenOptions` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shm-bridge` (bin "shm-bridge" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shm-bridge` (bin "shm-bridge") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fa4edef954832a5f97f58f5ef433ce08a8e35da84baadbe6608210b450f1236f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa4edef954832a5f97f58f5ef433ce08a8e35da84baadbe6608210b450f1236f", kill_on_drop: false }` [INFO] [stdout] fa4edef954832a5f97f58f5ef433ce08a8e35da84baadbe6608210b450f1236f