Skip to content

Feat/use ledger

Feat/use ledger #128

Triggered via pull request July 4, 2023 12:09
Status Cancelled
Total duration 6m 31s
Artifacts

rust.yml

on: pull_request
Matrix: shell_tests
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

33 errors
cannot find struct, variant or union type `FunctionCallAction` in this scope: src/client/near.rs#L380
error[E0422]: cannot find struct, variant or union type `FunctionCallAction` in this scope --> src/client/near.rs:380:52 | 380 | actions: vec![Action::FunctionCall(FunctionCallAction { | ^^^^^^^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::FunctionCallAction; |
cannot find struct, variant or union type `TransferAction` in this scope: src/client/near.rs#L353
error[E0422]: cannot find struct, variant or union type `TransferAction` in this scope --> src/client/near.rs:353:38 | 353 | Action::Transfer(TransferAction { | ^^^^^^^^^^^^^^ | ::: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/near-primitives-0.17.0/src/transaction.rs:31:1 | 31 | pub struct Transaction { | ---------------------- similarly named struct `Transaction` defined here | help: a struct with a similar name exists | 353 | Action::Transfer(Transaction { | ~~~~~~~~~~~ help: consider importing this struct | 1 | use near_primitives::transaction::TransferAction; |
cannot find struct, variant or union type `AccessKey` in this scope: src/client/near.rs#L348
error[E0422]: cannot find struct, variant or union type `AccessKey` in this scope --> src/client/near.rs:348:37 | 348 | access_key: AccessKey { | ^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 | use crate::client::near::QueryResponseKind::AccessKey; | 1 | use crate::client::near::views::QueryResponseKind::AccessKey; | 1 | use near_jsonrpc_primitives::types::query::QueryResponseKind::AccessKey; | 1 | use near_primitives::account::AccessKey; | and 3 other candidates
cannot find struct, variant or union type `AddKeyAction` in this scope: src/client/near.rs#L346
error[E0422]: cannot find struct, variant or union type `AddKeyAction` in this scope --> src/client/near.rs:346:36 | 346 | Action::AddKey(AddKeyAction { | ^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::AddKeyAction; |
cannot find struct, variant or union type `CreateAccountAction` in this scope: src/client/near.rs#L345
error[E0422]: cannot find struct, variant or union type `CreateAccountAction` in this scope --> src/client/near.rs:345:43 | 345 | Action::CreateAccount(CreateAccountAction {}), | ^^^^^^^^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::CreateAccountAction; |
cannot find struct, variant or union type `TransferAction` in this scope: src/client/near.rs#L294
error[E0422]: cannot find struct, variant or union type `TransferAction` in this scope --> src/client/near.rs:294:44 | 294 | actions: vec![Action::Transfer(TransferAction { deposit })], | ^^^^^^^^^^^^^^ | ::: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/near-primitives-0.17.0/src/transaction.rs:31:1 | 31 | pub struct Transaction { | ---------------------- similarly named struct `Transaction` defined here | help: a struct with a similar name exists | 294 | actions: vec![Action::Transfer(Transaction { deposit })], | ~~~~~~~~~~~ help: consider importing this struct | 1 | use near_primitives::transaction::TransferAction; |
cannot find struct, variant or union type `FunctionCallAction` in this scope: src/client/near.rs#L380
error[E0422]: cannot find struct, variant or union type `FunctionCallAction` in this scope --> src/client/near.rs:380:52 | 380 | actions: vec![Action::FunctionCall(FunctionCallAction { | ^^^^^^^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::FunctionCallAction; |
cannot find struct, variant or union type `TransferAction` in this scope: src/client/near.rs#L353
error[E0422]: cannot find struct, variant or union type `TransferAction` in this scope --> src/client/near.rs:353:38 | 353 | Action::Transfer(TransferAction { | ^^^^^^^^^^^^^^ | ::: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/near-primitives-0.17.0/src/transaction.rs:31:1 | 31 | pub struct Transaction { | ---------------------- similarly named struct `Transaction` defined here | help: a struct with a similar name exists | 353 | Action::Transfer(Transaction { | ~~~~~~~~~~~ help: consider importing this struct | 1 | use near_primitives::transaction::TransferAction; |
cannot find struct, variant or union type `AccessKey` in this scope: src/client/near.rs#L348
error[E0422]: cannot find struct, variant or union type `AccessKey` in this scope --> src/client/near.rs:348:37 | 348 | access_key: AccessKey { | ^^^^^^^^^ not found in this scope | help: consider importing one of these items | 1 | use crate::client::near::QueryResponseKind::AccessKey; | 1 | use crate::client::near::views::QueryResponseKind::AccessKey; | 1 | use near_jsonrpc_primitives::types::query::QueryResponseKind::AccessKey; | 1 | use near_primitives::account::AccessKey; | and 3 other candidates
cannot find struct, variant or union type `AddKeyAction` in this scope: src/client/near.rs#L346
error[E0422]: cannot find struct, variant or union type `AddKeyAction` in this scope --> src/client/near.rs:346:36 | 346 | Action::AddKey(AddKeyAction { | ^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::AddKeyAction; |
cannot find struct, variant or union type `CreateAccountAction` in this scope: src/client/near.rs#L345
error[E0422]: cannot find struct, variant or union type `CreateAccountAction` in this scope --> src/client/near.rs:345:43 | 345 | Action::CreateAccount(CreateAccountAction {}), | ^^^^^^^^^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 1 | use near_primitives::transaction::CreateAccountAction; |
cannot find struct, variant or union type `TransferAction` in this scope: src/client/near.rs#L294
error[E0422]: cannot find struct, variant or union type `TransferAction` in this scope --> src/client/near.rs:294:44 | 294 | actions: vec![Action::Transfer(TransferAction { deposit })], | ^^^^^^^^^^^^^^ | ::: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/near-primitives-0.17.0/src/transaction.rs:31:1 | 31 | pub struct Transaction { | ---------------------- similarly named struct `Transaction` defined here | help: a struct with a similar name exists | 294 | actions: vec![Action::Transfer(Transaction { deposit })], | ~~~~~~~~~~~ help: consider importing this struct | 1 | use near_primitives::transaction::TransferAction; |
failed to resolve: use of undeclared type `AccessKeyPermission`: src/client/near.rs#L350
error[E0433]: failed to resolve: use of undeclared type `AccessKeyPermission` --> src/client/near.rs:350:41 | 350 | ... permission: AccessKeyPermission::FullAccess, | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AccessKeyPermission`
failed to resolve: use of undeclared type `AccessKeyPermission`: src/client/near.rs#L350
error[E0433]: failed to resolve: use of undeclared type `AccessKeyPermission` --> src/client/near.rs:350:41 | 350 | ... permission: AccessKeyPermission::FullAccess, | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AccessKeyPermission`
Clippy
Clippy had exited with the 101 exit code
Linux: src/client/near.rs#L350
failed to resolve: use of undeclared type `AccessKeyPermission`
Linux: src/client/near.rs#L294
cannot find struct, variant or union type `TransferAction` in this scope
Linux: src/client/near.rs#L345
cannot find struct, variant or union type `CreateAccountAction` in this scope
Linux: src/client/near.rs#L346
cannot find struct, variant or union type `AddKeyAction` in this scope
Linux: src/client/near.rs#L348
cannot find struct, variant or union type `AccessKey` in this scope
Linux: src/client/near.rs#L353
cannot find struct, variant or union type `TransferAction` in this scope
Linux: src/client/near.rs#L380
cannot find struct, variant or union type `FunctionCallAction` in this scope
Linux
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
macOS
The job was canceled because "Linux" failed.
macOS
The operation was canceled.
Windows
The job was canceled because "Linux" failed.
Windows
The operation was canceled.
Tests Simple CLI
The run was canceled by @0x3bfc.
Tests Simple CLI
The operation was canceled.
Tests Silo CLI
The run was canceled by @0x3bfc.
Tests Silo CLI
The operation was canceled.
Tests Advanced CLI
The run was canceled by @0x3bfc.
Tests Advanced CLI
The operation was canceled.