Skip to content

Rollup of 11 pull requests - #164882

Closed
jhpratt wants to merge 129 commits into
rust-lang:mainfrom
jhpratt:rollup-XfpZ7DW
Closed

jhpratt wants to merge 129 commits into
rust-lang:mainfrom
jhpratt:rollup-XfpZ7DW

Conversation

@jhpratt

@jhpratt jhpratt commented Oct 25, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

xtqqczze and others added 30 commits May 29, 2026 21:21
GenMC now supports weak CASes and the failure ordering of CASes.
Hence, the CAS API is adjusted accordingly (no change in behavior
for now).
Modeling spurious failures is opt-in (see
`-Zmiri-genmc-weak-cas-spurious-failures`), since Miri-GenMC cannot
bound all retry loops involving weak CASes (e.g., the ones in the
standard library).
…al-context-ref-readonly

Use  `eval_context_ref` where mutable access is not needed
support  __cxa_thread_atexit_impl and correctly handle thread cleanup on exit
GenMC: Support for weak CASes and CAS failure ordering
This updates the rust-version file to 8144389.
…cos-check-shim-sig

macOS shims: migrate to check_shim_sig
…round

Remove /tmp workaround now that rustdoc fixed the disk usage issue
@rustbot rustbot added O-linux Operating system: Linux O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ O-windows Operating system: Windows S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Oct 25, 2026
@jhpratt

jhpratt commented Oct 25, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 5336ec9 has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 25, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 25, 2026
Rollup of 11 pull requests

Successful merges:

 - #161362 ( rustdoc: Correctly handle reexports when --document-private-items is used)
 - #162808 (Enable `--generate-link-to-definition` rustdoc option on std docs)
 - #164834 (miri subtree update)
 - #164869 (rustc_codegen_gcc subtree update)
 - #157123 (library: optimize truncate method)
 - #159916 (Optimize `str.escape_default().to_string()`)
 - #164508 (ping me for layout invariant changes)
 - #164758 (Update dependency jinja2 to v3.1.6 [SECURITY])
 - #164857 (Do not checkout Cargo for bootstrap tests)
 - #164872 (cg_llvm: clarify Send / Sync story for modules)
 - #164881 (Add FIXME comments to `from_ascii_bytes_radix_impl`)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job dist-aarch64-msvc failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
 Documenting std v0.0.0 (C:\a\rust\rust\library\std)
error[E0433]: failed to resolve: could not resolve path `libc::stat64`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:354:53
    |
354 |             &*(self.as_inner().as_inner() as *const libc::stat64 as *const raw::stat)
    |                                                     ^^^^^^^^^^^^ could not resolve path `libc::stat64`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:354:32
    |
354 |             &*(self.as_inner().as_inner() as *const libc::stat64 as *const raw::stat)
    |                ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |                |
    |                method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:358:25
    |
358 |         self.as_inner().as_inner().st_dev as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:361:25
    |
361 |         self.as_inner().as_inner().st_ino as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:364:25
    |
364 |         self.as_inner().as_inner().st_mode as u32
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:367:25
    |
367 |         self.as_inner().as_inner().st_nlink as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:370:25
    |
370 |         self.as_inner().as_inner().st_uid as u32
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:373:25
    |
373 |         self.as_inner().as_inner().st_gid as u32
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:376:25
    |
376 |         self.as_inner().as_inner().st_rdev as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:379:25
    |
379 |         self.as_inner().as_inner().st_size as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:387:19
    |
387 |         file_attr.as_inner().st_atime as i64
    |                   ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:390:25
    |
390 |         self.as_inner().as_inner().st_atime_nsec as i64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:398:19
    |
398 |         file_attr.as_inner().st_mtime as i64
    |                   ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:401:25
    |
401 |         self.as_inner().as_inner().st_mtime_nsec as i64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:409:19
    |
409 |         file_attr.as_inner().st_ctime as i64
    |                   ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:412:25
    |
412 |         self.as_inner().as_inner().st_ctime_nsec as i64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:415:25
    |
415 |         self.as_inner().as_inner().st_blksize as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `as_inner` found for reference `&sys::fs::windows::FileAttr` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\fs.rs:418:25
    |
418 |         self.as_inner().as_inner().st_blocks as u64
    |         ----            ^^^^^^^^ method not found in `&sys::fs::windows::FileAttr`
    |         |
    |         method `as_inner` is available on `&fs::Metadata`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `sys::AsInner` defines an item `as_inner`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:38:1
    |
 38 | pub(crate) trait AsInner<Inner: ?Sized> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39 |     fn as_inner(&self) -> &Inner;
    |

error[E0599]: no method named `create_pidfd` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\linux\process.rs:225:29
    |
225 |         self.as_inner_mut().create_pidfd(val);
    |                             ^^^^^^^^^^^^ method not found in `&mut sys::process::windows::Command`

error[E0308]: mismatched types
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\ffi\os_str.rs:33:9
   |
32 |     fn into_vec(self) -> Vec<u8> {
   |                          ------- expected `alloc_crate::vec::Vec<u8>` because of return type
33 |         self.into_inner().inner
   |         ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `Wtf8Buf`
   |
   = note: expected struct `alloc_crate::vec::Vec<u8>`
              found struct `alloc_crate::wtf8::Wtf8Buf`

error[E0308]: mismatched types
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\ffi\os_str.rs:61:9
   |
60 |     fn as_bytes(&self) -> &[u8] {
   |                           ----- expected `&[u8]` because of return type
61 |         &self.as_inner().inner
   |         ^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Wtf8`
   |
   = note: expected reference `&[u8]`
              found reference `&core::wtf8::Wtf8`

error[E0609]: no field `runtime` on type `sys::fs::common::ExtraHomeDirs`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs\dirs.rs:251:20
    |
251 |         self.extra.runtime.as_deref()
    |                    ^^^^^^^ unknown field

error[E0609]: no field `config_path` on type `sys::fs::common::ExtraHomeDirs`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs\dirs.rs:255:20
    |
255 |         self.extra.config_path.as_deref().map(XdgDirs::new)
    |                    ^^^^^^^^^^^ unknown field

error[E0609]: no field `data_path` on type `sys::fs::common::ExtraHomeDirs`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs\dirs.rs:259:20
    |
259 |         self.extra.data_path.as_deref().map(XdgDirs::new)
    |                    ^^^^^^^^^ unknown field

error[E0609]: no field `templates` on type `sys::fs::common::ExtraMediaDirs`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs\dirs.rs:306:20
    |
306 |         self.extra.templates.as_deref()
    |                    ^^^^^^^^^ unknown field

error[E0609]: no field `templates` on type `sys::fs::common::ExtraMediaDirs`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs\dirs.rs:394:52
    |
394 |                 b"XDG_TEMPLATES_DIR" => dirs.extra.templates = path,
    |                                                    ^^^^^^^^^ unknown field

error[E0599]: no method named `read_vectored_at` found for reference `&sys::fs::windows::File` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:376:25
    |
376 |         self.as_inner().read_vectored_at(bufs, offset)
    |                         ^^^^^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::fs::FileExt` defines an item `read_vectored_at`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:34:1
    |
 34 | pub trait FileExt {
    | ^^^^^^^^^^^^^^^^^
...
 76 |     fn read_vectored_at(&self, bufs: &mut [io::IoSliceMut<'_>], offset: u64) -> io::Result<usize> {
    |
help: there is a method `read_vectored` with a similar name, but with different arguments
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\fs\windows.rs:616:5
    |
331 | impl File {
...
616 |     pub fn read_vectored(&self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no method named `write_vectored_at` found for reference `&sys::fs::windows::File` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:382:25
    |
382 |         self.as_inner().write_vectored_at(bufs, offset)
    |                         ^^^^^^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::fs::FileExt` defines an item `write_vectored_at`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:34:1
    |
 34 | pub trait FileExt {
    | ^^^^^^^^^^^^^^^^^
...
307 |     fn write_vectored_at(&self, bufs: &[io::IoSlice<'_>], offset: u64) -> io::Result<usize> {
    |
help: there is a method `write_vectored` with a similar name, but with different arguments
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\fs\windows.rs:641:5
    |
331 | impl File {
...
641 |     pub fn write_vectored(&self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no method named `mode` found for struct `&sys::fs::windows::FilePermissions` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:480:25
    |
480 |         self.as_inner().mode()
    |                         ^^^^ method not found in `&sys::fs::windows::FilePermissions`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `mode`, perhaps you need to implement one of them:
            candidate #1: `os::unix::fs::DirBuilderExt`
            candidate #2: `os::unix::fs::MetadataExt`
            candidate #3: `os::unix::fs::OpenOptionsExt`
            candidate #4: `os::unix::fs::PermissionsExt`

error[E0599]: no method named `mode` found for struct `&mut sys::fs::windows::OpenOptions` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:549:29
    |
549 |         self.as_inner_mut().mode(mode);
    |                             ^^^^ method not found in `&mut sys::fs::windows::OpenOptions`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `mode`, perhaps you need to implement one of them:
            candidate #1: `os::unix::fs::DirBuilderExt`
            candidate #2: `os::unix::fs::MetadataExt`
            candidate #3: `os::unix::fs::OpenOptionsExt`
            candidate #4: `os::unix::fs::PermissionsExt`

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:554:42
    |
554 |         self.as_inner_mut().custom_flags(flags);
---
help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit
    |
554 |         self.as_inner_mut().custom_flags(flags.try_into().unwrap());
    |                                               ++++++++++++++++++++
help: you might have meant to call one of the other methods; you can use the fully-qualified path to call one of them explicitly
    |
554 -         self.as_inner_mut().custom_flags(flags);
554 +         <_ as os::unix::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |
554 -         self.as_inner_mut().custom_flags(flags);
554 +         <_ as os::wasi::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |
554 -         self.as_inner_mut().custom_flags(flags);
554 +         <_ as os::windows::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |

error[E0433]: failed to resolve: could not resolve path `libc::S_IFBLK`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1010:28
     |
1010 |         self.as_inner().is(libc::S_IFBLK)
     |                            ^^^^^^^^^^^^^ could not resolve path `libc::S_IFBLK`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `is` found for reference `&sys::fs::windows::FileType` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1010:25
     |
1010 |         self.as_inner().is(libc::S_IFBLK)
     |                         ^^ method not found in `&sys::fs::windows::FileType`

error[E0433]: failed to resolve: could not resolve path `libc::S_IFCHR`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1013:28
     |
1013 |         self.as_inner().is(libc::S_IFCHR)
     |                            ^^^^^^^^^^^^^ could not resolve path `libc::S_IFCHR`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `is` found for reference `&sys::fs::windows::FileType` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1013:25
     |
1013 |         self.as_inner().is(libc::S_IFCHR)
     |                         ^^ method not found in `&sys::fs::windows::FileType`

error[E0433]: failed to resolve: could not resolve path `libc::S_IFIFO`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1016:28
     |
1016 |         self.as_inner().is(libc::S_IFIFO)
     |                            ^^^^^^^^^^^^^ could not resolve path `libc::S_IFIFO`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `is` found for reference `&sys::fs::windows::FileType` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1016:25
     |
1016 |         self.as_inner().is(libc::S_IFIFO)
     |                         ^^ method not found in `&sys::fs::windows::FileType`

error[E0433]: failed to resolve: could not resolve path `libc::S_IFSOCK`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1019:28
     |
1019 |         self.as_inner().is(libc::S_IFSOCK)
     |                            ^^^^^^^^^^^^^^ could not resolve path `libc::S_IFSOCK`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `is` found for reference `&sys::fs::windows::FileType` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1019:25
     |
1019 |         self.as_inner().is(libc::S_IFSOCK)
     |                         ^^ method not found in `&sys::fs::windows::FileType`

error[E0599]: no method named `ino` found for struct `&sys::fs::windows::DirEntry` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1052:25
     |
1052 |         self.as_inner().ino()
     |                         ^^^
     |
     = help: items from traits can only be used if the trait is implemented and in scope
     = note: the following traits define an item `ino`, perhaps you need to implement one of them:
             candidate #1: `os::unix::fs::DirEntryExt`
             candidate #2: `os::unix::fs::MetadataExt`
help: there is a method `into` with a similar name
     |
1052 |         self.as_inner().into()
     |                           +

error[E0599]: no method named `file_name_os_str` found for reference `&sys::fs::windows::DirEntry` in the current scope
---
1134 |         self.as_inner_mut().set_mode(mode);
     |                             ^^^^^^^^ method not found in `&mut sys::fs::windows::DirBuilder`
     |
     = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::fs::PermissionsExt` defines an item `set_mode`, perhaps you need to implement it
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:462:1
     |
 462 | pub trait PermissionsExt {
     | ^^^^^^^^^^^^^^^^^^^^^^^^
...
 469 |     fn set_mode(&mut self, mode: u32);
     |

error[E0433]: failed to resolve: could not resolve path `sys::fs::chown`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1168:5
     |
1168 |     sys::fs::chown(dir.as_ref(), uid.unwrap_or(u32::MAX), gid.unwrap_or(u32::MAX))
     |     ^^^^^^^^^^^^^^ could not resolve path `sys::fs::chown`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `sys::fs::fchown`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1189:5
     |
1189 |     sys::fs::fchown(fd.as_fd().as_raw_fd(), uid.unwrap_or(u32::MAX), gid.unwrap_or(u32::MAX))
     |     ^^^^^^^^^^^^^^^ could not resolve path `sys::fs::fchown`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `sys::fs::lchown`
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:1210:5
     |
1210 |     sys::fs::lchown(dir.as_ref(), uid.unwrap_or(u32::MAX), gid.unwrap_or(u32::MAX))
     |     ^^^^^^^^^^^^^^^ could not resolve path `sys::fs::lchown`
     |
     = note: this error was originally ignored because you are running `rustdoc`
     = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `sys::fs::chroot`
---

error[E0433]: failed to resolve: could not resolve path `libc::dup2`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\io\mod.rs:223:28
    |
223 |         )) => cvt(unsafe { libc::dup2(other.as_raw_fd(), this.as_raw_fd()) }).map(|_| ()),
    |                            ^^^^^^^^^^ could not resolve path `libc::dup2`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::AF_UNIX`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:28:23
   |
28 |     addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
   |                       ^^^^^^^^^^^^^ could not resolve path `libc::AF_UNIX`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::sa_family_t`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:28:40
   |
28 |     addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
   |                                        ^^^^^^^^^^^^^^^^^ could not resolve path `libc::sa_family_t`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0609]: no field `sun_family` on type `os::unix::net::addr::libc::sockaddr_un`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:28:10
   |
28 |     addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
   |          ^^^^^^^^^^ unknown field
   |
   = note: available field is: `sun_path`

error[E0433]: failed to resolve: could not resolve path `libc::c_char`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:121:45
    |
121 |                 unsafe { mem::transmute::<&[libc::c_char], &[u8]>(&addr.sun_path) };
    |                                             ^^^^^^^^^^^^ could not resolve path `libc::c_char`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::AF_UNIX`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:132:38
    |
132 |         } else if addr.sun_family != libc::AF_UNIX as libc::sa_family_t {
    |                                      ^^^^^^^^^^^^^ could not resolve path `libc::AF_UNIX`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::sa_family_t`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:132:55
    |
132 |         } else if addr.sun_family != libc::AF_UNIX as libc::sa_family_t {
    |                                                       ^^^^^^^^^^^^^^^^^ could not resolve path `libc::sa_family_t`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0609]: no field `sun_family` on type `os::unix::net::addr::libc::sockaddr_un`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:132:24
    |
132 |         } else if addr.sun_family != libc::AF_UNIX as libc::sa_family_t {
    |                        ^^^^^^^^^^ unknown field
    |
    = note: available field is: `sun_path`

error[E0433]: failed to resolve: could not resolve path `libc::c_char`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:256:48
    |
256 |         let path = unsafe { mem::transmute::<&[libc::c_char], &[u8]>(&self.addr.sun_path) };
    |                                                ^^^^^^^^^^^^ could not resolve path `libc::c_char`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::AF_UNIX`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:291:31
    |
291 |             addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
    |                               ^^^^^^^^^^^^^ could not resolve path `libc::AF_UNIX`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::sa_family_t`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:291:48
    |
291 |             addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
    |                                                ^^^^^^^^^^^^^^^^^ could not resolve path `libc::sa_family_t`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0609]: no field `sun_family` on type `os::unix::net::addr::libc::sockaddr_un`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\addr.rs:291:18
    |
291 |             addr.sun_family = libc::AF_UNIX as libc::sa_family_t;
    |                  ^^^^^^^^^^ unknown field
    |
    = note: available field is: `sun_path`

error[E0433]: failed to resolve: could not resolve path `libc::sockaddr_un`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:39:27
   |
39 |         let mut msg_name: libc::sockaddr_un = zeroed();
   |                           ^^^^^^^^^^^^^^^^^ could not resolve path `libc::sockaddr_un`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::msghdr`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:40:22
   |
40 |         let mut msg: libc::msghdr = zeroed();
   |                      ^^^^^^^^^^^^ could not resolve path `libc::msghdr`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::sockaddr_un`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:42:37
   |
42 |         msg.msg_namelen = size_of::<libc::sockaddr_un>() as libc::socklen_t;
   |                                     ^^^^^^^^^^^^^^^^^ could not resolve path `libc::sockaddr_un`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::socklen_t`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:42:61
   |
42 |         msg.msg_namelen = size_of::<libc::sockaddr_un>() as libc::socklen_t;
   |                                                             ^^^^^^^^^^^^^^^ could not resolve path `libc::socklen_t`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::MSG_CTRUNC`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:54:47
   |
54 |         ancillary.truncated = msg.msg_flags & libc::MSG_CTRUNC == libc::MSG_CTRUNC;
   |                                               ^^^^^^^^^^^^^^^^ could not resolve path `libc::MSG_CTRUNC`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::MSG_CTRUNC`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:54:67
   |
54 |         ancillary.truncated = msg.msg_flags & libc::MSG_CTRUNC == libc::MSG_CTRUNC;
   |                                                                   ^^^^^^^^^^^^^^^^ could not resolve path `libc::MSG_CTRUNC`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::MSG_TRUNC`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:56:41
   |
56 |         let truncated = msg.msg_flags & libc::MSG_TRUNC == libc::MSG_TRUNC;
   |                                         ^^^^^^^^^^^^^^^ could not resolve path `libc::MSG_TRUNC`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::MSG_TRUNC`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:56:60
   |
56 |         let truncated = msg.msg_flags & libc::MSG_TRUNC == libc::MSG_TRUNC;
   |                                                            ^^^^^^^^^^^^^^^ could not resolve path `libc::MSG_TRUNC`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `recv_msg` found for reference `&sys::net::connection::socket::windows::Socket` in the current scope
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:51:28
   |
51 |         let count = socket.recv_msg(&mut msg)?;
   |                            ^^^^^^^^ method not found in `&sys::net::connection::socket::windows::Socket`

error[E0433]: failed to resolve: could not resolve path `libc::msghdr`
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:73:22
   |
73 |         let mut msg: libc::msghdr = zeroed();
   |                      ^^^^^^^^^^^^ could not resolve path `libc::msghdr`
   |
   = note: this error was originally ignored because you are running `rustdoc`
   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `send_msg` found for reference `&sys::net::connection::socket::windows::Socket` in the current scope
---
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::msghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:129:22
    |
129 |         let mut msg: libc::msghdr = zeroed();
    |                      ^^^^^^^^^^^^ could not resolve path `libc::msghdr`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_FIRSTHDR`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:133:24
    |
133 |         let mut cmsg = libc::CMSG_FIRSTHDR(&msg);
    |                        ^^^^^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_FIRSTHDR`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_NXTHDR`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:137:20
    |
137 |             cmsg = libc::CMSG_NXTHDR(&msg, cmsg);
    |                    ^^^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_NXTHDR`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_LEN`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:153:37
    |
153 |         (*previous_cmsg).cmsg_len = libc::CMSG_LEN(source_len) as _;
    |                                     ^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_LEN`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_DATA`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:155:20
    |
155 |         let data = libc::CMSG_DATA(previous_cmsg).cast();
    |                    ^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_DATA`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::memcpy`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:157:9
    |
157 |         libc::memcpy(data, source.as_ptr().cast(), source_len as usize);
    |         ^^^^^^^^^^^^ could not resolve path `libc::memcpy`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_LEN`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:508:33
    |
508 |             let cmsg_len_zero = libc::CMSG_LEN(0) as usize;
    |                                 ^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_LEN`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_DATA`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:510:24
    |
510 |             let data = libc::CMSG_DATA(cmsg).cast();
    |                        ^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_DATA`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SOL_SOCKET`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:514:17
    |
514 |                 libc::SOL_SOCKET => match cmsg.cmsg_type {
    |                 ^^^^^^^^^^^^^^^^ could not resolve path `libc::SOL_SOCKET`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SCM_RIGHTS`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:515:21
    |
515 |                     libc::SCM_RIGHTS => Ok(AncillaryData::as_rights(data)),
    |                     ^^^^^^^^^^^^^^^^ could not resolve path `libc::SCM_RIGHTS`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SOL_SOCKET`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:523:67
    |
523 |                         Err(AncillaryError::Unknown { cmsg_level: libc::SOL_SOCKET, cmsg_type })
    |                                                                   ^^^^^^^^^^^^^^^^ could not resolve path `libc::SOL_SOCKET`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0609]: no field `cmsg_len` on type `&'a os::unix::net::ancillary::libc::cmsghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:509:33
    |
509 |             let data_len = cmsg.cmsg_len as usize - cmsg_len_zero;
    |                                 ^^^^^^^^ unknown field

error[E0609]: no field `cmsg_level` on type `&'a os::unix::net::ancillary::libc::cmsghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:513:24
    |
513 |             match cmsg.cmsg_level {
    |                        ^^^^^^^^^^ unknown field

error[E0609]: no field `cmsg_type` on type `&'a os::unix::net::ancillary::libc::cmsghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:514:48
    |
514 |                 libc::SOL_SOCKET => match cmsg.cmsg_type {
    |                                                ^^^^^^^^^ unknown field

error[E0609]: no field `cmsg_type` on type `&'a os::unix::net::ancillary::libc::cmsghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:527:79
    |
527 |                     Err(AncillaryError::Unknown { cmsg_level, cmsg_type: cmsg.cmsg_type })
    |                                                                               ^^^^^^^^^ unknown field

error[E0433]: failed to resolve: could not resolve path `libc::msghdr`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:548:26
    |
548 |             let mut msg: libc::msghdr = zeroed();
    |                          ^^^^^^^^^^^^ could not resolve path `libc::msghdr`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_NXTHDR`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:553:17
    |
553 |                 libc::CMSG_NXTHDR(&msg, current)
    |                 ^^^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_NXTHDR`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::CMSG_FIRSTHDR`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\ancillary.rs:555:17
    |
555 |                 libc::CMSG_FIRSTHDR(&msg)
    |                 ^^^^^^^^^^^^^^^^^^^ could not resolve path `libc::CMSG_FIRSTHDR`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::getsockname`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:300:46
    |
300 |         SocketAddr::new(|addr, len| unsafe { libc::getsockname(self.as_raw_fd(), addr, len) })
    |                                              ^^^^^^^^^^^^^^^^^ could not resolve path `libc::getsockname`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::getpeername`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:325:46
    |
325 |         SocketAddr::new(|addr, len| unsafe { libc::getpeername(self.as_raw_fd(), addr, len) })
    |                                              ^^^^^^^^^^^^^^^^^ could not resolve path `libc::getpeername`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `write` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:604:16
    |
604 |         self.0.write(buf)
    |                ^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `write` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `write`, perhaps you need to implement one of them:
            candidate #1: `core::hash::Hasher`
            candidate #2: `core::io::Write`

error[E0433]: failed to resolve: could not resolve path `libc::SO_RCVTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:745:37
    |
745 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
    |                                     ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_RCVTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_SNDTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:791:37
    |
791 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
    |                                     ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_SNDTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_RCVTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:813:24
    |
813 |         self.0.timeout(libc::SO_RCVTIMEO)
    |                        ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_RCVTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_SNDTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:835:24
    |
835 |         self.0.timeout(libc::SO_SNDTIMEO)
    |                        ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_SNDTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `set_mark` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:879:16
    |
879 |         self.0.set_mark(mark)
    |                ^^^^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `set_mark` not found for this struct

error[E0433]: failed to resolve: could not resolve path `libc::MSG_PEEK`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:982:35
    |
982 |         self.recv_from_flags(buf, libc::MSG_PEEK)
    |                                   ^^^^^^^^^^^^^^ could not resolve path `libc::MSG_PEEK`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `as_raw_fd` found for reference `&os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:990:27
    |
990 |         self.0.as_inner().as_raw_fd()
    |                           ^^^^^^^^^ method not found in `&os::windows::io::socket::OwnedSocket`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:998:63
    |
998 |         UnixDatagram(Socket::from_inner(FromInner::from_inner(OwnedFd::from_raw_fd(fd))))
    |                                         --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
    |                                         |
    |                                         required by a bound introduced by this call
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:1006:29
     |
1006 |         self.0.into_inner().into_inner().into_raw_fd()
     |         ------              ^^^^^^^^^^ method not found in `os::windows::io::socket::OwnedSocket`
     |         |
     |         method `into_inner` is available on `sys::net::connection::socket::windows::Socket`
     |
    ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
     |
---
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  50 |     fn into_inner(self) -> Inner;
     |

error[E0599]: the method `as_fd` exists for reference `&os::windows::io::socket::OwnedSocket`, but its trait bounds were not satisfied
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\datagram.rs:1014:27
     |
1014 |         self.0.as_inner().as_fd()
     |                           ^^^^^ method cannot be called on `&os::windows::io::socket::OwnedSocket` due to unsatisfied trait bounds
     |
    ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
     |
  50 | pub struct OwnedSocket {
     | ---------------------- doesn't satisfy `_: AsFd`
     |
note: trait bound `os::windows::io::socket::OwnedSocket: os::fd::owned::AsFd` was not satisfied
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
     |
 284 | impl<T: AsFd + ?Sized> AsFd for &T {
     |         ^^^^           ----     --
     |         |
     |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
     |
 263 | pub trait AsFd {
     | ^^^^^^^^^^^^^^
     = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
    --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
     |
 263 | pub trait AsFd {
     | ^^^^^^^^^^^^^^
...
 280 |     fn as_fd(&self) -> BorrowedFd<'_>;
     |

error[E0433]: failed to resolve: could not resolve path `libc::getsockname`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:227:46
    |
227 |         SocketAddr::new(|addr, len| unsafe { libc::getsockname(self.as_raw_fd(), addr, len) })
    |                                              ^^^^^^^^^^^^^^^^^ could not resolve path `libc::getsockname`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `as_raw_fd` found for reference `&os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:322:27
    |
322 |         self.0.as_inner().as_raw_fd()
    |                           ^^^^^^^^^ method not found in `&os::windows::io::socket::OwnedSocket`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:330:63
    |
330 |         UnixListener(Socket::from_inner(FromInner::from_inner(OwnedFd::from_raw_fd(fd))))
    |                                         --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
    |                                         |
    |                                         required by a bound introduced by this call
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:338:29
    |
338 |         self.0.into_inner().into_inner().into_raw_fd()
    |         ------              ^^^^^^^^^^ method not found in `os::windows::io::socket::OwnedSocket`
    |         |
    |         method `into_inner` is available on `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
---
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 50 |     fn into_inner(self) -> Inner;
    |

error[E0599]: the method `as_fd` exists for reference `&os::windows::io::socket::OwnedSocket`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:346:27
    |
346 |         self.0.as_inner().as_fd()
    |                           ^^^^^ method cannot be called on `&os::windows::io::socket::OwnedSocket` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ---------------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `os::windows::io::socket::OwnedSocket: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:354:63
    |
354 |         UnixListener(Socket::from_inner(FromInner::from_inner(fd)))
    |                                         --------------------- ^^ unsatisfied trait bound
    |                                         |
    |                                         required by a bound introduced by this call
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\listener.rs:363:33
    |
---

error[E0433]: failed to resolve: could not resolve path `libc::getsockname`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:227:46
    |
227 |         SocketAddr::new(|addr, len| unsafe { libc::getsockname(self.as_raw_fd(), addr, len) })
    |                                              ^^^^^^^^^^^^^^^^^ could not resolve path `libc::getsockname`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::getpeername`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:246:46
    |
246 |         SocketAddr::new(|addr, len| unsafe { libc::getpeername(self.as_raw_fd(), addr, len) })
    |                                              ^^^^^^^^^^^^^^^^^ could not resolve path `libc::getpeername`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_RCVTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:322:37
    |
322 |         self.0.set_timeout(timeout, libc::SO_RCVTIMEO)
    |                                     ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_RCVTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_SNDTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:367:37
    |
367 |         self.0.set_timeout(timeout, libc::SO_SNDTIMEO)
    |                                     ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_SNDTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_RCVTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:388:24
    |
388 |         self.0.timeout(libc::SO_RCVTIMEO)
    |                        ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_RCVTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::SO_SNDTIMEO`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:410:24
    |
410 |         self.0.timeout(libc::SO_SNDTIMEO)
    |                        ^^^^^^^^^^^^^^^^^ could not resolve path `libc::SO_SNDTIMEO`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `set_mark` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:454:16
    |
454 |         self.0.set_mark(mark)
    |                ^^^^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `set_mark` not found for this struct

error[E0599]: no method named `send_with_flags` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:698:16
    |
698 |         self.0.send_with_flags(buf, MSG_NOSIGNAL)
    |                ^^^^^^^^^^^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `send_with_flags` not found for this struct

error[E0599]: no method named `as_raw_fd` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:720:16
    |
720 |         self.0.as_raw_fd()
    |                ^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `as_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |
help: there is a method `as_raw` with a similar name
    |
720 -         self.0.as_raw_fd()
720 +         self.0.as_raw()
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:728:61
    |
728 |         UnixStream(Socket::from_inner(FromInner::from_inner(OwnedFd::from_raw_fd(fd))))
    |                                       --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
    |                                       |
    |                                       required by a bound introduced by this call
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: no method named `into_raw_fd` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:736:16
    |
736 |         self.0.into_raw_fd()
    |                ^^^^^^^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |

error[E0599]: no method named `as_fd` found for struct `sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\net\stream.rs:744:16
    |
744 |         self.0.as_fd()
    |                ^^^^^ method not found in `sys::net::connection::socket::windows::Socket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- method `as_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0599]: no method named `uid` found for struct `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:256:29
    |
256 |         self.as_inner_mut().uid(id);
    |                             ^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `uid`, perhaps you need to implement one of them:
            candidate #1: `os::unix::fs::MetadataExt`
            candidate #2: `os::unix::process::CommandExt`

error[E0599]: no method named `gid` found for struct `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:261:29
    |
261 |         self.as_inner_mut().gid(id);
    |                             ^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `gid`, perhaps you need to implement one of them:
            candidate #1: `os::unix::fs::MetadataExt`
            candidate #2: `os::unix::process::CommandExt`

error[E0599]: no method named `groups` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:266:29
    |
266 |         self.as_inner_mut().groups(groups);
    |                             ^^^^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::CommandExt` defines an item `groups`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:36:1
    |
 36 | pub impl(self) trait CommandExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
 58 |     fn groups(&mut self, groups: &[GroupId]) -> &mut process::Command;
    |

error[E0599]: no method named `pre_exec` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:274:29
    |
274 |         self.as_inner_mut().pre_exec(Box::new(f));
    |                             ^^^^^^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::CommandExt` defines an item `pre_exec`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:36:1
    |
 36 | pub impl(self) trait CommandExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
110 |     unsafe fn pre_exec<F>(&mut self, f: F) -> &mut process::Command
    |

error[E0599]: no method named `exec` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:281:29
    |
281 |         self.as_inner_mut().exec(sys::process::Stdio::Inherit)
    |                             ^^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::CommandExt` defines an item `exec`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:36:1
    |
 36 | pub impl(self) trait CommandExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
163 |     fn exec(&mut self) -> io::Error;
    |

error[E0599]: no method named `set_arg_0` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:288:29
    |
288 |         self.as_inner_mut().set_arg_0(arg.as_ref());
    |                             ^^^^^^^^^
    |
help: there is a method `get_args` with a similar name, but with different arguments
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows.rs:253:5
    |
---

error[E0599]: no method named `pgroup` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:293:29
    |
293 |         self.as_inner_mut().pgroup(pgroup);
    |                             ^^^^^^ method not found in `&mut sys::process::windows::Command`

error[E0599]: no method named `chroot` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:298:29
    |
---
    |
 36 | pub impl(self) trait CommandExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
247 |     fn chroot<P: AsRef<Path>>(&mut self, dir: P) -> &mut process::Command;
    |

error[E0599]: no method named `setsid` found for mutable reference `&mut sys::process::windows::Command` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:303:29
    |
303 |         self.as_inner_mut().setsid(setsid);
    |                             ^^^^^^ method not found in `&mut sys::process::windows::Command`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::CommandExt` defines an item `setsid`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:36:1
    |
 36 | pub impl(self) trait CommandExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
250 |     fn setsid(&mut self, setsid: bool) -> &mut process::Command;
    |

error[E0277]: the trait bound `sys::process::windows::ExitStatus: core::convert::From<i32>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:447:52
    |
447 |         process::ExitStatus::from_inner(From::from(raw))
    |                                         ---------- ^^^ unsatisfied trait bound
    |                                         |
    |                                         required by a bound introduced by this call
    |
help: the trait `From<i32>` is not implemented for `sys::process::windows::ExitStatus`
---
451 |         self.as_inner().signal()
    |                         ^^^^^^ method not found in `&sys::process::windows::ExitStatus`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::ExitStatusExt` defines an item `signal`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:321:1
    |
321 | pub impl(self) trait ExitStatusExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
411 |     fn signal(&self) -> Option<i32>;
---
455 |         self.as_inner().core_dumped()
    |                         ^^^^^^^^^^^ method not found in `&sys::process::windows::ExitStatus`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::ExitStatusExt` defines an item `core_dumped`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:321:1
    |
321 | pub impl(self) trait ExitStatusExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
415 |     fn core_dumped(&self) -> bool;
---
459 |         self.as_inner().stopped_signal()
    |                         ^^^^^^^^^^^^^^ method not found in `&sys::process::windows::ExitStatus`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::ExitStatusExt` defines an item `stopped_signal`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:321:1
    |
321 | pub impl(self) trait ExitStatusExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
424 |     fn stopped_signal(&self) -> Option<i32>;
---
463 |         self.as_inner().continued()
    |                         ^^^^^^^^^ method not found in `&sys::process::windows::ExitStatus`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::ExitStatusExt` defines an item `continued`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:321:1
    |
321 | pub impl(self) trait ExitStatusExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
433 |     fn continued(&self) -> bool;
---
467 |         self.as_inner().into_raw().into()
    |                         ^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::process::ExitStatusExt` defines an item `into_raw`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:321:1
    |
321 | pub impl(self) trait ExitStatusExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
441 |     fn into_raw(self) -> i32;
---

error[E0433]: failed to resolve: could not resolve path `sys::fd::FileDesc::from_raw_fd`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:623:18
    |
623 |         let fd = sys::fd::FileDesc::from_raw_fd(fd);
    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not resolve path `sys::fd::FileDesc::from_raw_fd`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no variant, associated function, or constant named `Fd` found for enum `sys::process::windows::Stdio` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:624:39
    |
624 |         let io = sys::process::Stdio::Fd(fd);
    |                                       ^^ variant, associated function, or constant not found in `sys::process::windows::Stdio`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows.rs:168:1
    |
168 | pub enum Stdio {
    | -------------- variant, associated function, or constant `Fd` not found for this enum
---

error[E0599]: no variant, associated function, or constant named `Fd` found for enum `sys::process::windows::Stdio` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:636:39
    |
636 |         let io = sys::process::Stdio::Fd(fd);
    |                                       ^^ variant, associated function, or constant not found in `sys::process::windows::Stdio`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows.rs:168:1
    |
168 | pub enum Stdio {
    | -------------- variant, associated function, or constant `Fd` not found for this enum

error[E0599]: no method named `as_raw_fd` found for reference `&sys::process::windows::child_pipe::ChildPipe` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:645:25
    |
645 |         self.as_inner().as_raw_fd()
    |                         ^^^^^^^^^ method not found in `&sys::process::windows::child_pipe::ChildPipe`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |

error[E0599]: no method named `as_raw_fd` found for reference `&sys::process::windows::child_pipe::ChildPipe` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:653:25
    |
653 |         self.as_inner().as_raw_fd()
    |                         ^^^^^^^^^ method not found in `&sys::process::windows::child_pipe::ChildPipe`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |

error[E0599]: no method named `as_raw_fd` found for reference `&sys::process::windows::child_pipe::ChildPipe` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:661:25
    |
661 |         self.as_inner().as_raw_fd()
    |                         ^^^^^^^^^ method not found in `&sys::process::windows::child_pipe::ChildPipe`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |

error[E0599]: no method named `into_raw_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:669:40
    |
669 |         self.into_inner().into_inner().into_raw_fd()
    |                                        ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
669 -         self.into_inner().into_inner().into_raw_fd()
669 +         self.into_inner().into_inner().into_raw_handle()
    |

error[E0599]: no method named `into_raw_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:677:40
    |
677 |         self.into_inner().into_inner().into_raw_fd()
    |                                        ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
677 -         self.into_inner().into_inner().into_raw_fd()
677 +         self.into_inner().into_inner().into_raw_handle()
    |

error[E0599]: no method named `into_raw_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:685:40
    |
685 |         self.into_inner().into_inner().into_raw_fd()
    |                                        ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
685 -         self.into_inner().into_inner().into_raw_fd()
685 +         self.into_inner().into_inner().into_raw_handle()
    |

error[E0599]: the method `as_fd` exists for reference `&sys::process::windows::child_pipe::ChildPipe`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:693:25
    |
693 |         self.as_inner().as_fd()
    |                         ^^^^^ method cannot be called on `&sys::process::windows::child_pipe::ChildPipe` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows\child_pipe.rs:11:1
    |
 11 | pub struct ChildPipe {
    | -------------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::process::windows::child_pipe::ChildPipe: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:702:9
    |
701 |     fn from(child_stdin: crate::process::ChildStdin) -> OwnedFd {
    |                                                         ------- expected `os::fd::owned::OwnedFd` because of return type
702 |         child_stdin.into_inner().into_inner()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `Handle`

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:714:42
    |
714 |         let pipe = ChildPipe::from_inner(fd);
    |                    --------------------- ^^ expected `Handle`, found `OwnedFd`
    |                    |
    |                    arguments to this function are incorrect
    |
note: associated function defined here
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:55:8
    |
 54 | pub(crate) trait FromInner<Inner> {
 55 |     fn from_inner(inner: Inner) -> Self;
    |        ^^^^^^^^^^ -----

error[E0599]: the method `as_fd` exists for reference `&sys::process::windows::child_pipe::ChildPipe`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:723:25
    |
723 |         self.as_inner().as_fd()
    |                         ^^^^^ method cannot be called on `&sys::process::windows::child_pipe::ChildPipe` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows\child_pipe.rs:11:1
    |
 11 | pub struct ChildPipe {
    | -------------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::process::windows::child_pipe::ChildPipe: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:732:9
    |
731 |     fn from(child_stdout: crate::process::ChildStdout) -> OwnedFd {
    |                                                           ------- expected `os::fd::owned::OwnedFd` because of return type
732 |         child_stdout.into_inner().into_inner()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `Handle`

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:744:42
    |
744 |         let pipe = ChildPipe::from_inner(fd);
    |                    --------------------- ^^ expected `Handle`, found `OwnedFd`
    |                    |
    |                    arguments to this function are incorrect
    |
note: associated function defined here
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:55:8
    |
 54 | pub(crate) trait FromInner<Inner> {
 55 |     fn from_inner(inner: Inner) -> Self;
    |        ^^^^^^^^^^ -----

error[E0599]: the method `as_fd` exists for reference `&sys::process::windows::child_pipe::ChildPipe`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:753:25
    |
753 |         self.as_inner().as_fd()
    |                         ^^^^^ method cannot be called on `&sys::process::windows::child_pipe::ChildPipe` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\process\windows\child_pipe.rs:11:1
    |
 11 | pub struct ChildPipe {
    | -------------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::process::windows::child_pipe::ChildPipe: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:762:9
    |
761 |     fn from(child_stderr: crate::process::ChildStderr) -> OwnedFd {
    |                                                           ------- expected `os::fd::owned::OwnedFd` because of return type
762 |         child_stderr.into_inner().into_inner()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `Handle`

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\process.rs:774:42
    |
774 |         let pipe = ChildPipe::from_inner(fd);
    |                    --------------------- ^^ expected `Handle`, found `OwnedFd`
    |                    |
    |                    arguments to this function are incorrect
    |
note: associated function defined here
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\mod.rs:55:8
---

error[E0599]: no method named `id` found for reference `&sys::thread::windows::Thread` in the current scope
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\thread.rs:39:25
   |
39 |         self.as_inner().id() as RawPthread
   |                         ^^ method not found in `&sys::thread::windows::Thread`

error[E0599]: no method named `into_id` found for struct `sys::thread::windows::Thread` in the current scope
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\thread.rs:44:27
   |
44 |         self.into_inner().into_id() as RawPthread
   |                           ^^^^^^^
   |
  ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\thread\windows.rs:16:1
   |
16 | pub struct Thread {
   | ----------------- method `into_id` not found for this struct
   |
help: there is a method `into` with a similar name
   |
44 -         self.into_inner().into_id() as RawPthread
44 +         self.into_inner().into() as RawPthread
   |

error[E0308]: mismatched types
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\..\unix\ffi\os_str.rs:33:9
   |
32 |     fn into_vec(self) -> Vec<u8> {
   |                          ------- expected `alloc_crate::vec::Vec<u8>` because of return type
33 |         self.into_inner().inner
   |         ^^^^^^^^^^^^^^^^^^^^^^^ expected `Vec<u8>`, found `Wtf8Buf`
   |
   = note: expected struct `alloc_crate::vec::Vec<u8>`
              found struct `alloc_crate::wtf8::Wtf8Buf`

error[E0308]: mismatched types
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\..\unix\ffi\os_str.rs:61:9
   |
60 |     fn as_bytes(&self) -> &[u8] {
   |                           ----- expected `&[u8]` because of return type
61 |         &self.as_inner().inner
   |         ^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `&Wtf8`
   |
   = note: expected reference `&[u8]`
              found reference `&core::wtf8::Wtf8`

error[E0599]: no method named `read_vectored_at` found for reference `&sys::fs::windows::File` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\fs.rs:237:25
    |
237 |         self.as_inner().read_vectored_at(bufs, offset)
    |                         ^^^^^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::fs::FileExt` defines an item `read_vectored_at`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:34:1
    |
 34 | pub trait FileExt {
    | ^^^^^^^^^^^^^^^^^
...
 76 |     fn read_vectored_at(&self, bufs: &mut [io::IoSliceMut<'_>], offset: u64) -> io::Result<usize> {
    |
help: there is a method `read_vectored` with a similar name, but with different arguments
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\fs\windows.rs:616:5
    |
331 | impl File {
...
616 |     pub fn read_vectored(&self, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0599]: no method named `write_vectored_at` found for reference `&sys::fs::windows::File` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\fs.rs:245:25
    |
245 |         self.as_inner().write_vectored_at(bufs, offset)
    |                         ^^^^^^^^^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::unix::fs::FileExt` defines an item `write_vectored_at`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\unix\fs.rs:34:1
    |
 34 | pub trait FileExt {
    | ^^^^^^^^^^^^^^^^^
...
307 |     fn write_vectored_at(&self, bufs: &[io::IoSlice<'_>], offset: u64) -> io::Result<usize> {
    |
help: there is a method `write_vectored` with a similar name, but with different arguments
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\fs\windows.rs:641:5
    |
331 | impl File {
...
641 |     pub fn write_vectored(&self, bufs: &[IoSlice<'_>]) -> io::Result<usize> {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\fs.rs:321:42
    |
---
207 | impl OpenOptions {
...
248 |     pub fn custom_flags(&mut self, flags: u32) {
    |            ^^^^^^^^^^^^            ----------
note: the `custom_flags` call is resolved to the method in `sys::fs::windows::OpenOptions`, shadowing the method of the same name on trait `os::wasi::fs::OpenOptionsExt`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\fs.rs:321:29
    |
321 |         self.as_inner_mut().custom_flags(flags);
    |                             ^^^^^^^^^^^^ refers to `sys::fs::windows::OpenOptions::custom_flags`
    = note: additionally, there are 2 other available methods that aren't in scope
help: you can convert an `i32` to a `u32` and panic if the converted value doesn't fit
    |
321 |         self.as_inner_mut().custom_flags(flags.try_into().unwrap());
    |                                               ++++++++++++++++++++
help: you might have meant to call one of the other methods; you can use the fully-qualified path to call one of them explicitly
    |
321 -         self.as_inner_mut().custom_flags(flags);
321 +         <_ as os::unix::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |
321 -         self.as_inner_mut().custom_flags(flags);
321 +         <_ as os::wasi::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |
321 -         self.as_inner_mut().custom_flags(flags);
321 +         <_ as os::windows::fs::OpenOptionsExt>::custom_flags(&mut self.as_inner_mut(), flags);
    |

error[E0599]: no method named `ino` found for struct `&sys::fs::windows::DirEntry` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\wasi\fs.rs:387:25
    |
387 |         self.as_inner().ino()
    |                         ^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
    = note: the following traits define an item `ino`, perhaps you need to implement one of them:
            candidate #1: `os::unix::fs::DirEntryExt`
            candidate #2: `os::unix::fs::MetadataExt`
help: there is a method `into` with a similar name
    |
387 |         self.as_inner().into()
    |                           +

error[E0599]: no method named `as_raw_fd` found for reference `&sys::fs::windows::File` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:176:25
    |
176 |         self.as_inner().as_raw_fd()
    |                         ^^^^^^^^^
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |
help: there is a method `as_raw_handle` with a similar name
    |
176 -         self.as_inner().as_raw_fd()
176 +         self.as_inner().as_raw_handle()
    |

error[E0433]: failed to resolve: could not resolve path `OwnedFd::from_raw_fd`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:184:33
    |
184 |         unsafe { fs::File::from(OwnedFd::from_raw_fd(fd)) }
    |                                 ^^^^^^^^^^^^^^^^^^^^ could not resolve path `OwnedFd::from_raw_fd`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: no method named `into_raw_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:192:40
    |
192 |         self.into_inner().into_inner().into_raw_fd()
    |                                        ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
192 -         self.into_inner().into_inner().into_raw_fd()
192 +         self.into_inner().into_inner().into_raw_handle()
    |

error[E0599]: no method named `as_raw_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:297:16
    |
297 |         self.0.as_raw_fd()
    |                ^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `as_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |
help: there is a method `as_raw_handle` with a similar name
    |
297 -         self.0.as_raw_fd()
297 +         self.0.as_raw_handle()
    |

error[E0277]: the trait bound `sys::pal::windows::handle::Handle: os::fd::raw::FromRawFd` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:305:35
    |
305 |         Self::from_inner(unsafe { FromRawFd::from_raw_fd(raw_fd) })
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
    |
help: the trait `os::fd::raw::FromRawFd` is not implemented for `sys::pal::windows::handle::Handle`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `os::fd::raw::FromRawFd`:
              fs::File
---
    |
313 |         self.0.into_raw_fd()
    |                ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
313 -         self.0.into_raw_fd()
313 +         self.0.into_raw_handle()
---
    |
321 |         self.0.as_raw_fd()
    |                ^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `as_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::AsRawFd` defines an item `as_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:43:1
    |
 43 | pub trait AsRawFd {
    | ^^^^^^^^^^^^^^^^^
...
 70 |     fn as_raw_fd(&self) -> RawFd;
    |
help: there is a method `as_raw_handle` with a similar name
    |
321 -         self.0.as_raw_fd()
321 +         self.0.as_raw_handle()
    |

error[E0277]: the trait bound `sys::pal::windows::handle::Handle: os::fd::raw::FromRawFd` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:329:35
    |
329 |         Self::from_inner(unsafe { FromRawFd::from_raw_fd(raw_fd) })
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
    |
help: the trait `os::fd::raw::FromRawFd` is not implemented for `sys::pal::windows::handle::Handle`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `os::fd::raw::FromRawFd`:
              fs::File
---
    |
337 |         self.0.into_raw_fd()
    |                ^^^^^^^^^^^
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `into_raw_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::raw::IntoRawFd` defines an item `into_raw_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\raw.rs:120:1
    |
120 | pub trait IntoRawFd {
    | ^^^^^^^^^^^^^^^^^^^
...
146 |     fn into_raw_fd(self) -> RawFd;
    |
help: there is a method `into_raw_handle` with a similar name
    |
337 -         self.0.into_raw_fd()
337 +         self.0.into_raw_handle()
---

error[E0433]: failed to resolve: could not resolve path `libc::fcntl`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:129:31
    |
129 |         let fd = cvt(unsafe { libc::fcntl(self.as_raw_fd(), cmd, 3) })?;
    |                               ^^^^^^^^^^^ could not resolve path `libc::fcntl`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0433]: failed to resolve: could not resolve path `libc::close`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:221:25
    |
221 |                 let _ = libc::close(self.fd.as_inner());
    |                         ^^^^^^^^^^^ could not resolve path `libc::close`
    |
    = note: this error was originally ignored because you are running `rustdoc`
    = note: try running again with `rustc` or `cargo check` and you may get a more detailed error

error[E0599]: the method `as_fd` exists for reference `&sys::fs::windows::File`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:323:25
    |
323 |         self.as_inner().as_fd()
    |                         ^^^^^ method cannot be called on `&sys::fs::windows::File` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\fs\windows.rs:31:1
    |
 31 | pub struct File {
    | --------------- doesn't satisfy `sys::fs::windows::File: os::fd::owned::AsFd`
    |
note: trait bound `sys::fs::windows::File: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:333:9
    |
332 |     fn from(file: fs::File) -> OwnedFd {
    |                                ------- expected `os::fd::owned::OwnedFd` because of return type
333 |         file.into_inner().into_inner().into_inner()
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `OwnedHandle`

error[E0277]: the trait bound `sys::pal::windows::handle::Handle: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:344:70
    |
344 |         Self::from_inner(FromInner::from_inner(FromInner::from_inner(owned_fd)))
    |                                                --------------------- ^^^^^^^^ unsatisfied trait bound
    |                                                |
    |                                                required by a bound introduced by this call
    |
help: the trait `FromInner<os::fd::owned::OwnedFd>` is not implemented for `sys::pal::windows::handle::Handle`
      but trait `FromInner<os::windows::io::handle::OwnedHandle>` is implemented for it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:45:1
    |
 45 | impl FromInner<OwnedHandle> for Handle {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = help: for that trait implementation, expected `os::windows::io::handle::OwnedHandle`, found `os::fd::owned::OwnedFd`

error[E0599]: the method `as_fd` exists for reference `&sys::net::connection::socket::windows::Socket`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:353:34
    |
353 |         self.as_inner().socket().as_fd()
    |                                  ^^^^^ method cannot be called on `&sys::net::connection::socket::windows::Socket` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::net::connection::socket::windows::Socket: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:363:60
    |
363 |         tcp_stream.into_inner().into_socket().into_inner().into_inner()
    |         ----------              -------------              ^^^^^^^^^^ method not found in `os::windows::io::socket::OwnedSocket`
    |         |                       |
    |         |                       method `into_inner` is available on `sys::net::connection::socket::windows::Socket`
    |         method `into_inner` is available on `net::tcp::TcpStream`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
---
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 50 |     fn into_inner(self) -> Inner;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:373:13
    |
372 |         Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner(
    |                                                                      --------------------- required by a bound introduced by this call
373 |             owned_fd,
    |             ^^^^^^^^ unsatisfied trait bound
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: the method `as_fd` exists for reference `&sys::net::connection::socket::windows::Socket`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:383:34
    |
383 |         self.as_inner().socket().as_fd()
    |                                  ^^^^^ method cannot be called on `&sys::net::connection::socket::windows::Socket` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::net::connection::socket::windows::Socket: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:393:62
    |
393 |         tcp_listener.into_inner().into_socket().into_inner().into_inner()
    |         ------------              -------------              ^^^^^^^^^^ method not found in `os::windows::io::socket::OwnedSocket`
    |         |                         |
    |         |                         method `into_inner` is available on `sys::net::connection::socket::windows::Socket`
    |         method `into_inner` is available on `net::tcp::TcpListener`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
---
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 50 |     fn into_inner(self) -> Inner;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:403:13
    |
402 |         Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner(
    |                                                                      --------------------- required by a bound introduced by this call
403 |             owned_fd,
    |             ^^^^^^^^ unsatisfied trait bound
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

error[E0599]: the method `as_fd` exists for reference `&sys::net::connection::socket::windows::Socket`, but its trait bounds were not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:413:34
    |
413 |         self.as_inner().socket().as_fd()
    |                                  ^^^^^ method cannot be called on `&sys::net::connection::socket::windows::Socket` due to unsatisfied trait bounds
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\net\connection\socket\windows.rs:117:1
    |
117 | pub struct Socket(OwnedSocket);
    | ----------------- doesn't satisfy `_: AsFd`
    |
note: trait bound `sys::net::connection::socket::windows::Socket: os::fd::owned::AsFd` was not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:284:9
    |
284 | impl<T: AsFd + ?Sized> AsFd for &T {
    |         ^^^^           ----     --
    |         |
    |         unsatisfied trait bound introduced here
note: the trait `os::fd::owned::AsFd` must be implemented
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0599]: no method named `into_inner` found for struct `os::windows::io::socket::OwnedSocket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:423:60
    |
423 |         udp_socket.into_inner().into_socket().into_inner().into_inner()
    |         ----------              -------------              ^^^^^^^^^^ method not found in `os::windows::io::socket::OwnedSocket`
    |         |                       |
    |         |                       method `into_inner` is available on `sys::net::connection::socket::windows::Socket`
    |         method `into_inner` is available on `net::udp::UdpSocket`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
---
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 50 |     fn into_inner(self) -> Inner;
    |

error[E0277]: the trait bound `os::windows::io::socket::OwnedSocket: sys::FromInner<os::fd::owned::OwnedFd>` is not satisfied
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:433:13
    |
432 |         Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner(
    |                                                                      --------------------- required by a bound introduced by this call
433 |             owned_fd,
    |             ^^^^^^^^ unsatisfied trait bound
    |
help: the trait `sys::FromInner<os::fd::owned::OwnedFd>` is not implemented for `os::windows::io::socket::OwnedSocket`
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\windows\io\socket.rs:50:1
    |
 50 | pub struct OwnedSocket {
    | ^^^^^^^^^^^^^^^^^^^^^^
    = help: the following other types implement trait `sys::FromInner<Inner>`:
              `ffi::os_str::OsString` implements `sys::FromInner<sys::os_str::wtf8::Buf>`
              `fs::Dir` implements `sys::FromInner<sys::fs::windows::dir::Dir>`
              `fs::File` implements `sys::FromInner<sys::fs::windows::File>`
              `fs::Metadata` implements `sys::FromInner<sys::fs::windows::FileAttr>`
              `fs::Permissions` implements `sys::FromInner<sys::fs::windows::FilePermissions>`
              `io::pipe::PipeReader` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `io::pipe::PipeWriter` implements `sys::FromInner<sys::pal::windows::handle::Handle>`
              `net::tcp::TcpListener` implements `sys::FromInner<sys::net::connection::socket::TcpListener>`
            and 20 others

[RUSTC-TIMING] std test:false 7.219
error[E0599]: no method named `as_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:540:16
    |
540 |         self.0.as_fd()
    |                ^^^^^ method not found in `sys::pal::windows::handle::Handle`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `as_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:548:9
    |
547 |     fn from(pipe: io::PipeReader) -> Self {
    |                                      ---- expected `os::fd::owned::OwnedFd` because of return type
548 |         pipe.0.into_inner()
    |         ^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `OwnedHandle`

error[E0599]: no method named `as_fd` found for struct `sys::pal::windows::handle::Handle` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:556:16
    |
556 |         self.0.as_fd()
    |                ^^^^^ method not found in `sys::pal::windows::handle::Handle`
    |
   ::: /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\sys\pal\windows\handle.rs:16:1
    |
 16 | pub struct Handle(OwnedHandle);
    | ----------------- method `as_fd` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::fd::owned::AsFd` defines an item `as_fd`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:263:1
    |
263 | pub trait AsFd {
    | ^^^^^^^^^^^^^^
...
280 |     fn as_fd(&self) -> BorrowedFd<'_>;
    |

error[E0308]: mismatched types
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\fd\owned.rs:564:9
    |
563 |     fn from(pipe: io::PipeWriter) -> Self {
    |                                      ---- expected `os::fd::owned::OwnedFd` because of return type
564 |         pipe.0.into_inner()
    |         ^^^^^^^^^^^^^^^^^^^ expected `OwnedFd`, found `OwnedHandle`

    Checking rustc-std-workspace-std v1.99.0 (C:\a\rust\rust\library\rustc-std-workspace-std)
 Documenting proc_macro v0.0.0 (C:\a\rust\rust\library\proc_macro)
error[E0599]: no method named `passcred` found for reference `&sys::net::connection::socket::windows::Socket` in the current scope
  --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\net\linux_ext\socket.rs:55:25
---

error[E0599]: no method named `set_quickack` found for reference `&sys::net::connection::socket::windows::Socket` in the current scope
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\net\linux_ext\tcp.rs:135:36
    |
135 |         self.as_inner().as_inner().set_quickack(quickack)
    |                                    ^^^^^^^^^^^^ method not found in `&sys::net::connection::socket::windows::Socket`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::net::linux_ext::tcp::TcpStreamExt` defines an item `set_quickack`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\net\linux_ext\tcp.rs:14:1
    |
 14 | pub impl(self) trait TcpStreamExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
 45 |     fn set_quickack(&self, quickack: bool) -> io::Result<()>;
---
139 |         self.as_inner().as_inner().quickack()
    |                                    ^^^^^^^^ method not found in `&sys::net::connection::socket::windows::Socket`
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `os::net::linux_ext::tcp::TcpStreamExt` defines an item `quickack`, perhaps you need to implement it
   --> /rustc/29dea40c85198f18767441fd1780d50ccdc2542c/library/std\src\os\net\linux_ext\tcp.rs:14:1
    |
 14 | pub impl(self) trait TcpStreamExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
 73 |     fn quickack(&self) -> io::Result<bool>;
---
 Documenting test v0.0.0 (C:\a\rust\rust\library\test)
Some errors have detailed explanations: E0277, E0308, E0433, E0599, E0609.
For more information about an error, try `rustc --explain E0277`.
error: could not document `std`
Command `C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage0\bin\cargo.exe doc --target aarch64-pc-windows-msvc -Zrustdoc-mergeable-info -Zbinary-dep-depinfo -j 4 -Zroot-dir=C:\a\rust\rust -Ztrim-paths --config profile.release.trim-paths='all' --config profile.dev.trim-paths='all' -Zembed-metadata=no --locked --color=always --profile=dist -p alloc -p compiler_builtins -p core -p panic_abort -p panic_unwind -p proc_macro -p profiler_builtins -p rustc-std-workspace-core -p std -p std_detect -p sysroot -p test -p unwind --features 'backtrace panic-unwind profiler compiler-builtins-c' --manifest-path C:\a\rust\rust\library/sysroot/Cargo.toml --no-deps --target-dir C:\a\rust\rust\build\aarch64-pc-windows-msvc\stage1-std\aarch64-pc-windows-msvc\doc -Zrustdoc-map [workdir=C:\a\rust\rust]` failed with exit code 101
Created at: src\bootstrap\src\core\build_steps\doc.rs:838:21
Executed at: src\bootstrap\src\core\build_steps\doc.rs:769:30

Command has failed. Rerun with -v to see more details.
Bootstrap failed while executing `dist bootstrap --include-default-paths`
Currently active steps:
dist::Docs { host: aarch64-pc-windows-msvc } at src\bootstrap\src\core\build_steps\dist.rs:108
doc::Std { build_compiler: Compiler { stage: 1, host: aarch64-pc-windows-msvc, forced_compiler: false }, target: aarch64-pc-windows-msvc, format: Html, crates: ["alloc", "compiler_builtins", "core", "panic_abort", "panic_unwind", "proc_macro", "profiler_builtins", "rustc-std-workspace-core", "std", "std_detect", "sysroot", "test", "unwind"] } at src\bootstrap\src\core\build_steps\doc.rs:666
Build completed unsuccessfully in 0:31:17
  local time: Sat Oct 24 19:50:51 PDT 2026

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 25, 2026
@rust-bors

rust-bors Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 29dea40 failed: CI. Failed job:

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 25, 2026
@rust-bors

rust-bors Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

PR #161362, which is a member of this rollup, was unapproved.

@jieyouxu

Copy link
Copy Markdown
Member

Likely #161362
@bors r-

@rust-bors

rust-bors Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

This pull request was not previously approved.

@jieyouxu jieyouxu closed this Oct 25, 2026
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 25, 2026
@jhpratt
jhpratt deleted the rollup-XfpZ7DW branch October 25, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc O-apple Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS) O-linux Operating system: Linux O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ O-windows Operating system: Windows rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.