[INFO] fetching crate mail_slot 0.1.3...
[INFO] checking mail_slot-0.1.3 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate mail_slot 0.1.3 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate mail_slot 0.1.3 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0beadcdc92e4fe7e56f86d88a1b9912df751fd329f1b07e780a8538a435b664d
[INFO] running `Command { std: "docker" "start" "-a" "0beadcdc92e4fe7e56f86d88a1b9912df751fd329f1b07e780a8538a435b664d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0beadcdc92e4fe7e56f86d88a1b9912df751fd329f1b07e780a8538a435b664d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0beadcdc92e4fe7e56f86d88a1b9912df751fd329f1b07e780a8538a435b664d", kill_on_drop: false }`
[INFO] [stdout] 0beadcdc92e4fe7e56f86d88a1b9912df751fd329f1b07e780a8538a435b664d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99f2cd83bc8bb0305d8302c5f228cc1aee697762ce5c8572ed1cf4d29c6af1c0
[INFO] running `Command { std: "docker" "start" "-a" "99f2cd83bc8bb0305d8302c5f228cc1aee697762ce5c8572ed1cf4d29c6af1c0", 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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:120:1
[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] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:120:1
[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[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] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:120:1
[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] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/os/mod.rs:120:1
[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[E0599]: no method named `as_raw_handle` found for struct `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]    |                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 self.handle.as_raw_fd() as _,
[INFO] [stdout]    |                             ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `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]    |                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |                 self.handle.as_raw_fd() as _,
[INFO] [stdout]    |                             ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `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 `File`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions:
[INFO] [stdout]       File::open
[INFO] [stdout]       File::create
[INFO] [stdout]       File::create_new
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/fs.rs:382:5
[INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |             Ok(std::fs::File::from_raw_fd(slot as _))
[INFO] [stdout]    |                               ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `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 `File`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions:
[INFO] [stdout]       File::open
[INFO] [stdout]       File::create
[INFO] [stdout]       File::create_new
[INFO] [stdout]   --> /rustc/31561a63598a0f21fc74c024747ef1310fdd2eb2/library/std/src/fs.rs:382:5
[INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |             Ok(std::fs::File::from_raw_fd(slot as _))
[INFO] [stdout]    |                               ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&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 `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&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 `&OsStr`
[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] [stderr] error: could not compile `mail_slot` (lib) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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 `mail_slot` (lib test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "99f2cd83bc8bb0305d8302c5f228cc1aee697762ce5c8572ed1cf4d29c6af1c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99f2cd83bc8bb0305d8302c5f228cc1aee697762ce5c8572ed1cf4d29c6af1c0", kill_on_drop: false }`
[INFO] [stdout] 99f2cd83bc8bb0305d8302c5f228cc1aee697762ce5c8572ed1cf4d29c6af1c0
