Repository navigation
Closed
Closed
Copy link
Labels
-Zbuild-stdUnstable cargo option: -Zbuild-stdC-bugCategory: This is a bug.O-hermitOperating System: HermitT-libsRelevant to the library team, which will review and decide on the PR/issue.
Description
rustc 1.101.0-nightly (8006091 2026-10-17)
build with -Zbuild-std
affected targets:
aarch64-unknown-hermit aarch64_be-unknown-hermit riscv64gc-unknown-hermit x86_64-unknown-hermit
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:534:61
│
534 │ setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS, limit as c_int)
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:546:74
│
546 │ unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS)? };
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:687:61
│
687 │ setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS, limit as c_int)
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:699:74
│
699 │ unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS)? };
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:932:61
│
932 │ setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS, limit as c_int)
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_UNICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:944:74
│
944 │ unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_UNICAST_HOPS)? };
╰╴ ━━━━━━━━━━━━━━━━━ not found in `c`
error[: cannot find value `IPV6_MULTICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:957:61
│
957 │ setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_HOPS, limit as c_int)
│ ━━━━━━━━━━━━━━━━━━━ not found in `c`
╰╴
note: similarly named constant `IPV6_MULTICAST_LOOP` defined here
─▸ /cargo/registry/25cdd57fae9f0462/hermit-abi-0.5.3/src/lib.rs:102:0
help: a constant with a similar name exists
╭╴
957 - setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_HOPS, limit as c_int)
957 + setsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_LOOP, limit as c_int)
╰╴
error[: cannot find value `IPV6_MULTICAST_HOPS` in crate `c`
╭▸ /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/sys/net/connection/socket/mod.rs:969:74
│
969 │ unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_HOPS)? };
│ ━━━━━━━━━━━━━━━━━━━ not found in `c`
╰╴
note: similarly named constant `IPV6_MULTICAST_LOOP` defined here
─▸ /cargo/registry/25cdd57fae9f0462/hermit-abi-0.5.3/src/lib.rs:102:0
help: a constant with a similar name exists
╭╴
969 - unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_HOPS)? };
969 + unsafe { getsockopt(&self.inner, c::IPPROTO_IPV6, c::IPV6_MULTICAST_LOOP)? };
╰╴
For more information about this error, try `rustc --explain E0425`.
error: could not compile `std` (lib) due to 8 previous errors
maybe pertained to #138744 PR
Metadata
Metadata
Assignees
Labels
-Zbuild-stdUnstable cargo option: -Zbuild-stdC-bugCategory: This is a bug.O-hermitOperating System: HermitT-libsRelevant to the library team, which will review and decide on the PR/issue.
Activity
[-]hermit building due to `IPV6_UNICAST_HOPS` missing[/-][+]hermit building failed due to `IPV6_UNICAST_HOPS` missing[/+][-]hermit building failed due to `IPV6_UNICAST_HOPS` missing[/-][+]hermit building failed due to `IPV6_UNICAST_HOPS` and ``IPV6_MULTICAST_HOPS`` missing[/+]Tushar15769 commentedon Oct 18, 2026
maxdexh commentedon Oct 18, 2026
@Tushar15769
Please make sure to follow the LLM policy. You can use
@rustbot claimto assign yourself to the issue.Tushar15769 commentedon Oct 18, 2026
xtqqczze commentedon Nov 1, 2026
@rustbot claim
Rollup merge of rust-lang#164771 - xtqqczze:GH94678, r=joboet
Unrolled build for #164771 in rollup 165361
Rollup merge of #164771 - xtqqczze:GH94678, r=joboet