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

clockwork-cli failed installation #271

Open
pplanel opened this issue Apr 14, 2024 · 0 comments
Open

clockwork-cli failed installation #271

pplanel opened this issue Apr 14, 2024 · 0 comments

Comments

@pplanel
Copy link

pplanel commented Apr 14, 2024

Problem

Running cargo install -f --locked clockwork-cli on my system fails to build and install.
I see that there's a PR waiting for approval but in the mean time your official docs are leading to a failed installation.

Result

error[E0599]: no function or associated item named `try_deserialize` found for struct `clockwork_thread_program_v1::Thread` in the current scope
   --> /Users/pplanel/.cargo/registry/src/index.crates.io-6f17d22bba15001f/clockwork-thread-program-2.0.19/src/state/versioned_thread.rs:147:59
    |
147 |             Err(_err) => Ok(VersionedThread::V1(ThreadV1::try_deserialize(buf)?)),
    |                                                           ^^^^^^^^^^^^^^^ function or associated item not found in `Thread`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
1   + use anchor_lang::AccountDeserialize;
    |

For more information about this error, try `rustc --explain E0599`.

Solution

Possibly when #270 is merged

Versions

  1. Rust
rustup default
1.73.0-aarch64-apple-darwin (default)
  1. Clockwork
    v2.0.19
  2. OS
Model Name: MacBook Pro
Model Identifier: Mac14,5
Model Number: MPHG3LL/A
Chip: Apple M2 Max
Total Number of Cores: 12 (8 performance and 4 efficiency)
Memory: 32 GB
System Firmware Version: 10151.101.3
OS Loader Version: 10151.101.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant