Skip to content

Build fails because dependency references deleted Git branch (feat/us-dc-region) #278

Description

@01xRiverse

Description

Attempting to build the project fails because the longbridge dependency in Cargo.toml references a Git branch that no longer exists:

longbridge = { git = "https://github.com/longbridge/openapi.git", branch = "feat/us-dc-region" }

Cargo reports:

failed to get `longbridge` as a dependency

Unable to update https://github.com/longbridge/openapi.git?branch=feat/us-dc-region

failed to find branch `feat/us-dc-region`

cannot locate remote-tracking branch 'origin/feat/us-dc-region'

Environment

  • macOS (Apple Silicon)
  • Latest stable Rust toolchain

Expected behavior

The project should build successfully after cloning the repository.

Actual behavior

The build fails because the dependency points to a Git branch that no longer exists in the longbridge/openapi repository.

Suggested fix

Update the dependency to a valid branch, tag, or commit in the longbridge/openapi repository so new contributors can build the project successfully.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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