[INFO] fetching crate mail_slot 0.1.3... [INFO] checking mail_slot-0.1.3 against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] extracting crate mail_slot 0.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate mail_slot 0.1.3 on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mail_slot 0.1.3 [INFO] finished tweaking crates.io crate mail_slot 0.1.3 [INFO] tweaked toml for crates.io crate mail_slot 0.1.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate mail_slot 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 31346ae6113f418ac8c3a9d67f58ff4a529491fcef8727db59e285658f2b1ed0 [INFO] running `Command { std: "docker" "start" "-a" "31346ae6113f418ac8c3a9d67f58ff4a529491fcef8727db59e285658f2b1ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31346ae6113f418ac8c3a9d67f58ff4a529491fcef8727db59e285658f2b1ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31346ae6113f418ac8c3a9d67f58ff4a529491fcef8727db59e285658f2b1ed0", kill_on_drop: false }` [INFO] [stdout] 31346ae6113f418ac8c3a9d67f58ff4a529491fcef8727db59e285658f2b1ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9d88250fb82818b6f8ac72ff1dba21cd329cd15204939fcc1f46baeee114c315 [INFO] running `Command { std: "docker" "start" "-a" "9d88250fb82818b6f8ac72ff1dba21cd329cd15204939fcc1f46baeee114c315", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking mail_slot v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{ffi::OsStr, iter::once, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/server.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::io::{AsRawHandle, FromRawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/server.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMailslotInfo` in this scope [INFO] [stdout] --> src/server.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | GetMailslotInfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILSLOT_NO_MESSAGE` in this scope [INFO] [stdout] --> src/server.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | } else if msg_size == MAILSLOT_NO_MESSAGE || msg_count == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMailslotW` in this scope [INFO] [stdout] --> src/server.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let slot = CreateMailslotW(name.as_ptr() as _, 0, MAILSLOT_WAIT_FOREVER, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILSLOT_WAIT_FOREVER` in this scope [INFO] [stdout] --> src/server.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | let slot = CreateMailslotW(name.as_ptr() as _, 0, MAILSLOT_WAIT_FOREVER, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/server.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | if slot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{ffi::OsStr, iter::once, os::windows::ffi::OsStrExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/server.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | os::windows::io::{AsRawHandle, FromRawHandle}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/server.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMailslotInfo` in this scope [INFO] [stdout] --> src/server.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | GetMailslotInfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILSLOT_NO_MESSAGE` in this scope [INFO] [stdout] --> src/server.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | } else if msg_size == MAILSLOT_NO_MESSAGE || msg_count == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateMailslotW` in this scope [INFO] [stdout] --> src/server.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let slot = CreateMailslotW(name.as_ptr() as _, 0, MAILSLOT_WAIT_FOREVER, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAILSLOT_WAIT_FOREVER` in this scope [INFO] [stdout] --> src/server.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | let slot = CreateMailslotW(name.as_ptr() as _, 0, MAILSLOT_WAIT_FOREVER, 0 as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/server.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | if slot == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&std::ffi::OsStr` in the current scope [INFO] [stdout] --> src/lib.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | OsStr::new(s).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/server.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | self.handle.as_raw_handle() as _, [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/server.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(std::fs::File::from_raw_handle(slot as _)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/server.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | self.handle.as_raw_handle() as _, [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mail_slot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/server.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(std::fs::File::from_raw_handle(slot as _)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `std::fs::File` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9d88250fb82818b6f8ac72ff1dba21cd329cd15204939fcc1f46baeee114c315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d88250fb82818b6f8ac72ff1dba21cd329cd15204939fcc1f46baeee114c315", kill_on_drop: false }` [INFO] [stdout] 9d88250fb82818b6f8ac72ff1dba21cd329cd15204939fcc1f46baeee114c315