Skip to content

clockwork-cli failed installation #271

@pplanel

Description

@pplanel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions