Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #120731

Closed
wants to merge 24 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

heiher and others added 24 commits January 16, 2024 19:15
The new flag has been described in the Major Change Proposal at
rust-lang/compiler-team#707
Ignoring unused bindings should be a determination made by a human, `rustfix` shouldn't auto-apply the suggested change.

Fix rust-lang#54196.
…, r=petrochenkov

Add unstable `-Z direct-access-external-data` cmdline flag for `rustc`

The new flag has been described in the Major Change Proposal at rust-lang/compiler-team#707

Fixes rust-lang#118053
…rors

resolve: Unload speculatively resolved crates before freezing cstore

Name resolution sometimes loads additional crates to improve diagnostics (e.g. suggest imports).
Not all of these diagnostics result in errors, sometimes they are just warnings, like in rust-lang#117772.

If additional crates loaded speculatively stay and gets listed by things like `query crates` then they may produce further errors like duplicated lang items, because lang items from speculatively loaded crates are as good as from non-speculatively loaded crates.
They can probably do things like adding unintended impls from speculatively loaded crates to method resolution as well.
The extra crates will also get into the crate's metadata as legitimate dependencies.

In this PR I remove the speculative crates from cstore when name resolution is finished and cstore is frozen.
This is better than e.g. filtering away speculative crates in `query crates` because things like `DefId`s referring to these crates and leaking to later compilation stages can produce ICEs much easier, allowing to detect them.

The unloading could potentially be skipped if any errors were reported (to allow using `DefId`s from speculatively loaded crates for recovery), but I didn't do it in this PR because I haven't seen such cases of recovery. We can reconsider later if any relevant ICEs are reported.

Unblocks rust-lang#117772.
…oli-obk

Make it so that async-fn-in-trait is compatible with a concrete future in implementation

There's no technical reason why an AFIT like `async fn foo()` cannot be satisfied with an implementation signature like `fn foo() -> Pin<Box<dyn Future<Output = ()> + 'static>>`.

We rejected this previously because we were uncertain about how AFITs worked with refinement, but I don't believe this needs to be a restriction any longer.

r? oli-obk
…illot

 Add FileCheck annotations to MIR-opt SROA tests

Part of rust-lang#116971, adds FileCheck annotations to SROA MIR-opt tests in `tests/mir-opt/sroa` and a few uncategorized files.

r? cjgillot
…rrors

Mark "unused binding" suggestion as maybe incorrect

Ignoring unused bindings should be a determination made by a human, `rustfix` shouldn't auto-apply the suggested change.

Fix rust-lang#54196.
Assert that params with the same *index* have the same *name*

Found this bug when trying to build libcore with the new solver, since it will canonicalize two params with the same index into *different* placeholders if those params differ by name.
…rrors

pattern_analysis: gather up place-relevant info

We track 3 things about each place during exhaustiveness: its type, its (data) validity, and whether it's the scrutinee place. This PR gathers all three into a single struct.

r? ```@compiler-errors```
…crum

Don't use bashism in checktools.sh

`if [[` doesn't work because this is a `/bin/sh` script. We were never running the success side of this `if` at all.
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Feb 7, 2024
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=8

@bors
Copy link
Contributor

bors commented Feb 7, 2024

📌 Commit 8924c26 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors 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 Feb 7, 2024
@bors
Copy link
Contributor

bors commented Feb 7, 2024

⌛ Testing commit 8924c26 with merge 9e350cf...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 7, 2024
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#119162 (Add unstable `-Z direct-access-external-data` cmdline flag for `rustc`)
 - rust-lang#119592 (resolve: Unload speculatively resolved crates before freezing cstore)
 - rust-lang#120103 (Make it so that async-fn-in-trait is compatible with a concrete future in implementation)
 - rust-lang#120455 ( Add FileCheck annotations to MIR-opt SROA tests)
 - rust-lang#120470 (Mark "unused binding" suggestion as maybe incorrect)
 - rust-lang#120619 (Assert that params with the same *index* have the same *name*)
 - rust-lang#120633 (pattern_analysis: gather up place-relevant info)
 - rust-lang#120726 (Don't use bashism in checktools.sh)

r? `@ghost`
`@rustbot` modify labels: rollup
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-integration failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

warning: trait `FakeNetworkLinks` is never used
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1833:22
     |
1833 |     pub(crate) trait FakeNetworkLinks<SendMeta, RecvMeta, CtxId> {

warning: struct `LoopLimitReachedError` is never constructed
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1876:23
     |
---

warning: trait `FakeStrongDeviceId` is never used
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/device/base.rs:552:15
    |
552 |     pub trait FakeStrongDeviceId: StrongId<Weak = FakeWeakDeviceId<Self>> + 'static + Ord {}

warning: method `filter_handler` is never used
##[warning]  --> ../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8
   |
---

warning: trait `FakeNetworkLinks` is never used
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1833:22
     |
1833 |     pub(crate) trait FakeNetworkLinks<SendMeta, RecvMeta, CtxId> {


warning: struct `LoopLimitReachedError` is never constructed
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1876:23
---

warning: trait `FakeStrongDeviceId` is never used
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/device/base.rs:552:15
    |
552 |     pub trait FakeStrongDeviceId: StrongId<Weak = FakeWeakDeviceId<Self>> + 'static + Ord {}


warning: method `filter_handler` is never used
##[warning]  --> ../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8
---

warning: 1 warning emitted


FAILED: gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test.clippy 
../../build/rust/clippy_wrapper.sh --output gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test.clippy --jq ../../prebuilt/third_party/jq/linux-x64/bin/jq --fail -- env  ../../../install/bin/clippy-driver ../../src/connectivity/network/netstack3/core/src/lib.rs --sysroot=../../../install --crate-type=bin --cfg=__rust_toolchain=\"2024/02/07\ 08:29:34\" -L gen/zircon/public/sysroot/cpp/lib -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/lld -Clink-arg=--sysroot=gen/zircon/public/sysroot/cpp -Clink-arg=-L../../prebuilt/third_party/clang/linux-x64/bin/../lib/x86_64-unknown-fuchsia/noexcept -Clink-arg=-L../../prebuilt/third_party/clang/linux-x64/lib/clang/18/lib/x86_64-unknown-fuchsia -Clink-arg=--pack-dyn-relocs=relr -Clink-arg=-dynamic-linker=ld.so.1 -Clink-arg=--icf=all -Clink-arg=-zrel -Zremap-cwd-prefix=. -Cforce-frame-pointers -Copt-level=0 -Cdebuginfo=0 -Clink-arg=--compress-debug-sections=zstd -Cdebug-assertions=yes -Zallow-features= --target x86_64-fuchsia --cap-lints=warn -Wrust-2018-idioms -Dderef-nullptr -Dinvalid-value -Dunused-must-use -Awhere_clauses_object_safety -Dwarnings -Cprefer-dynamic -Clink-args=-zstack-size=0x200000 -Cpanic=abort -Cforce-unwind-tables=yes -Zpanic_abort_tests -Csymbol-mangling-version=v0 -Wunused_crate_dependencies -Dunused_results --edition=2021 -Aclippy::all -Dclippy::correctness -Dclippy::missing_safety_doc -Wclippy::expect_fun_call -Wclippy::unnecessary_mut_passed --cfg=fidl_rust_transition_step=\"migrate_all_results\" --cfg=feature=\"instrumented\" --test
jq: parse error: Invalid literal at line 8, column 7
{"$message_type":"diagnostic","message":"struct `LoopLimitReachedError` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/context.rs","byte_start":64361,"byte_end":64382,"line_start":1876,"line_end":1876,"column_start":23,"column_end":44,"is_primary":true,"text":[{"text":"    pub(crate) struct LoopLimitReachedError;","highlight_start":23,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`LoopLimitReachedError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`-D dead-code` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"to override `-D warnings` add `#[allow(dead_code)]`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: struct `LoopLimitReachedError` is never constructed\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/context.rs:1876:23\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1876\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    pub(crate) struct LoopLimitReachedError;\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                      \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `LoopLimitReachedError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `-D dead-code` implied by `-D warnings`\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: to override `-D warnings` add `#[allow(dead_code)]`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"trait `UnwrapNdp` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/device/ndp.rs","byte_start":40926,"byte_end":40935,"line_start":1048,"line_end":1048,"column_start":11,"column_end":20,"is_primary":true,"text":[{"text":"    trait UnwrapNdp<B: ByteSlice> {","highlight_start":11,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: trait `UnwrapNdp` is never used\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/device/ndp.rs:1048:11\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1048\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    trait UnwrapNdp<B: ByteSlice> {\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `filter_handler` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/filter/integration.rs","byte_start":432,"byte_end":453,"line_start":13,"line_end":13,"column_start":18,"column_end":39,"is_primary":false,"text":[{"text":"pub(crate) trait FilterHandlerProvider<I: IpExt, BC: FilterBindingsTypes> {","highlight_start":18,"highlight_end":39}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/filter/integration.rs","byte_start":570,"byte_end":584,"line_start":18,"line_end":18,"column_start":8,"column_end":22,"is_primary":true,"text":[{"text":"    fn filter_handler(&mut self) -> Self::Handler<'_>;","highlight_start":8,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `filter_handler` is never used\u001b[0m\n\u001b[0m  \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m13\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait FilterHandlerProvider<I: IpExt, BC: FilterBindingsTypes> {\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m---------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m18\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn filter_handler(&mut self) -> Self::Handler<'_>;\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"associated function `next_hop_addr` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs","byte_start":16402,"byte_end":16411,"line_start":482,"line_end":482,"column_start":11,"column_end":20,"is_primary":false,"text":[{"text":"    trait TestIpExt: crate::testutil::TestIpExt {","highlight_start":11,"highlight_end":20}],"label":"associated function in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs","byte_start":16658,"byte_end":16671,"line_start":490,"line_end":490,"column_start":12,"column_end":25,"is_primary":true,"text":[{"text":"        fn next_hop_addr() -> SpecifiedAddr<Self::Addr>;","highlight_start":12,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: associated function `next_hop_addr` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs:490:12\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m482\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    trait TestIpExt: crate::testutil::TestIpExt {\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m---------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12massociated function in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m490\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m        fn next_hop_addr() -> SpecifiedAddr<Self::Addr>;\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m           \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `with_icmp_sockets` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/icmp.rs","byte_start":22915,"byte_end":22931,"line_start":694,"line_end":694,"column_start":11,"column_end":27,"is_primary":false,"text":[{"text":"pub trait InnerIcmpContext<I: IcmpIpExt + IpExt, BC: IcmpBindingsContext<I, Self::DeviceId>>:","highlight_start":11,"highlight_end":27}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/icmp.rs","byte_start":25820,"byte_end":25837,"line_start":754,"line_end":754,"column_start":8,"column_end":25,"is_primary":true,"text":[{"text":"    fn with_icmp_sockets<O, F: FnOnce(&BoundSockets<I, Self::WeakDeviceId>) -> O>(","highlight_start":8,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `with_icmp_sockets` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/ip/icmp.rs:754:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m694\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub trait InnerIcmpContext<I: IcmpIpExt + IpExt, BC: IcmpBindingsContext<I, Self::DeviceId>>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m754\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn with_icmp_sockets<O, F: FnOnce(&BoundSockets<I, Self::WeakDeviceId>) -> O>(\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `with_bound_state_context` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":18768,"byte_end":18788,"line_start":561,"line_end":561,"column_start":18,"column_end":38,"is_primary":false,"text":[{"text":"pub(crate) trait DatagramStateContext<I: IpExt, BC, S: DatagramSocketSpec>:","highlight_start":18,"highlight_end":38}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":19721,"byte_end":19745,"line_start":587,"line_end":587,"column_start":8,"column_end":32,"is_primary":true,"text":[{"text":"    fn with_bound_state_context<O, F: FnOnce(&mut Self::SocketsStateCtx<'_>) -> O>(","highlight_start":8,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `with_bound_state_context` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/socket/datagram.rs:587:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m561\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait DatagramStateContext<I: IpExt, BC, S: DatagramSocketSpec>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m587\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn with_bound_state_context<O, F: FnOnce(&mut Self::SocketsStateCtx<'_>) -> O>(\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `from_other_ip_addr` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":24371,"byte_end":24405,"line_start":719,"line_end":719,"column_start":18,"column_end":52,"is_primary":false,"text":[{"text":"pub(crate) trait DualStackDatagramBoundStateContext<I: IpExt, BC, S: DatagramSocketSpec>:","highlight_start":18,"highlight_end":52}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":27265,"byte_end":27283,"line_start":785,"line_end":785,"column_start":8,"column_end":26,"is_primary":true,"text":[{"text":"    fn from_other_ip_addr(&self, addr: <I::OtherVersion as Ip>::Addr) -> I::Addr;","highlight_start":8,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `from_other_ip_addr` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/socket/datagram.rs:785:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m719\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait DualStackDatagramBoundStateContext<I: IpExt, BC, S: DatagramSocketSpec>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----------------------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m785\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn from_other_ip_addr(&self, addr: <I::OtherVersion as Ip>::Addr) -> I::Addr;\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
thread 'rustc' panicked at /checkout/compiler/rustc_middle/src/ty/relate.rs:439:13:
assertion `left == right` failed: param types with same index differ in name
  left: "I"
 right: "CC"
   0:     0x7fb48548c5a9 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hdf986f627f57c340
   1:     0x7fb4854f51cf - core::fmt::write::hc6389f0eadeee91b
   2:     0x7fb485480e05 - std::io::Write::write_fmt::h314cf8001ece5abd
   3:     0x7fb48548c384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   3:     0x7fb48548c384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   4:     0x7fb48548f66a - std::panicking::default_hook::{{closure}}::hd02723d5b1a9b749
   5:     0x7fb48548f345 - std::panicking::default_hook::h1c5f0b6725319619
   6:     0x7fb48619a5b7 - <alloc[d701954837a7923d]::boxed::Box<rustc_driver_impl[c23d2a2ac1cc904b]::install_ice_hook::{closure#0}> as core[e3694978a9cea066]::ops::function::Fn<(&dyn for<'a, 'b> core[e3694978a9cea066]::ops::function::Fn<(&'a core[e3694978a9cea066]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[e3694978a9cea066]::marker::Send + core[e3694978a9cea066]::marker::Sync, &core[e3694978a9cea066]::panic::panic_info::PanicInfo)>>::call
   8:     0x7fb48548fad2 - std::panicking::begin_panic_handler::{{closure}}::h4a7223b0c9500075
   9:     0x7fb48548cb86 - std::sys_common::backtrace::__rust_end_short_backtrace::hdcfeb47d552cfb99
  10:     0x7fb48548f7e4 - rust_begin_unwind
  11:     0x7fb4854471b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  11:     0x7fb4854471b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  12:     0x7fb4854477af - core::panicking::assert_failed_inner::h9d9fe4751d868ccd
  13:     0x7fb485ff866f - core[e3694978a9cea066]::panicking::assert_failed::<rustc_span[66a0eb329c665e58]::symbol::Symbol, rustc_span[66a0eb329c665e58]::symbol::Symbol>
  14:     0x7fb4889775ac - rustc_middle[6e5000a7f52a684f]::ty::relate::structurally_relate_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  15:     0x7fb48886a8b5 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::super_combine_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  16:     0x7fb4889a9964 - <rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate as rustc_middle[6e5000a7f52a684f]::ty::relate::TypeRelation>::tys
  17:     0x7fb48863f5d5 - <rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  18:     0x7fb488719195 - <core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError> as rustc_type_ir[48e87e1ddab37847]::interner::CollectAndApply<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, &rustc_middle[6e5000a7f52a684f]::ty::list::List<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>::collect_and_apply::<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, <rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt>::mk_args_from_iter<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError>>::{closure#0}>
  19:     0x7fb4885115f5 - <rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>
  20:     0x7fb4886fc403 - <rustc_infer[c5ec2755c05fd765]::infer::relate::combine::CombineFields>::higher_ranked_sub::<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>
  21:     0x7fb48856a3a4 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::commit_if_ok::<rustc_infer[c5ec2755c05fd765]::infer::InferOk<()>, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError, <rustc_infer[c5ec2755c05fd765]::infer::at::Trace>::sub<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>::{closure#0}>
  22:     0x7fb4884fcfee - <rustc_infer[c5ec2755c05fd765]::infer::at::At>::sub_exp::<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>
  23:     0x7fb4886060fe - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::match_where_clause_trait_ref
  24:     0x7fb48857a93b - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::where_clause_may_apply::{closure#0}>::{closure#0}>
  25:     0x7fb488609ca7 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates_from_caller_bounds
  26:     0x7fb4886088d2 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates
  27:     0x7fb4885febc0 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation_no_cache
  28:     0x7fb4884cf71f - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>
  29:     0x7fb48861cedf - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation
  30:     0x7fb488602eb3 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_stack
  31:     0x7fb4884f5a05 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task::<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}
  32:     0x7fb4884d0bd0 - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>
  33:     0x7fb488622374 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  34:     0x7fb48861fa94 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_predicate_recursively
  35:     0x7fb48857ae1e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>::{closure#0}>
  36:     0x7fb487d4e6d3 - rustc_traits[a171b3f71ed6643]::evaluate_obligation::evaluate_obligation
  37:     0x7fb487e8657c - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>
  38:     0x7fb487fa1b56 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>)>>::call_once
  39:     0x7fb48821fc15 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  40:     0x7fb4880b756e - rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7fb4885a339e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  42:     0x7fb4885a3b51 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  43:     0x7fb4884b62b5 - rustc_trait_selection[67c06de35772c77a]::traits::type_known_to_meet_bound_modulo_regions
  44:     0x7fb4866fffda - rustc_ty_utils[605621cfd568dbee]::common_traits::is_item_raw
  45:     0x7fb487e752cd - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>
  46:     0x7fb487f2e199 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>)>>::call_once
  47:     0x7fb48823420d - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  48:     0x7fb48803adfb - rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::get_query_non_incr::__rust_end_short_backtrace
  49:     0x7fb4894be20e - rustc_middle[6e5000a7f52a684f]::query::plumbing::query_get_at::<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>>
  50:     0x7fb4894af728 - <rustc_middle[6e5000a7f52a684f]::ty::Ty>::is_copy_modulo_regions
  51:     0x5607d3020a77 - <core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::FieldDef> as core[e3694978a9cea066]::iter::traits::iterator::Iterator>::all::<<clippy_lints[e27128bdfb6bcd2]::default::Default as rustc_lint[259b0326d632a76]::passes::LateLintPass>::check_block::{closure#1}>
  52:     0x5607d305268a - <clippy_lints[e27128bdfb6bcd2]::default::Default as rustc_lint[259b0326d632a76]::passes::LateLintPass>::check_block
  53:     0x7fb488402162 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  54:     0x7fb4882dac07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  55:     0x7fb4884019af - rustc_hir[ff40637095421666]::intravisit::walk_body::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  56:     0x7fb4882d9155 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_body
  57:     0x7fb4884049f8 - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  58:     0x7fb4882d1224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  59:     0x7fb488404a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  60:     0x7fb4882d1224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  61:     0x7fb488404a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  62:     0x7fb4882d1224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  63:     0x7fb488404a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  64:     0x7fb4882d1224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  65:     0x7fb4882c949c - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}::{closure#0}>
  66:     0x7fb4882ca4af - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}>
  67:     0x7fb48831632c - rustc_data_structures[cae197669f5e2251]::sync::parallel::disabled::join::<rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}, rustc_lint[259b0326d632a76]::late::check_crate::{closure#1}, (), ()>
  68:     0x7fb4882e0b72 - rustc_lint[259b0326d632a76]::late::check_crate
  69:     0x7fb4863c6dd9 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#1}::{closure#0}::{closure#2}::{closure#0}>
  70:     0x7fb4863cb28b - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#0}::{closure#2}>
  71:     0x7fb48647cffb - std[93f214e0827fcdbb]::panicking::try::<(), core[e3694978a9cea066]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#1}::{closure#0}>>
  72:     0x7fb4863c9179 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}>
  73:     0x7fb48641111a - rustc_interface[7487215266ab057d]::passes::analysis
  74:     0x7fb487e989b3 - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>
  75:     0x7fb4880b06e1 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, ())>>::call_once
  76:     0x7fb4882027b0 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::SingleCache<rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  77:     0x7fb487fa99f1 - rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  78:     0x7fb486170f6b - <rustc_middle[6e5000a7f52a684f]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  79:     0x7fb4861fb4bc - <rustc_interface[7487215266ab057d]::interface::Compiler>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_interface[7487215266ab057d]::queries::Linker>, rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  80:     0x7fb48621ab84 - rustc_span[66a0eb329c665e58]::set_source_map::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  81:     0x7fb48618d427 - <scoped_tls[5601265e1082ea9c]::ScopedKey<rustc_span[66a0eb329c665e58]::SessionGlobals>>::set::<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  82:     0x7fb48621b0d9 - rustc_span[66a0eb329c665e58]::create_session_globals_then::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}>
  83:     0x7fb4861b184e - std[93f214e0827fcdbb]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  84:     0x7fb4861b59a1 - <<std[93f214e0827fcdbb]::thread::Builder>::spawn_unchecked_<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#1} as core[e3694978a9cea066]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  86:     0x7fb48517eac3 - <unknown>
  87:     0x7fb485210850 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml

note: please attach the file at `/checkout/obj/fuchsia/out/default/rustc-ice-2024-02-07T08_37_21-69701.txt` to your bug report

note: compiler flags: --crate-type bin -C linker=../../prebuilt/third_party/clang/linux-x64/bin/lld -C link-arg=--sysroot=gen/zircon/public/sysroot/cpp -C link-arg=-L../../prebuilt/third_party/clang/linux-x64/bin/../lib/x86_64-unknown-fuchsia/noexcept -C link-arg=-L../../prebuilt/third_party/clang/linux-x64/lib/clang/18/lib/x86_64-unknown-fuchsia -C link-arg=--pack-dyn-relocs=relr -C link-arg=-dynamic-linker=ld.so.1 -C link-arg=--icf=all -C link-arg=-zrel -Z remap-cwd-prefix=. -C force-frame-pointers -C opt-level=0 -C debuginfo=0 -C link-arg=--compress-debug-sections=zstd -C debug-assertions=yes -Z allow-features= -C prefer-dynamic -C link-args=-zstack-size=0x200000 -C panic=abort -C force-unwind-tables=yes -Z panic_abort_tests -C symbol-mangling-version=v0 -Z no_codegen
query stack during panic:
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `CC: core::marker::Copy`
#1 [is_copy_raw] computing whether `CC` is `Copy`
end of query stack
note: Clippy version: clippy 0.1.77 (9e350cfe 2024-02-07)


{"$message_type":"diagnostic","message":"7 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 7 warnings emitted\u001b[0m\n\n"}
FAILED: host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib 
../../prebuilt/third_party/python3/linux-x64/bin/python3 -S ../../build/tracer/restat_cacher.py --outputs host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib.d --  RUST_BACKTRACE=1 ../../../install/bin/rustc --color=always --crate-name netstack3_core ../../src/connectivity/network/netstack3/core/src/lib.rs --crate-type rlib --emit=dep-info=host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib.d,link -Zdep-info-omit-d-target --cfg=fidl_rust_transition_step=\"migrate_all_results\" --cfg=feature=\"instrumented\" --cfg=feature=\"testutils\" --cfg=__rust_toolchain=\"2024/02/07\ 08:29:34\" -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -Cdefault-linker-libraries -Clink-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -Clink-arg=--target=x86_64-unknown-linux-gnu -Clink-arg=-stdlib=libc++ -Clink-arg=--start-no-unused-arguments -Clink-arg=-unwindlib=libunwind -Clink-arg=-rtlib=compiler-rt -Clink-arg=--end-no-unused-arguments -Clink-arg=-fuse-ld=lld -Clink-arg=-Wl,--build-id -Zremap-cwd-prefix=. -Copt-level=0 -Cdebuginfo=0 -Clink-arg=-gz=zstd -Cdebug-assertions=yes -Zallow-features= --target x86_64-unknown-linux-gnu --cap-lints=warn -Wrust-2018-idioms -Dderef-nullptr -Dinvalid-value -Dunused-must-use -Awhere_clauses_object_safety -Dwarnings -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -Cdefault-linker-libraries -Clink-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -Clink-arg=--target=x86_64-unknown-linux-gnu -Clink-arg=-stdlib=libc++ -Clink-arg=--start-no-unused-arguments -Clink-arg=-unwindlib=libunwind -Clink-arg=-rtlib=compiler-rt -Clink-arg=--end-no-unused-arguments -Clink-arg=-fuse-ld=lld -Clink-arg=-Wl,--build-id -Clink-arg=-fPIE -Clink-arg=-pie -Clink-arg=-static-libstdc++ -Clink-arg=-Wl,-rpath=\$ORIGIN/ -Wunused_crate_dependencies -Dunused_results --cfg=loom -Copt-level=2 --edition=2021 -o host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib -Ldependency=host_x64/obj/src/lib/fakealloc -Ldependency=host_x64/obj/src/connectivity/network/netstack3/core/fakestd -Ldependency=host_x64/obj/src/connectivity/network/netstack3/core/lock-order -Ldependency=host_x64/obj/src/connectivity/network/netstack3/core/macros -Ldependency=host_x64/obj/src/connectivity/lib/net-types -Ldependency=host_x64/obj/third_party/rust_crates -Ldependency=host_x64/obj/src/connectivity/lib/packet-formats -Ldependency=host_x64/obj/src/connectivity/lib/internet-checksum -Ldependency=host_x64/obj/src/connectivity/network/lib/explicit -Ldependency=host_x64/obj/src/lib/const-unwrap -Ldependency=host_x64/obj/src/lib/network/packet -Ldependency=host_x64/obj/src/connectivity/network/lib/todo_unused -Ldependency=host_x64/obj/src/lib/cstr -Ldependency=host_x64/obj/src/lib/dense-map -Ldependency=host_x64/obj/src/lib/replace-with -Ldependency=host_x64/obj/src/connectivity/network/netstack3/core/filter/netstack3-filter-loom -Ldependency=host_x64/obj/src/connectivity/network/netstack3/core/sync/netstack3-sync-loom -Lnative=host_x64/obj/third_party/rust_crates/compat/generator -Clink-arg=-Bdynamic -Clink-arg=host_x64/obj/third_party/rust_crates/compat/generator/libasm.a --extern fakealloc=host_x64/obj/src/lib/fakealloc/libfakealloc.rlib --extern fakestd=host_x64/obj/src/connectivity/network/netstack3/core/fakestd/libfakestd.rlib --extern lock_order=host_x64/obj/src/connectivity/network/netstack3/core/lock-order/liblock_order.rlib --extern netstack3_macros=host_x64/obj/src/connectivity/network/netstack3/core/macros/libnetstack3_macros.so --extern net_types=host_x64/obj/src/connectivity/lib/net-types/libnet_types.rlib --extern zerocopy=host_x64/obj/third_party/rust_crates/libzerocopy-bac2c7f6d7cfcf1c.rlib --extern packet_formats=host_x64/obj/src/connectivity/lib/packet-formats/libpacket_formats.rlib --extern explicit=host_x64/obj/src/connectivity/network/lib/explicit/libexplicit.rlib --extern const_unwrap=host_x64/obj/src/lib/const-unwrap/libconst_unwrap.rlib --extern packet=host_x64/obj/src/lib/network/packet/libpacket.rlib --extern derivative=host_x64/obj/third_party/rust_crates/libderivative-ecd51d3b9027d2b0.so --extern thiserror=host_x64/obj/third_party/rust_crates/libthiserror-dcdc66d3bbb690d3.rlib --extern tracing=host_x64/obj/third_party/rust_crates/libtracing-979babe725aa0770.rlib --extern todo_unused=host_x64/obj/src/connectivity/network/lib/todo_unused/libtodo_unused.so --extern cstr=host_x64/obj/src/lib/cstr/libcstr.rlib --extern dense_map=host_x64/obj/src/lib/dense-map/libdense_map.rlib --extern replace_with=host_x64/obj/src/lib/replace-with/libreplace_with.rlib --extern assert_matches=host_x64/obj/third_party/rust_crates/libassert_matches-568351bf14d9d02.rlib --extern either=host_x64/obj/third_party/rust_crates/libeither-f4134ec734cf166b.rlib --extern hmac=host_x64/obj/third_party/rust_crates/libhmac-d6aaa775a3c1c26d.rlib --extern rand=host_x64/obj/third_party/rust_crates/librand-3acdc77c21a3a508.rlib --extern sha2=host_x64/obj/third_party/rust_crates/libsha2-b9671518cdc203e8.rlib --extern siphasher=host_x64/obj/third_party/rust_crates/libsiphasher-e2ef53c2b88c1cff.rlib --extern smallvec=host_x64/obj/third_party/rust_crates/libsmallvec-2ac5f197ec7958a6.rlib --extern netstack3_filter=host_x64/obj/src/connectivity/network/netstack3/core/filter/netstack3-filter-loom/libnetstack3_filter.rlib --extern netstack3_sync=host_x64/obj/src/connectivity/network/netstack3/core/sync/netstack3-sync-loom/libnetstack3_sync.rlib --extern rand_xorshift=host_x64/obj/third_party/rust_crates/librand_xorshift-12b3d401a1d4e38.rlib && ../../prebuilt/third_party/python3/linux-x64/bin/python3 -S ../../build/gn/verify_depfile.py -t "//src/connectivity/network/netstack3/core:netstack3-core-loom.actual(//build/toolchain:host_x64)" -d host_x64/obj/src/connectivity/network/netstack3/core/netstack3-core-loom/libnetstack3_core.rlib.d ../../src/connectivity/network/netstack3/core/src/algorithm.rs ../../src/connectivity/network/netstack3/core/src/algorithm/port_alloc.rs ../../src/connectivity/network/netstack3/core/src/api.rs ../../src/connectivity/network/netstack3/core/src/benchmarks.rs ../../src/connectivity/network/netstack3/core/src/context.rs ../../src/connectivity/network/netstack3/core/src/convert.rs ../../src/connectivity/network/netstack3/core/src/counters.rs ../../src/connectivity/network/netstack3/core/src/data_structures.rs ../../src/connectivity/network/netstack3/core/src/data_structures/ref_counted_hash_map.rs ../../src/connectivity/network/netstack3/core/src/data_structures/socketmap.rs ../../src/connectivity/network/netstack3/core/src/data_structures/token_bucket.rs ../../src/connectivity/network/netstack3/core/src/device/api.rs ../../src/connectivity/network/netstack3/core/src/device/arp.rs ../../src/connectivity/network/netstack3/core/src/device/base.rs ../../src/connectivity/network/netstack3/core/src/device/config.rs ../../src/connectivity/network/netstack3/core/src/device/ethernet.rs ../../src/connectivity/network/netstack3/core/src/device/id.rs ../../src/connectivity/network/netstack3/core/src/device/integration.rs ../../src/connectivity/network/netstack3/core/src/device/link.rs ../../src/connectivity/network/netstack3/core/src/device/loopback.rs ../../src/connectivity/network/netstack3/core/src/device/ndp.rs ../../src/connectivity/network/netstack3/core/src/device/pure_ip.rs ../../src/connectivity/network/netstack3/core/src/device/pure_ip/integration.rs ../../src/connectivity/network/netstack3/core/src/device/queue.rs ../../src/connectivity/network/netstack3/core/src/device/queue/api.rs ../../src/connectivity/network/netstack3/core/src/device/queue/fifo.rs ../../src/connectivity/network/netstack3/core/src/device/queue/rx.rs ../../src/connectivity/network/netstack3/core/src/device/queue/tx.rs ../../src/connectivity/network/netstack3/core/src/device/socket.rs ../../src/connectivity/network/netstack3/core/src/device/state.rs ../../src/connectivity/network/netstack3/core/src/error.rs ../../src/connectivity/network/netstack3/core/src/filter/integration.rs ../../src/connectivity/network/netstack3/core/src/inspect/base.rs ../../src/connectivity/network/netstack3/core/src/ip/api.rs ../../src/connectivity/network/netstack3/core/src/ip/base.rs ../../src/connectivity/network/netstack3/core/src/ip/device.rs ../../src/connectivity/network/netstack3/core/src/ip/device/api.rs ../../src/connectivity/network/netstack3/core/src/ip/device/config.rs ../../src/connectivity/network/netstack3/core/src/ip/device/dad.rs ../../src/connectivity/network/netstack3/core/src/ip/device/integration.rs ../../src/connectivity/network/netstack3/core/src/ip/device/nud.rs ../../src/connectivity/network/netstack3/core/src/ip/device/nud/api.rs ../../src/connectivity/network/netstack3/core/src/ip/device/route_discovery.rs ../../src/connectivity/network/netstack3/core/src/ip/device/router_solicitation.rs ../../src/connectivity/network/netstack3/core/src/ip/device/slaac.rs ../../src/connectivity/network/netstack3/core/src/ip/device/state.rs ../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs ../../src/connectivity/network/netstack3/core/src/ip/gmp.rs ../../src/connectivity/network/netstack3/core/src/ip/gmp/igmp.rs ../../src/connectivity/network/netstack3/core/src/ip/gmp/mld.rs ../../src/connectivity/network/netstack3/core/src/ip/icmp.rs ../../src/connectivity/network/netstack3/core/src/ip/icmp/socket.rs ../../src/connectivity/network/netstack3/core/src/ip/integration.rs ../../src/connectivity/network/netstack3/core/src/ip/ipv6.rs ../../src/connectivity/network/netstack3/core/src/ip/path_mtu.rs ../../src/connectivity/network/netstack3/core/src/ip/reassembly.rs ../../src/connectivity/network/netstack3/core/src/ip/socket.rs ../../src/connectivity/network/netstack3/core/src/ip/types.rs ../../src/connectivity/network/netstack3/core/src/lib.rs ../../src/connectivity/network/netstack3/core/src/lock_ordering.rs ../../src/connectivity/network/netstack3/core/src/macros.rs ../../src/connectivity/network/netstack3/core/src/marker.rs ../../src/connectivity/network/netstack3/core/src/socket/address.rs ../../src/connectivity/network/netstack3/core/src/socket/base.rs ../../src/connectivity/network/netstack3/core/src/socket/datagram.rs ../../src/connectivity/network/netstack3/core/src/state.rs ../../src/connectivity/network/netstack3/core/src/testutil.rs ../../src/connectivity/network/netstack3/core/src/time.rs ../../src/connectivity/network/netstack3/core/src/trace.rs ../../src/connectivity/network/netstack3/core/src/transport.rs ../../src/connectivity/network/netstack3/core/src/transport/integration.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/buffer.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/congestion.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/congestion/cubic.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/rtt.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/segment.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/seqnum.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/socket.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/socket/accept_queue.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/socket/demux.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/socket/isn.rs ../../src/connectivity/network/netstack3/core/src/transport/tcp/state.rs ../../src/connectivity/network/netstack3/core/src/transport/udp.rs ../../src/connectivity/network/netstack3/core/src/uninstantiable.rs ../../src/connectivity/network/netstack3/core/src/work_queue.rs ../../prebuilt/third_party/python3/linux-x64/bin/python3 ../../build/tracer/restat_cacher.py
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/context.rs:718:22
    |
718 |     pub(crate) trait FakeInstantRange: Debug {
    |                      ^^^^^^^^^^^^^^^^
---

warning: trait `FakeNetworkLinks` is never used
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1833:22
     |
1833 |     pub(crate) trait FakeNetworkLinks<SendMeta, RecvMeta, CtxId> {

warning: struct `LoopLimitReachedError` is never constructed
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1876:23
     |
---

warning: trait `FakeStrongDeviceId` is never used
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/device/base.rs:552:15
    |
552 |     pub trait FakeStrongDeviceId: StrongId<Weak = FakeWeakDeviceId<Self>> + 'static + Ord {}

warning: method `filter_handler` is never used
##[warning]  --> ../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8
   |
---
785 |     fn from_other_ip_addr(&self, addr: <I::OtherVersion as Ip>::Addr) -> I::Addr;
    |        ^^^^^^^^^^^^^^^^^^

thread 'rustc' panicked at /checkout/compiler/rustc_middle/src/ty/relate.rs:439:13:
assertion `left == right` failed: param types with same index differ in name
  left: "Self"
 right: "A"
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed::<rustc_span::symbol::Symbol, rustc_span::symbol::Symbol>
   3: core::panicking::assert_failed::<rustc_span::symbol::Symbol, rustc_span::symbol::Symbol>
   4: rustc_middle::ty::relate::structurally_relate_tys::<rustc_infer::infer::relate::equate::Equate>
   5: <rustc_infer::infer::InferCtxt>::super_combine_tys::<rustc_infer::infer::relate::equate::Equate>
   6: <rustc_infer::infer::relate::equate::Equate as rustc_middle::ty::relate::TypeRelation>::tys
   7: <rustc_middle::ty::generic_args::GenericArg as rustc_middle::ty::relate::Relate>::relate::<rustc_infer::infer::relate::equate::Equate>
   8: <core::result::Result<rustc_middle::ty::generic_args::GenericArg, rustc_middle::ty::error::TypeError> as rustc_type_ir::interner::CollectAndApply<rustc_middle::ty::generic_args::GenericArg, &rustc_middle::ty::list::List<rustc_middle::ty::generic_args::GenericArg>>>::collect_and_apply::<core::iter::adapters::map::Map<core::iter::adapters::zip::Zip<core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::generic_args::GenericArg>>, core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::generic_args::GenericArg>>>, rustc_middle::ty::relate::relate_args_invariantly<rustc_infer::infer::relate::sub::Sub>::{closure#0}>, <rustc_middle::ty::context::TyCtxt>::mk_args_from_iter<core::iter::adapters::map::Map<core::iter::adapters::zip::Zip<core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::generic_args::GenericArg>>, core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::generic_args::GenericArg>>>, rustc_middle::ty::relate::relate_args_invariantly<rustc_infer::infer::relate::sub::Sub>::{closure#0}>, core::result::Result<rustc_middle::ty::generic_args::GenericArg, rustc_middle::ty::error::TypeError>>::{closure#0}>
   9: <rustc_middle::ty::predicate::TraitRef as rustc_middle::ty::relate::Relate>::relate::<rustc_infer::infer::relate::sub::Sub>
  10: <rustc_infer::infer::relate::combine::CombineFields>::higher_ranked_sub::<rustc_middle::ty::predicate::TraitRef>
  11: <rustc_infer::infer::InferCtxt>::commit_if_ok::<rustc_infer::infer::InferOk<()>, rustc_middle::ty::error::TypeError, <rustc_infer::infer::at::Trace>::sub<rustc_middle::ty::sty::Binder<rustc_middle::ty::predicate::TraitRef>>::{closure#0}>
  12: <rustc_infer::infer::at::At>::sub_exp::<rustc_middle::ty::sty::Binder<rustc_middle::ty::predicate::TraitRef>>
  13: <rustc_trait_selection::traits::select::SelectionContext>::match_where_clause_trait_ref
  14: <rustc_infer::infer::InferCtxt>::probe::<core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>, <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection::traits::select::SelectionContext>::where_clause_may_apply::{closure#0}>::{closure#0}>
  16: <rustc_trait_selection::traits::select::SelectionContext>::assemble_candidates
  17: <rustc_trait_selection::traits::select::SelectionContext>::candidate_from_obligation_no_cache
  17: <rustc_trait_selection::traits::select::SelectionContext>::candidate_from_obligation_no_cache
  18: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::DepsType>>::with_anon_task::<rustc_middle::ty::context::TyCtxt, <rustc_trait_selection::traits::select::SelectionContext>::in_task<<rustc_trait_selection::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core::result::Result<core::option::Option<rustc_middle::traits::select::SelectionCandidate>, rustc_middle::traits::SelectionError>>::{closure#0}, core::result::Result<core::option::Option<rustc_middle::traits::select::SelectionCandidate>, rustc_middle::traits::SelectionError>>
  19: <rustc_trait_selection::traits::select::SelectionContext>::candidate_from_obligation
  20: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_stack
  21: <rustc_trait_selection::traits::select::SelectionContext>::in_task::<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}
  22: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::DepsType>>::with_anon_task::<rustc_middle::ty::context::TyCtxt, <rustc_trait_selection::traits::select::SelectionContext>::in_task<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
  24: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  24: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  25: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicates_recursively::<alloc::vec::into_iter::IntoIter<rustc_infer::traits::Obligation<rustc_middle::ty::predicate::Predicate>>>
  26: <rustc_infer::infer::InferCtxt>::probe::<core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>, <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_candidate::{closure#0}::{closure#0}>::{closure#0}>
  28: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_stack
  28: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_stack
  29: <rustc_trait_selection::traits::select::SelectionContext>::in_task::<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}
  30: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::DepsType>>::with_anon_task::<rustc_middle::ty::context::TyCtxt, <rustc_trait_selection::traits::select::SelectionContext>::in_task<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
  32: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  32: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  33: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicates_recursively::<alloc::vec::into_iter::IntoIter<rustc_infer::traits::Obligation<rustc_middle::ty::predicate::Predicate>>>
  34: <rustc_infer::infer::InferCtxt>::probe::<core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>, <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_candidate::{closure#0}::{closure#0}>::{closure#0}>
  36: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_stack
  36: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_stack
  37: <rustc_trait_selection::traits::select::SelectionContext>::in_task::<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}
  38: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::DepsType>>::with_anon_task::<rustc_middle::ty::context::TyCtxt, <rustc_trait_selection::traits::select::SelectionContext>::in_task<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>::{closure#0}, core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>>
  40: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  40: <rustc_trait_selection::traits::select::SelectionContext>::evaluate_predicate_recursively
  41: <rustc_infer::infer::InferCtxt>::probe::<core::result::Result<rustc_middle::traits::select::EvaluationResult, rustc_middle::traits::select::OverflowError>, <rustc_trait_selection::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>::{closure#0}>
  42: rustc_traits::evaluate_obligation::evaluate_obligation
      [... omitted 2 frames ...]
  43: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  44: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  45: rustc_trait_selection::traits::type_known_to_meet_bound_modulo_regions
  46: rustc_ty_utils::common_traits::is_item_raw
      [... omitted 2 frames ...]
  47: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefaultCache<rustc_middle::ty::ParamEnvAnd<rustc_middle::ty::Ty>, rustc_middle::query::erase::Erased<[u8; 1]>>>
  48: <rustc_middle::ty::Ty>::is_copy_modulo_regions
  49: rustc_mir_transform::shim::make_shim
      [... omitted 2 frames ...]
  51: <rustc_mir_transform::inline::Inliner>::try_inlining
  52: <rustc_mir_transform::inline::Inliner>::process_blocks
  53: <rustc_mir_transform::inline::Inline as rustc_middle::mir::MirPass>::run_pass
  54: rustc_mir_transform::pass_manager::run_passes_inner
  54: rustc_mir_transform::pass_manager::run_passes_inner
  55: rustc_mir_transform::optimized_mir
      [... omitted 2 frames ...]
  56: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>>
  58: <rustc_mir_transform::inline::Inliner>::try_inlining
  59: <rustc_mir_transform::inline::Inliner>::process_blocks
  60: <rustc_mir_transform::inline::Inline as rustc_middle::mir::MirPass>::run_pass
  61: rustc_mir_transform::pass_manager::run_passes_inner
  61: rustc_mir_transform::pass_manager::run_passes_inner
  62: rustc_mir_transform::optimized_mir
      [... omitted 2 frames ...]
  63: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 8]>>>
  64: rustc_mir_transform::cross_crate_inline::cross_crate_inlinable
      [... omitted 2 frames ...]
  65: rustc_middle::query::plumbing::query_get_at::<rustc_query_system::query::caches::DefIdCache<rustc_middle::query::erase::Erased<[u8; 1]>>>
  66: <rustc_mir_transform::inline::Inliner>::try_inlining

error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: please attach the file at `/checkout/obj/fuchsia/out/default/rustc-ice-2024-02-07T08_37_48-71434.txt` to your bug report

note: compiler flags: --crate-type rlib -Z dep-info-omit-d-target -C linker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -C default-linker-libraries -C link-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -C link-arg=--target=x86_64-unknown-linux-gnu -C link-arg=-stdlib=libc++ -C link-arg=--start-no-unused-arguments -C link-arg=-unwindlib=libunwind -C link-arg=-rtlib=compiler-rt -C link-arg=--end-no-unused-arguments -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--build-id -Z remap-cwd-prefix=. -C opt-level=0 -C debuginfo=0 -C link-arg=-gz=zstd -C debug-assertions=yes -Z allow-features= -C linker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -C default-linker-libraries -C link-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -C link-arg=--target=x86_64-unknown-linux-gnu -C link-arg=-stdlib=libc++ -C link-arg=--start-no-unused-arguments -C link-arg=-unwindlib=libunwind -C link-arg=-rtlib=compiler-rt -C link-arg=--end-no-unused-arguments -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--build-id -C link-arg=-fPIE -C link-arg=-pie -C link-arg=-static-libstdc++ -C link-arg=-Wl,-rpath=$ORIGIN/ -C opt-level=2 -C link-arg=-Bdynamic -C link-arg=host_x64/obj/third_party/rust_crates/compat/generator/libasm.a
query stack during panic:
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `(socket::address::SocketIpAddr<A>, LI): core::marker::Copy`
#1 [is_copy_raw] computing whether `(socket::address::SocketIpAddr<A>, LI)` is `Copy`
#2 [mir_shims] generating MIR shim for `core::clone::Clone::clone`
#3 [optimized_mir] optimizing MIR for `socket::address::<impl at ../../src/connectivity/network/netstack3/core/src/socket/address.rs:228:16: 228:21>::clone`
#4 [optimized_mir] optimizing MIR for `transport::tcp::socket::do_send_inner`
#5 [cross_crate_inlinable] whether the item should be made inlinable across crates
#6 [optimized_mir] optimizing MIR for `transport::tcp::socket::demux::try_handle_incoming_for_connection`
#7 [cross_crate_inlinable] whether the item should be made inlinable across crates
#8 [optimized_mir] optimizing MIR for `transport::tcp::socket::demux::try_handle_incoming_for_connection_dual_stack::{closure#0}`
warning: 11 warnings emitted

warning: trait `FakeInstantRange` is never used
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/context.rs:718:22
---

warning: trait `FakeNetworkLinks` is never used
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1833:22
     |
1833 |     pub(crate) trait FakeNetworkLinks<SendMeta, RecvMeta, CtxId> {


warning: struct `LoopLimitReachedError` is never constructed
##[warning]    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1876:23
---

warning: trait `FakeStrongDeviceId` is never used
##[warning]   --> ../../src/connectivity/network/netstack3/core/src/device/base.rs:552:15
    |
552 |     pub trait FakeStrongDeviceId: StrongId<Weak = FakeWeakDeviceId<Self>> + 'static + Ord {}


warning: method `filter_handler` is never used
##[warning]  --> ../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8
---

warning: 11 warnings emitted


FAILED: host_x64/gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test_executable.clippy 
../../build/rust/clippy_wrapper.sh --output host_x64/gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test_executable.clippy --jq ../../prebuilt/third_party/jq/linux-x64/bin/jq --fail -- env  ../../../install/bin/clippy-driver ../../src/connectivity/network/netstack3/core/src/lib.rs --sysroot=../../../install --crate-type=bin --cfg=__rust_toolchain=\"2024/02/07\ 08:29:34\" -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -Cdefault-linker-libraries -Clink-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -Clink-arg=--target=x86_64-unknown-linux-gnu -Clink-arg=-stdlib=libc++ -Clink-arg=--start-no-unused-arguments -Clink-arg=-unwindlib=libunwind -Clink-arg=-rtlib=compiler-rt -Clink-arg=--end-no-unused-arguments -Clink-arg=-fuse-ld=lld -Clink-arg=-Wl,--build-id -Zremap-cwd-prefix=. -Copt-level=0 -Cdebuginfo=0 -Clink-arg=-gz=zstd -Cdebug-assertions=yes -Zallow-features= --target x86_64-unknown-linux-gnu --cap-lints=warn -Wrust-2018-idioms -Dderef-nullptr -Dinvalid-value -Dunused-must-use -Awhere_clauses_object_safety -Dwarnings -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -Cdefault-linker-libraries -Clink-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -Clink-arg=--target=x86_64-unknown-linux-gnu -Clink-arg=-stdlib=libc++ -Clink-arg=--start-no-unused-arguments -Clink-arg=-unwindlib=libunwind -Clink-arg=-rtlib=compiler-rt -Clink-arg=--end-no-unused-arguments -Clink-arg=-fuse-ld=lld -Clink-arg=-Wl,--build-id -Clink-arg=-fPIE -Clink-arg=-pie -Clink-arg=-static-libstdc++ -Clink-arg=-Wl,-rpath=\$ORIGIN/ -Wunused_crate_dependencies -Dunused_results --edition=2021 -Aclippy::all -Dclippy::correctness -Dclippy::missing_safety_doc -Wclippy::expect_fun_call -Wclippy::unnecessary_mut_passed --cfg=fidl_rust_transition_step=\"migrate_all_results\" --cfg=feature=\"instrumented\" --test
jq: parse error: Invalid literal at line 8, column 7
{"$message_type":"diagnostic","message":"struct `LoopLimitReachedError` is never constructed","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/context.rs","byte_start":64361,"byte_end":64382,"line_start":1876,"line_end":1876,"column_start":23,"column_end":44,"is_primary":true,"text":[{"text":"    pub(crate) struct LoopLimitReachedError;","highlight_start":23,"highlight_end":44}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`LoopLimitReachedError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"`-D dead-code` implied by `-D warnings`","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"to override `-D warnings` add `#[allow(dead_code)]`","code":null,"level":"help","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: struct `LoopLimitReachedError` is never constructed\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/context.rs:1876:23\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1876\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    pub(crate) struct LoopLimitReachedError;\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                      \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `LoopLimitReachedError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `-D dead-code` implied by `-D warnings`\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: to override `-D warnings` add `#[allow(dead_code)]`\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"trait `UnwrapNdp` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/device/ndp.rs","byte_start":40926,"byte_end":40935,"line_start":1048,"line_end":1048,"column_start":11,"column_end":20,"is_primary":true,"text":[{"text":"    trait UnwrapNdp<B: ByteSlice> {","highlight_start":11,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: trait `UnwrapNdp` is never used\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/device/ndp.rs:1048:11\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1048\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    trait UnwrapNdp<B: ByteSlice> {\u001b[0m\n\u001b[0m     \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `filter_handler` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/filter/integration.rs","byte_start":432,"byte_end":453,"line_start":13,"line_end":13,"column_start":18,"column_end":39,"is_primary":false,"text":[{"text":"pub(crate) trait FilterHandlerProvider<I: IpExt, BC: FilterBindingsTypes> {","highlight_start":18,"highlight_end":39}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/filter/integration.rs","byte_start":570,"byte_end":584,"line_start":18,"line_end":18,"column_start":8,"column_end":22,"is_primary":true,"text":[{"text":"    fn filter_handler(&mut self) -> Self::Handler<'_>;","highlight_start":8,"highlight_end":22}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `filter_handler` is never used\u001b[0m\n\u001b[0m  \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/filter/integration.rs:18:8\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m13\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait FilterHandlerProvider<I: IpExt, BC: FilterBindingsTypes> {\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m---------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m18\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn filter_handler(&mut self) -> Self::Handler<'_>;\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"associated function `next_hop_addr` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs","byte_start":16402,"byte_end":16411,"line_start":482,"line_end":482,"column_start":11,"column_end":20,"is_primary":false,"text":[{"text":"    trait TestIpExt: crate::testutil::TestIpExt {","highlight_start":11,"highlight_end":20}],"label":"associated function in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs","byte_start":16658,"byte_end":16671,"line_start":490,"line_end":490,"column_start":12,"column_end":25,"is_primary":true,"text":[{"text":"        fn next_hop_addr() -> SpecifiedAddr<Self::Addr>;","highlight_start":12,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: associated function `next_hop_addr` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs:490:12\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m482\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    trait TestIpExt: crate::testutil::TestIpExt {\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m---------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12massociated function in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m490\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m        fn next_hop_addr() -> SpecifiedAddr<Self::Addr>;\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m           \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `with_icmp_sockets` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/icmp.rs","byte_start":22915,"byte_end":22931,"line_start":694,"line_end":694,"column_start":11,"column_end":27,"is_primary":false,"text":[{"text":"pub trait InnerIcmpContext<I: IcmpIpExt + IpExt, BC: IcmpBindingsContext<I, Self::DeviceId>>:","highlight_start":11,"highlight_end":27}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/ip/icmp.rs","byte_start":25820,"byte_end":25837,"line_start":754,"line_end":754,"column_start":8,"column_end":25,"is_primary":true,"text":[{"text":"    fn with_icmp_sockets<O, F: FnOnce(&BoundSockets<I, Self::WeakDeviceId>) -> O>(","highlight_start":8,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `with_icmp_sockets` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/ip/icmp.rs:754:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m694\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub trait InnerIcmpContext<I: IcmpIpExt + IpExt, BC: IcmpBindingsContext<I, Self::DeviceId>>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m          \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m754\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn with_icmp_sockets<O, F: FnOnce(&BoundSockets<I, Self::WeakDeviceId>) -> O>(\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `with_bound_state_context` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":18768,"byte_end":18788,"line_start":561,"line_end":561,"column_start":18,"column_end":38,"is_primary":false,"text":[{"text":"pub(crate) trait DatagramStateContext<I: IpExt, BC, S: DatagramSocketSpec>:","highlight_start":18,"highlight_end":38}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":19721,"byte_end":19745,"line_start":587,"line_end":587,"column_start":8,"column_end":32,"is_primary":true,"text":[{"text":"    fn with_bound_state_context<O, F: FnOnce(&mut Self::SocketsStateCtx<'_>) -> O>(","highlight_start":8,"highlight_end":32}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `with_bound_state_context` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/socket/datagram.rs:587:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m561\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait DatagramStateContext<I: IpExt, BC, S: DatagramSocketSpec>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m587\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn with_bound_state_context<O, F: FnOnce(&mut Self::SocketsStateCtx<'_>) -> O>(\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"method `from_other_ip_addr` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":24371,"byte_end":24405,"line_start":719,"line_end":719,"column_start":18,"column_end":52,"is_primary":false,"text":[{"text":"pub(crate) trait DualStackDatagramBoundStateContext<I: IpExt, BC, S: DatagramSocketSpec>:","highlight_start":18,"highlight_end":52}],"label":"method in this trait","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"../../src/connectivity/network/netstack3/core/src/socket/datagram.rs","byte_start":27265,"byte_end":27283,"line_start":785,"line_end":785,"column_start":8,"column_end":26,"is_primary":true,"text":[{"text":"    fn from_other_ip_addr(&self, addr: <I::OtherVersion as Ip>::Addr) -> I::Addr;","highlight_start":8,"highlight_end":26}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: method `from_other_ip_addr` is never used\u001b[0m\n\u001b[0m   \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0m../../src/connectivity/network/netstack3/core/src/socket/datagram.rs:785:8\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m719\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub(crate) trait DualStackDatagramBoundStateContext<I: IpExt, BC, S: DatagramSocketSpec>:\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m                 \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m----------------------------------\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12mmethod in this trait\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m...\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m785\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m    fn from_other_ip_addr(&self, addr: <I::OtherVersion as Ip>::Addr) -> I::Addr;\u001b[0m\n\u001b[0m    \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m       \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
thread 'rustc' panicked at /checkout/compiler/rustc_middle/src/ty/relate.rs:439:13:
assertion `left == right` failed: param types with same index differ in name
  left: "I"
 right: "CC"
   0:     0x7f04ba8c95a9 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hdf986f627f57c340
   1:     0x7f04ba9321cf - core::fmt::write::hc6389f0eadeee91b
   2:     0x7f04ba8bde05 - std::io::Write::write_fmt::h314cf8001ece5abd
   3:     0x7f04ba8c9384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   3:     0x7f04ba8c9384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   4:     0x7f04ba8cc66a - std::panicking::default_hook::{{closure}}::hd02723d5b1a9b749
   5:     0x7f04ba8cc345 - std::panicking::default_hook::h1c5f0b6725319619
   6:     0x7f04bb5d75b7 - <alloc[d701954837a7923d]::boxed::Box<rustc_driver_impl[c23d2a2ac1cc904b]::install_ice_hook::{closure#0}> as core[e3694978a9cea066]::ops::function::Fn<(&dyn for<'a, 'b> core[e3694978a9cea066]::ops::function::Fn<(&'a core[e3694978a9cea066]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[e3694978a9cea066]::marker::Send + core[e3694978a9cea066]::marker::Sync, &core[e3694978a9cea066]::panic::panic_info::PanicInfo)>>::call
   8:     0x7f04ba8ccad2 - std::panicking::begin_panic_handler::{{closure}}::h4a7223b0c9500075
   9:     0x7f04ba8c9b86 - std::sys_common::backtrace::__rust_end_short_backtrace::hdcfeb47d552cfb99
  10:     0x7f04ba8cc7e4 - rust_begin_unwind
  11:     0x7f04ba8841b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  11:     0x7f04ba8841b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  12:     0x7f04ba8847af - core::panicking::assert_failed_inner::h9d9fe4751d868ccd
  13:     0x7f04bb43566f - core[e3694978a9cea066]::panicking::assert_failed::<rustc_span[66a0eb329c665e58]::symbol::Symbol, rustc_span[66a0eb329c665e58]::symbol::Symbol>
  14:     0x7f04bddb45ac - rustc_middle[6e5000a7f52a684f]::ty::relate::structurally_relate_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  15:     0x7f04bdca78b5 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::super_combine_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  16:     0x7f04bdde6964 - <rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate as rustc_middle[6e5000a7f52a684f]::ty::relate::TypeRelation>::tys
  17:     0x7f04bda7c5d5 - <rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  18:     0x7f04bdb56195 - <core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError> as rustc_type_ir[48e87e1ddab37847]::interner::CollectAndApply<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, &rustc_middle[6e5000a7f52a684f]::ty::list::List<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>::collect_and_apply::<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, <rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt>::mk_args_from_iter<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError>>::{closure#0}>
  19:     0x7f04bd94e5f5 - <rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>
  20:     0x7f04bdb39403 - <rustc_infer[c5ec2755c05fd765]::infer::relate::combine::CombineFields>::higher_ranked_sub::<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>
  21:     0x7f04bd9a73a4 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::commit_if_ok::<rustc_infer[c5ec2755c05fd765]::infer::InferOk<()>, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError, <rustc_infer[c5ec2755c05fd765]::infer::at::Trace>::sub<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>::{closure#0}>
  22:     0x7f04bd939fee - <rustc_infer[c5ec2755c05fd765]::infer::at::At>::sub_exp::<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>
  23:     0x7f04bda430fe - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::match_where_clause_trait_ref
  24:     0x7f04bd9b793b - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::where_clause_may_apply::{closure#0}>::{closure#0}>
  25:     0x7f04bda46ca7 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates_from_caller_bounds
  26:     0x7f04bda458d2 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates
  27:     0x7f04bda3bbc0 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation_no_cache
  28:     0x7f04bd90c71f - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>
  29:     0x7f04bda59edf - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation
  30:     0x7f04bda3feb3 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_stack
  31:     0x7f04bd932a05 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task::<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}
  32:     0x7f04bd90dbd0 - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>
  33:     0x7f04bda5f374 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  34:     0x7f04bda5ca94 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_predicate_recursively
  35:     0x7f04bd9b7e1e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>::{closure#0}>
  36:     0x7f04bd18b6d3 - rustc_traits[a171b3f71ed6643]::evaluate_obligation::evaluate_obligation
  37:     0x7f04bd2c357c - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>
  38:     0x7f04bd3deb56 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>)>>::call_once
  39:     0x7f04bd65cc15 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  40:     0x7f04bd4f456e - rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7f04bd9e039e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  42:     0x7f04bd9e0b51 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  43:     0x7f04bd8f32b5 - rustc_trait_selection[67c06de35772c77a]::traits::type_known_to_meet_bound_modulo_regions
  44:     0x7f04bbb3cfda - rustc_ty_utils[605621cfd568dbee]::common_traits::is_item_raw
  45:     0x7f04bd2b22cd - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>
  46:     0x7f04bd36b199 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>)>>::call_once
  47:     0x7f04bd67120d - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  48:     0x7f04bd477dfb - rustc_query_impl[6ad89a377c239f6b]::query_impl::is_copy_raw::get_query_non_incr::__rust_end_short_backtrace
  49:     0x7f04be8fb20e - rustc_middle[6e5000a7f52a684f]::query::plumbing::query_get_at::<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::Ty>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>>
  50:     0x7f04be8ec728 - <rustc_middle[6e5000a7f52a684f]::ty::Ty>::is_copy_modulo_regions
  51:     0x5653f5cd8a77 - <core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::FieldDef> as core[e3694978a9cea066]::iter::traits::iterator::Iterator>::all::<<clippy_lints[e27128bdfb6bcd2]::default::Default as rustc_lint[259b0326d632a76]::passes::LateLintPass>::check_block::{closure#1}>
  52:     0x5653f5d0a68a - <clippy_lints[e27128bdfb6bcd2]::default::Default as rustc_lint[259b0326d632a76]::passes::LateLintPass>::check_block
  53:     0x7f04bd83f162 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  54:     0x7f04bd717c07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  55:     0x7f04bd83e9af - rustc_hir[ff40637095421666]::intravisit::walk_body::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  56:     0x7f04bd716155 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_body
  57:     0x7f04bd8419f8 - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  58:     0x7f04bd70e224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  59:     0x7f04bd841a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  60:     0x7f04bd70e224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  61:     0x7f04bd841a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  62:     0x7f04bd70e224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  63:     0x7f04bd841a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  64:     0x7f04bd70e224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  65:     0x7f04bd70649c - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}::{closure#0}>
  66:     0x7f04bd7074af - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}>
  67:     0x7f04bd75332c - rustc_data_structures[cae197669f5e2251]::sync::parallel::disabled::join::<rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}, rustc_lint[259b0326d632a76]::late::check_crate::{closure#1}, (), ()>
  68:     0x7f04bd71db72 - rustc_lint[259b0326d632a76]::late::check_crate
  69:     0x7f04bb803dd9 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#1}::{closure#0}::{closure#2}::{closure#0}>
  70:     0x7f04bb80828b - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#0}::{closure#2}>
  71:     0x7f04bb8b9ffb - std[93f214e0827fcdbb]::panicking::try::<(), core[e3694978a9cea066]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#1}::{closure#0}>>
  72:     0x7f04bb806179 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}>
  73:     0x7f04bb84e11a - rustc_interface[7487215266ab057d]::passes::analysis
  74:     0x7f04bd2d59b3 - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>
  75:     0x7f04bd4ed6e1 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, ())>>::call_once
  76:     0x7f04bd63f7b0 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::SingleCache<rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  77:     0x7f04bd3e69f1 - rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  78:     0x7f04bb5adf6b - <rustc_middle[6e5000a7f52a684f]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  79:     0x7f04bb6384bc - <rustc_interface[7487215266ab057d]::interface::Compiler>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_interface[7487215266ab057d]::queries::Linker>, rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  80:     0x7f04bb657b84 - rustc_span[66a0eb329c665e58]::set_source_map::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  81:     0x7f04bb5ca427 - <scoped_tls[5601265e1082ea9c]::ScopedKey<rustc_span[66a0eb329c665e58]::SessionGlobals>>::set::<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  82:     0x7f04bb6580d9 - rustc_span[66a0eb329c665e58]::create_session_globals_then::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}>
  83:     0x7f04bb5ee84e - std[93f214e0827fcdbb]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  84:     0x7f04bb5f29a1 - <<std[93f214e0827fcdbb]::thread::Builder>::spawn_unchecked_<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#1} as core[e3694978a9cea066]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  86:     0x7f04ba5bbac3 - <unknown>
  87:     0x7f04ba64d850 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml

note: please attach the file at `/checkout/obj/fuchsia/out/default/rustc-ice-2024-02-07T08_37_29-70181.txt` to your bug report

note: compiler flags: --crate-type bin -C linker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -C default-linker-libraries -C link-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -C link-arg=--target=x86_64-unknown-linux-gnu -C link-arg=-stdlib=libc++ -C link-arg=--start-no-unused-arguments -C link-arg=-unwindlib=libunwind -C link-arg=-rtlib=compiler-rt -C link-arg=--end-no-unused-arguments -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--build-id -Z remap-cwd-prefix=. -C opt-level=0 -C debuginfo=0 -C link-arg=-gz=zstd -C debug-assertions=yes -Z allow-features= -C linker=../../prebuilt/third_party/clang/linux-x64/bin/clang++ -C default-linker-libraries -C link-arg=--sysroot=../../prebuilt/third_party/sysroot/linux -C link-arg=--target=x86_64-unknown-linux-gnu -C link-arg=-stdlib=libc++ -C link-arg=--start-no-unused-arguments -C link-arg=-unwindlib=libunwind -C link-arg=-rtlib=compiler-rt -C link-arg=--end-no-unused-arguments -C link-arg=-fuse-ld=lld -C link-arg=-Wl,--build-id -C link-arg=-fPIE -C link-arg=-pie -C link-arg=-static-libstdc++ -C link-arg=-Wl,-rpath=$ORIGIN/ -Z no_codegen
query stack during panic:
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `CC: core::marker::Copy`
#1 [is_copy_raw] computing whether `CC` is `Copy`
end of query stack
note: Clippy version: clippy 0.1.77 (9e350cfe 2024-02-07)


{"$message_type":"diagnostic","message":"7 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 7 warnings emitted\u001b[0m\n\n"}
warning: method `name` is never used
##[warning]  --> ../../tools/fidl/fidldoc/src/templates/mod.rs:35:8
32 | pub trait FidldocTemplate {
   |           --------------- method in this trait
...
35 |     fn name(&self) -> String;
---
warning: 1 warning emitted


warning: trait `MeasurableHandles` is never used
##[warning]  --> host_x64/gen/src/performance/memory/heapdump/lib/heapdump_snapshot/measure_tape_for_snapshot_element/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
---

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> host_x64/gen/src/sys/lib/fidl-fuchsia-pkg-ext/measure_fuchsia_pkg/rust/src/lib.rs:90:7
90 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> host_x64/gen/src/developer/ffx/daemon/protocols/repo/measure_fuchsia_developer_ffx/rust/src/lib.rs:98:7
98 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
---

warning: method `value_or_default_from_build_type` is never used
##[warning]   --> ../../src/lib/assembly/platform_configuration/src/common.rs:694:8
    |
693 | pub(crate) trait OptionDefaultByBuildTypeExt<T: DefaultByBuildType> {
    |                  --------------------------- method in this trait
694 |     fn value_or_default_from_build_type(self, build_type: &BuildType) -> T;
    |
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(dead_code)]`



warning: 1 warning emitted


warning: method `value_or_default_from_build_type` is never used
##[warning]   --> ../../src/lib/assembly/platform_configuration/src/common.rs:694:8
    |
693 | pub(crate) trait OptionDefaultByBuildTypeExt<T: DefaultByBuildType> {
    |                  --------------------------- method in this trait
694 |     fn value_or_default_from_build_type(self, build_type: &BuildType) -> T;
    |
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(dead_code)]`


warning: 1 warning emitted

warning: method `enforce_minimum_bitrate` is never used
##[warning]  --> ../../third_party/rust_crates/vendor/tuf-0.3.0-beta11/src/util.rs:16:8
   |
13 | pub(crate) trait SafeAsyncRead: AsyncRead + Sized + Unpin {
...
...
16 |     fn enforce_minimum_bitrate(self, min_bytes_per_second: u32) -> EnforceMinimumBitrate<Self> {
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

---
warning: 1 warning emitted


warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/sdk/fidl/fuchsia.stresstest/rust_measure_tape_for_action/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/sdk/fidl/fuchsia.test/rust_measure_tape_for_case/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/sdk/fidl/fuchsia.wlan.policy/measure_tape_for_scan_result/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/src/diagnostics/archivist/logmessage_measure_tape/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
---

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/src/performance/memory/heapdump/lib/heapdump_snapshot/measure_tape_for_snapshot_element/rust/src/lib.rs:74:7
74 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
---

warning: 1 warning emitted

warning: trait `MeasurableHandles` is never used
##[warning]  --> gen/src/sys/lib/fidl-fuchsia-pkg-ext/measure_fuchsia_pkg/rust/src/lib.rs:90:7
90 | trait MeasurableHandles {
   |       ^^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
---

warning: methods `id` and `build_handler` are never used
##[warning]  --> ../../src/connectivity/bluetooth/profiles/bt-hfp-audio-gateway/src/peer.rs:76:8
   |
75 | pub trait Peer: Future<Output = PeerId> + Unpin + Send {
   |           ---- methods in this trait
76 |     fn id(&self) -> PeerId;
...
...
90 |     async fn build_handler(&mut self) -> Result<ServerEnd<PeerHandlerMarker>, Error>;
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

---

warning: 2 warnings emitted


FAILED: gen/src/connectivity/network/tests/integration/common/netstack_testing_common.clippy 
../../build/rust/clippy_wrapper.sh --output gen/src/connectivity/network/tests/integration/common/netstack_testing_common.clippy --jq ../../prebuilt/third_party/jq/linux-x64/bin/jq --fail -- env  ../../../install/bin/clippy-driver ../../src/connectivity/network/tests/integration/common/src/lib.rs --sysroot=../../../install --crate-type=rlib --cfg=__rust_toolchain=\"2024/02/07\ 08:29:34\" -L gen/zircon/public/sysroot/cpp/lib -Clinker=../../prebuilt/third_party/clang/linux-x64/bin/lld -Clink-arg=--sysroot=gen/zircon/public/sysroot/cpp -Clink-arg=-L../../prebuilt/third_party/clang/linux-x64/bin/../lib/x86_64-unknown-fuchsia/noexcept -Clink-arg=-L../../prebuilt/third_party/clang/linux-x64/lib/clang/18/lib/x86_64-unknown-fuchsia -Clink-arg=--pack-dyn-relocs=relr -Clink-arg=-dynamic-linker=ld.so.1 -Clink-arg=--icf=all -Clink-arg=-zrel -Zremap-cwd-prefix=. -Cforce-frame-pointers -Copt-level=0 -Cdebuginfo=0 -Clink-arg=--compress-debug-sections=zstd -Cdebug-assertions=yes -Zallow-features= --target x86_64-fuchsia --cap-lints=warn -Wrust-2018-idioms -Dderef-nullptr -Dinvalid-value -Dunused-must-use -Awhere_clauses_object_safety -Dwarnings -Cprefer-dynamic -Clink-args=-zstack-size=0x200000 -Cpanic=abort -Cforce-unwind-tables=yes -Zpanic_abort_tests -Csymbol-mangling-version=v0 -Wunused_crate_dependencies -Dunused_results --edition=2021 -Aclippy::all -Dclippy::correctness -Dclippy::missing_safety_doc -Wclippy::expect_fun_call -Wclippy::unnecessary_mut_passed --cfg=fidl_rust_transition_step=\"migrate_all_results\"
jq: parse error: Invalid literal at line 1, column 7
thread 'rustc' panicked at /checkout/compiler/rustc_middle/src/ty/relate.rs:439:13:
assertion `left == right` failed: param types with same index differ in name
  left: "I"
 right: "impl IntoIterator<Item = fidl_fuchsia_net_dhcp::Parameter>"
   0:     0x7ff03d40e5a9 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hdf986f627f57c340
   1:     0x7ff03d4771cf - core::fmt::write::hc6389f0eadeee91b
   2:     0x7ff03d402e05 - std::io::Write::write_fmt::h314cf8001ece5abd
   3:     0x7ff03d40e384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   3:     0x7ff03d40e384 - std::sys_common::backtrace::print::hd7db1b26bf3f2f8d
   4:     0x7ff03d41166a - std::panicking::default_hook::{{closure}}::hd02723d5b1a9b749
   5:     0x7ff03d411345 - std::panicking::default_hook::h1c5f0b6725319619
   6:     0x7ff03e11c5b7 - <alloc[d701954837a7923d]::boxed::Box<rustc_driver_impl[c23d2a2ac1cc904b]::install_ice_hook::{closure#0}> as core[e3694978a9cea066]::ops::function::Fn<(&dyn for<'a, 'b> core[e3694978a9cea066]::ops::function::Fn<(&'a core[e3694978a9cea066]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[e3694978a9cea066]::marker::Send + core[e3694978a9cea066]::marker::Sync, &core[e3694978a9cea066]::panic::panic_info::PanicInfo)>>::call
   8:     0x7ff03d411ad2 - std::panicking::begin_panic_handler::{{closure}}::h4a7223b0c9500075
   9:     0x7ff03d40eb86 - std::sys_common::backtrace::__rust_end_short_backtrace::hdcfeb47d552cfb99
  10:     0x7ff03d4117e4 - rust_begin_unwind
  11:     0x7ff03d3c91b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  11:     0x7ff03d3c91b5 - core::panicking::panic_fmt::hd8e38467aa777edc
  12:     0x7ff03d3c97af - core::panicking::assert_failed_inner::h9d9fe4751d868ccd
  13:     0x7ff03df7a66f - core[e3694978a9cea066]::panicking::assert_failed::<rustc_span[66a0eb329c665e58]::symbol::Symbol, rustc_span[66a0eb329c665e58]::symbol::Symbol>
  14:     0x7ff0408f95ac - rustc_middle[6e5000a7f52a684f]::ty::relate::structurally_relate_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  15:     0x7ff0407ec8b5 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::super_combine_tys::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  16:     0x7ff04092b964 - <rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate as rustc_middle[6e5000a7f52a684f]::ty::relate::TypeRelation>::tys
  17:     0x7ff0405c15d5 - <rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::equate::Equate>
  18:     0x7ff04069b195 - <core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError> as rustc_type_ir[48e87e1ddab37847]::interner::CollectAndApply<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, &rustc_middle[6e5000a7f52a684f]::ty::list::List<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>::collect_and_apply::<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, <rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt>::mk_args_from_iter<core[e3694978a9cea066]::iter::adapters::map::Map<core[e3694978a9cea066]::iter::adapters::zip::Zip<core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>, core[e3694978a9cea066]::iter::adapters::copied::Copied<core[e3694978a9cea066]::slice::iter::Iter<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg>>>, rustc_middle[6e5000a7f52a684f]::ty::relate::relate_args_invariantly<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>::{closure#0}>, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::ty::generic_args::GenericArg, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError>>::{closure#0}>
  19:     0x7ff0404935f5 - <rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef as rustc_middle[6e5000a7f52a684f]::ty::relate::Relate>::relate::<rustc_infer[c5ec2755c05fd765]::infer::relate::sub::Sub>
  20:     0x7ff04067e403 - <rustc_infer[c5ec2755c05fd765]::infer::relate::combine::CombineFields>::higher_ranked_sub::<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>
  21:     0x7ff0404ec3a4 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::commit_if_ok::<rustc_infer[c5ec2755c05fd765]::infer::InferOk<()>, rustc_middle[6e5000a7f52a684f]::ty::error::TypeError, <rustc_infer[c5ec2755c05fd765]::infer::at::Trace>::sub<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>::{closure#0}>
  22:     0x7ff04047efee - <rustc_infer[c5ec2755c05fd765]::infer::at::At>::sub_exp::<rustc_middle[6e5000a7f52a684f]::ty::sty::Binder<rustc_middle[6e5000a7f52a684f]::ty::predicate::TraitRef>>
  23:     0x7ff0405880fe - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::match_where_clause_trait_ref
  24:     0x7ff0404fc93b - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::where_clause_may_apply::{closure#0}>::{closure#0}>
  25:     0x7ff04058bca7 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates_from_caller_bounds
  26:     0x7ff04058a8d2 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::assemble_candidates
  27:     0x7ff040580bc0 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation_no_cache
  28:     0x7ff04045171f - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_middle[6e5000a7f52a684f]::traits::select::SelectionCandidate>, rustc_middle[6e5000a7f52a684f]::traits::SelectionError>>
  29:     0x7ff04059eedf - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::candidate_from_obligation
  30:     0x7ff040584eb3 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_stack
  31:     0x7ff040477a05 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task::<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}
  32:     0x7ff040452bd0 - <rustc_query_system[f6c668522595241d]::dep_graph::graph::DepGraph<rustc_middle[6e5000a7f52a684f]::dep_graph::DepsType>>::with_anon_task::<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::in_task<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively::{closure#0}::{closure#1}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>::{closure#0}, core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>>
  33:     0x7ff0405a4374 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_trait_predicate_recursively
  34:     0x7ff0405a1a94 - <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_predicate_recursively
  35:     0x7ff0404fce1e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt>::probe::<core[e3694978a9cea066]::result::Result<rustc_middle[6e5000a7f52a684f]::traits::select::EvaluationResult, rustc_middle[6e5000a7f52a684f]::traits::select::OverflowError>, <rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluation_probe<<rustc_trait_selection[67c06de35772c77a]::traits::select::SelectionContext>::evaluate_root_obligation::{closure#0}>::{closure#0}>
  36:     0x7ff03fcd06d3 - rustc_traits[a171b3f71ed6643]::evaluate_obligation::evaluate_obligation
  37:     0x7ff03fe0857c - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>
  38:     0x7ff03ff23b56 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>)>>::call_once
  39:     0x7ff0401a1c15 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::DefaultCache<rustc_type_ir[48e87e1ddab37847]::canonical::Canonical<rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, rustc_middle[6e5000a7f52a684f]::ty::ParamEnvAnd<rustc_middle[6e5000a7f52a684f]::ty::predicate::Predicate>>, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  40:     0x7ff04003956e - rustc_query_impl[6ad89a377c239f6b]::query_impl::evaluate_obligation::get_query_non_incr::__rust_end_short_backtrace
  41:     0x7ff04052539e - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation
  42:     0x7ff040525b51 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::evaluate_obligation_no_overflow
  43:     0x7ff040525137 - <rustc_infer[c5ec2755c05fd765]::infer::InferCtxt as rustc_trait_selection[67c06de35772c77a]::traits::query::evaluate_obligation::InferCtxtExt>::predicate_must_hold_modulo_regions
  44:     0x5558ec172e71 - clippy_lints[e27128bdfb6bcd2]::useless_conversion::into_iter_bound
  45:     0x5558ec1739de - <clippy_lints[e27128bdfb6bcd2]::useless_conversion::UselessConversion as rustc_lint[259b0326d632a76]::passes::LateLintPass>::check_expr
  46:     0x7ff04025cbf3 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  47:     0x7ff0403845ab - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  48:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  49:     0x7ff040383e1f - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  50:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  51:     0x7ff04025fb75 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_local
  52:     0x7ff04025d82e - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_stmt
  53:     0x7ff0403746cc - rustc_hir[ff40637095421666]::intravisit::walk_block::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  54:     0x7ff040384176 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  55:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  56:     0x7ff040384448 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  57:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  58:     0x7ff040374704 - rustc_hir[ff40637095421666]::intravisit::walk_block::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  59:     0x7ff040384176 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  60:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  61:     0x7ff0403839af - rustc_hir[ff40637095421666]::intravisit::walk_body::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  62:     0x7ff04025b155 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_body
  63:     0x7ff040384115 - rustc_hir[ff40637095421666]::intravisit::walk_expr::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  64:     0x7ff04025cc07 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_expr::{closure#0}
  65:     0x7ff0403839af - rustc_hir[ff40637095421666]::intravisit::walk_body::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  66:     0x7ff04025b155 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_body
  67:     0x7ff0403869f8 - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  68:     0x7ff040253224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  69:     0x7ff040386a8c - rustc_hir[ff40637095421666]::intravisit::walk_item::<rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass>>
  70:     0x7ff040253224 - <rustc_lint[259b0326d632a76]::late::LateContextAndPass<rustc_lint[259b0326d632a76]::late::RuntimeCombinedLateLintPass> as rustc_hir[ff40637095421666]::intravisit::Visitor>::visit_nested_item
  71:     0x7ff04024b49c - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}::{closure#0}>
  72:     0x7ff04024c4af - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}>
  73:     0x7ff04029832c - rustc_data_structures[cae197669f5e2251]::sync::parallel::disabled::join::<rustc_lint[259b0326d632a76]::late::check_crate::{closure#0}, rustc_lint[259b0326d632a76]::late::check_crate::{closure#1}, (), ()>
  74:     0x7ff040262b72 - rustc_lint[259b0326d632a76]::late::check_crate
  75:     0x7ff03e348dd9 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#1}::{closure#0}::{closure#2}::{closure#0}>
  76:     0x7ff03e34d28b - <rustc_data_structures[cae197669f5e2251]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#2}::{closure#0}::{closure#2}::{closure#0}::{closure#2}>
  77:     0x7ff03e3feffb - std[93f214e0827fcdbb]::panicking::try::<(), core[e3694978a9cea066]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}::{closure#1}::{closure#0}>>
  78:     0x7ff03e34b179 - <rustc_session[c168ed2431428bb9]::session::Session>::time::<(), rustc_interface[7487215266ab057d]::passes::analysis::{closure#6}>
  79:     0x7ff03e39311a - rustc_interface[7487215266ab057d]::passes::analysis
  80:     0x7ff03fe1a9b3 - rustc_query_impl[6ad89a377c239f6b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>
  81:     0x7ff0400326e1 - <rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::dynamic_query::{closure#2} as core[e3694978a9cea066]::ops::function::FnOnce<(rustc_middle[6e5000a7f52a684f]::ty::context::TyCtxt, ())>>::call_once
  82:     0x7ff0401847b0 - rustc_query_system[f6c668522595241d]::query::plumbing::try_execute_query::<rustc_query_impl[6ad89a377c239f6b]::DynamicConfig<rustc_query_system[f6c668522595241d]::query::caches::SingleCache<rustc_middle[6e5000a7f52a684f]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6ad89a377c239f6b]::plumbing::QueryCtxt, false>
  83:     0x7ff03ff2b9f1 - rustc_query_impl[6ad89a377c239f6b]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
  84:     0x7ff03e0f2f6b - <rustc_middle[6e5000a7f52a684f]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}::{closure#3}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  85:     0x7ff03e17d4bc - <rustc_interface[7487215266ab057d]::interface::Compiler>::enter::<rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<core[e3694978a9cea066]::option::Option<rustc_interface[7487215266ab057d]::queries::Linker>, rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  86:     0x7ff03e19cb84 - rustc_span[66a0eb329c665e58]::set_source_map::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}>
  87:     0x7ff03e10f427 - <scoped_tls[5601265e1082ea9c]::ScopedKey<rustc_span[66a0eb329c665e58]::SessionGlobals>>::set::<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  88:     0x7ff03e19d0d9 - rustc_span[66a0eb329c665e58]::create_session_globals_then::<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}>
  89:     0x7ff03e13384e - std[93f214e0827fcdbb]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>
  90:     0x7ff03e1379a1 - <<std[93f214e0827fcdbb]::thread::Builder>::spawn_unchecked_<rustc_interface[7487215266ab057d]::util::run_in_thread_with_globals<rustc_interface[7487215266ab057d]::util::run_in_thread_pool_with_globals<rustc_interface[7487215266ab057d]::interface::run_compiler<core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>, rustc_driver_impl[c23d2a2ac1cc904b]::run_compiler::{closure#0}>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e3694978a9cea066]::result::Result<(), rustc_span[66a0eb329c665e58]::ErrorGuaranteed>>::{closure#1} as core[e3694978a9cea066]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  92:     0x7ff03d100ac3 - <unknown>
  93:     0x7ff03d192850 - <unknown>

error: the compiler unexpectedly panicked. this is a bug.
error: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml

note: please attach the file at `/checkout/obj/fuchsia/out/default/rustc-ice-2024-02-07T09_11_28-164248.txt` to your bug report

note: compiler flags: --crate-type rlib -C linker=../../prebuilt/third_party/clang/linux-x64/bin/lld -C link-arg=--sysroot=gen/zircon/public/sysroot/cpp -C link-arg=-L../../prebuilt/third_party/clang/linux-x64/bin/../lib/x86_64-unknown-fuchsia/noexcept -C link-arg=-L../../prebuilt/third_party/clang/linux-x64/lib/clang/18/lib/x86_64-unknown-fuchsia -C link-arg=--pack-dyn-relocs=relr -C link-arg=-dynamic-linker=ld.so.1 -C link-arg=--icf=all -C link-arg=-zrel -Z remap-cwd-prefix=. -C force-frame-pointers -C opt-level=0 -C debuginfo=0 -C link-arg=--compress-debug-sections=zstd -C debug-assertions=yes -Z allow-features= -C prefer-dynamic -C link-args=-zstack-size=0x200000 -C panic=abort -C force-unwind-tables=yes -Z panic_abort_tests -C symbol-mangling-version=v0 -Z no_codegen
query stack during panic:
query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `impl IntoIterator<Item = fidl_fuchsia_net_dhcp::Parameter>: core::marker::Sized`
end of query stack
note: Clippy version: clippy 0.1.77 (9e350cfe 2024-02-07)

warning: method `remove_file` is never used
---
...
30 |     async fn serve(
   |              ^^^^^
...
37 |     fn matches_routed_capability(&self, capability: &InternalCapability) -> bool;
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`



warning: methods `exposes` and `collections` are never used
##[warning]   --> ../../src/sys/component_manager/src/model/actions/shutdown.rs:357:8
    |
352 | pub trait Component {
    |           --------- methods in this trait
...
357 |     fn exposes(&self) -> Vec<ExposeDecl>;
...
366 |     fn collections(&self) -> Vec<CollectionDecl>;
    |        ^^^^^^^^^^^

---
...
30 |     async fn serve(
   |              ^^^^^
...
37 |     fn matches_routed_capability(&self, capability: &InternalCapability) -> bool;
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

---

warning: 1 warning emitted


warning: method `on_pmk_available` is never used
##[warning]  --> ../../src/connectivity/wlan/lib/sme/src/client/rsn.rs:50:8
24 | pub trait Supplicant: std::fmt::Debug + std::marker::Send {
   |           ---------- method in this trait
...
50 |     fn on_pmk_available(
---

warning: 1 warning emitted


warning: method `on_pmk_available` is never used
##[warning]  --> ../../src/connectivity/wlan/lib/sme/src/client/rsn.rs:50:8
24 | pub trait Supplicant: std::fmt::Debug + std::marker::Send {
   |           ---------- method in this trait
...
50 |     fn on_pmk_available(
50 |     fn on_pmk_available(
   |        ^^^^^^^^^^^^^^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

warning: 1 warning emitted

ninja: build stopped: cannot make progress due to previous errors.
Malformed output: /checkout/obj/fuchsia/out/default/gen/src/connectivity/network/tests/integration/common/netstack_testing_common.clippy
Malformed output: /checkout/obj/fuchsia/out/default/host_x64/gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test_executable.clippy
Malformed output: /checkout/obj/fuchsia/out/default/gen/src/connectivity/network/netstack3/core/netstack3-core-instrumented_test.clippy
warning: method `name` is never used
  --> ../../tools/fidl/fidldoc/src/templates/mod.rs:35:8
32 | pub trait FidldocTemplate {
   |           --------------- method in this trait
...
35 |     fn name(&self) -> String;
---

warning: methods `id` and `build_handler` are never used
  --> ../../src/connectivity/bluetooth/profiles/bt-hfp-audio-gateway/src/peer.rs:76:8
   |
75 | pub trait Peer: Future<Output = PeerId> + Unpin + Send {
   |           ---- methods in this trait
76 |     fn id(&self) -> PeerId;
...
...
90 |     async fn build_handler(&mut self) -> Result<ServerEnd<PeerHandlerMarker>, Error>;
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

---

warning: trait `FakeNetworkLinks` is never used
    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1833:22
     |
1833 |     pub(crate) trait FakeNetworkLinks<SendMeta, RecvMeta, CtxId> {


warning: struct `LoopLimitReachedError` is never constructed
    --> ../../src/connectivity/network/netstack3/core/src/context.rs:1876:23
---

warning: trait `FakeStrongDeviceId` is never used
   --> ../../src/connectivity/network/netstack3/core/src/device/base.rs:552:15
    |
552 |     pub trait FakeStrongDeviceId: StrongId<Weak = FakeWeakDeviceId<Self>> + 'static + Ord {}


warning: trait `UnwrapNdp` is never used
    --> ../../src/connectivity/network/netstack3/core/src/device/ndp.rs:1048:11
    --> ../../src/connectivity/network/netstack3/core/src/device/ndp.rs:1048:11
     |
1048 |     trait UnwrapNdp<B: ByteSlice> {


warning: associated function `next_hop_addr` is never used
   --> ../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs:490:12
   --> ../../src/connectivity/network/netstack3/core/src/ip/forwarding.rs:490:12
    |
482 |     trait TestIpExt: crate::testutil::TestIpExt {
    |           --------- associated function in this trait
...
490 |         fn next_hop_addr() -> SpecifiedAddr<Self::Addr>;


warning: struct `NotPresent` is never constructed
   --> ../../src/connectivity/network/netstack3/core/lock-order/src/lib.rs:738:12
---
...
30 |     async fn serve(
   |              ^^^^^
...
37 |     fn matches_routed_capability(&self, capability: &InternalCapability) -> bool;
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`



warning: methods `exposes` and `collections` are never used
   --> ../../src/sys/component_manager/src/model/actions/shutdown.rs:357:8
    |
352 | pub trait Component {
    |           --------- methods in this trait
...
357 |     fn exposes(&self) -> Vec<ExposeDecl>;
...
366 |     fn collections(&self) -> Vec<CollectionDecl>;
    |        ^^^^^^^^^^^

---

warning: method `value_or_default_from_build_type` is never used
   --> ../../src/lib/assembly/platform_configuration/src/common.rs:694:8
    |
693 | pub(crate) trait OptionDefaultByBuildTypeExt<T: DefaultByBuildType> {
    |                  --------------------------- method in this trait
694 |     fn value_or_default_from_build_type(self, build_type: &BuildType) -> T;
    |
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(dead_code)]`

---
#  https://cs.opensource.google/fuchsia/fuchsia/+/94571b23c1ee445240a233e8ef811401412972b6:
#                                                                             #
###############################################################################

warning: method `on_pmk_available` is never used
  --> ../../src/connectivity/wlan/lib/sme/src/client/rsn.rs:50:8
24 | pub trait Supplicant: std::fmt::Debug + std::marker::Send {
   |           ---------- method in this trait
...
50 |     fn on_pmk_available(
---

warning: method `enforce_minimum_bitrate` is never used
  --> ../../third_party/rust_crates/vendor/tuf-0.3.0-beta11/src/util.rs:16:8
   |
13 | pub(crate) trait SafeAsyncRead: AsyncRead + Sized + Unpin {
...
...
16 |     fn enforce_minimum_bitrate(self, min_bytes_per_second: u32) -> EnforceMinimumBitrate<Self> {
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

@bors
Copy link
Contributor

bors commented Feb 7, 2024

💔 Test failed - checks-actions

@bors bors 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 Feb 7, 2024
@matthiaskrgr matthiaskrgr deleted the rollup-wsmujwc branch March 16, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. 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-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.