Skip to content

Build fails on both v0 and v1 #35

Description

@ricardojmendez

Hi,

I'm trying to install TInyDancer through cargo install. It all goes well until it reaches spl-token-2022, where the build fails:

124.4    Compiling spl-token-2022 v0.5.0
124.5 error[E0412]: cannot find type `CloseAccountData` in this scope
124.5    --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-0.5.0/src/extension/confidential_transfer/instruction.rs:688:18
124.5     |
124.5 688 |     proof_data: &CloseAccountData,
124.5     |                  ^^^^^^^^^^^^^^^^ not found in this scope
124.5
124.5 error[E0412]: cannot find type `WithdrawWithheldTokensData` in this scope
124.5     --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/spl-token-2022-0.5.0/src/extension/confidential_transfer/instruction.rs:1086:18
124.5      |
124.5 497  | pub struct WithdrawWithheldTokensFromMintData {
124.5      | --------------------------------------------- similarly named struct `WithdrawWithheldTokensFromMintData` defined here

(Eliding other errors)

I've tried this with both master and v1. I also tried building in a clean container based off rust:latest, to make sure the environment was clean.

Is this a known issue or is there something I'm missing?

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