Skip to content

Error during npm run devtest #2

@var-che

Description

@var-che

When that command is run, this is what I get:

  ...
   Compiling hdk_derive v0.1.2
   Compiling hdi v0.2.0
error[E0433]: failed to resolve: use of undeclared type `OpRecord`
  --> /home/vlada/.cargo/registry/src/github.com-1ecc6299db9ec823/hdi-0.2.0/src/op.rs:77:44
   |
77 |                     Action::Dna(action) => OpRecord::Dna {
   |                                            ^^^^^^^^ use of undeclared type `OpRecord`

error[E0433]: failed to resolve: use of undeclared type `OpRecord`
  --> /home/vlada/.cargo/registry/src/github.com-1ecc6299db9ec823/hdi-0.2.0/src/op.rs:83:25
   |
83 |                         OpRecord::AgentValidationPkg {
   |                         ^^^^^^^^ use of undeclared type `OpRecord`

error[E0433]: failed to resolve: use of undeclared type `OpRecord`
  --> /home/vlada/.cargo/registry/src/github.com-1ecc6299db9ec823/hdi-0.2.0/src/op.rs:88:58
   |
88 |                     Action::InitZomesComplete(action) => OpRecord::InitZomesComplete {
   |                                                          ^^^^^^^^ use of undeclared type `OpRecord`

error[E0433]: failed to resolve: use of undeclared type `OpRecord`
   --> /home/vlada/.cargo/registry/src/github.com-1ecc6299db9ec823/hdi-0.2.0/src/op.rs:101:25
    |
101 |                         OpRecord::CreateLink {
    |                         ^^^^^^^^ use of undeclared type `OpRecord`

...

Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `hdi` due to 61 previous errors

Anyone of you faced this problem?

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