Skip to content

CI is failing for clippy (beta) and check rust-doc intra doc links #6194

@elijahhampton

Description

@elijahhampton

Summary

The CI pipeline is failing now for clippy (beta) and check rust-doc intra doc links steps for PRs that don't touch the modules emitting the errors.

Expected behavior

The CI pipeline should succeed if no changes have been made to these files.

Actual behavior

The CI pipeline is failing when no changes have been made to these files.

Relevant log output

warning: build failed, waiting for other jobs to finish...
error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::GetClosestPeers}`
Error:    --> protocols/kad/src/behaviour.rs:727:11
    |
727 |     /// [`Event::OutboundQueryProgressed{QueryResult::GetClosestPeers}`].
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`
    |
    = note: requested on the command line with `-D rustdoc::broken-intra-doc-links`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::GetClosestPeers}`
Error:    --> protocols/kad/src/behaviour.rs:740:11
    |
740 |     /// [`Event::OutboundQueryProgressed{QueryResult::GetClosestPeers}`].
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::GetRecord}`
Error:    --> protocols/kad/src/behaviour.rs:797:11
    |
797 |     /// [`Event::OutboundQueryProgressed{QueryResult::GetRecord}`].
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::PutRecord}`
Error:    --> protocols/kad/src/behaviour.rs:856:11
    |
856 |     /// [`Event::OutboundQueryProgressed{QueryResult::PutRecord}`].
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::Bootstrap}`
Error:    --> protocols/kad/src/behaviour.rs:970:24
    |
970 |     /// reported via [`Event::OutboundQueryProgressed{QueryResult::Bootstrap}`] events,
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::StartProviding}`
Error:     --> protocols/kad/src/behaviour.rs:1023:24
     |
1023 |     /// reported via [`Event::OutboundQueryProgressed{QueryResult::StartProviding}`].
     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: unresolved link to `Event::OutboundQueryProgressed{QueryResult::GetProviders}`
Error:     --> protocols/kad/src/behaviour.rs:1059:24
     |
1059 |     /// reported via [`Event::OutboundQueryProgressed{QueryResult::GetProviders}`].
     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the enum `Event` has no variant or associated item named `OutboundQueryProgressed{QueryResult`

error: could not document `libp2p-kad`

Possible Solution

While I am not sure of the reason causing the CI errors. Something could have changed in the workflow yaml files.

Version

0.56.1

Would you like to work on fixing this bug?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions