- Error: Function _ZN112_$LT$solana_program..instruction..InstructionError$u20$as$u20$solana_frozen_abi..abi_example..AbiEnumVisitor$GT$13visit_for_abi17h7c68a11e9ccd882eE Stack offset of 4584 exceeded max offset of 4096 by 488 bytes, please minimize large stack variables
- Compiling switchboard-solana v0.29.101
- error[E0432]: unresolved import `switchboard_common::SbFunctionError`
- --> src/error.rs:77:44
- |
- 77 | pub use switchboard_common::{ SbError, SbFunctionError };
- | ^^^^^^^^^^^^^^^ no `SbFunctionError` in the root
- error[E0432]: unresolved imports `switchboard_common::Gramine`, `switchboard_common::SbFunctionError`, `switchboard_common::SolanaFunctionEnvironment`, `switchboard_common::SolanaFunctionSimulationEnvironment`
- --> src/prelude.rs:27:9
- |
- 27 | Gramine, SbError, SbFunctionError, SolanaFunctionEnvironment,
- | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ no `SolanaFunctionEnvironment` in the root
- | | |
- | | no `SbFunctionError` in the root
- | no `Gramine` in the root
- 28 | SolanaFunctionSimulationEnvironment,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SolanaFunctionSimulationEnvironment` in the root
- |
- = help: consider importing this unresolved item through its public re-export instead:
- crate::SbFunctionError
- error[E0433]: failed to resolve: use of undeclared crate or module `anchor_client`
- --> src/client/program.rs:1:5
- |
- 1 | use anchor_client::solana_sdk::signature::Keypair;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
- |
- help: there is a crate or module with a similar name
- |
- 1 | use anchor_lang::solana_sdk::signature::Keypair;
- | ~~~~~~~~~~~
- error[E0432]: unresolved import `switchboard_common::SolanaFunctionEnvironment`
- --> src/client/function_runner.rs:18:5
- |
- 18 | use switchboard_common::SolanaFunctionEnvironment;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SolanaFunctionEnvironment` in the root
- |
- help: consider importing this unresolved item through its public re-export instead
- |
- 18 | use crate::SolanaFunctionEnvironment;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/client/event_client.rs:4:5
- |
- 4 | use solana_client::nonblocking::pubsub_client;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/client/event_client.rs:5:5
- |
- 5 | use solana_client::rpc_config::{RpcTransactionLogsConfig, RpcTransactionLogsFilter};
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `base64`
- --> src/client/event_client.rs:8:5
- |
- 8 | use base64::engine::general_purpose;
- | ^^^^^^ use of undeclared crate or module `base64`
- error[E0432]: unresolved import `anchor_client`
- --> src/client/program.rs:2:5
- |
- 2 | use anchor_client::{ Program, Client };
- | ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
- |
- help: there is a crate or module with a similar name
- |
- 2 | use anchor_lang::{ Program, Client };
- | ~~~~~~~~~~~
- error[E0432]: unresolved import `base64`
- --> src/client/event_client.rs:9:5
- |
- 9 | use base64::Engine;
- | ^^^^^^ use of undeclared crate or module `base64`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/event_client.rs:11:5
- |
- 11 | use tokio::sync::mpsc;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/event_client.rs:12:5
- |
- 12 | use tokio::time::Duration;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio_util`
- --> src/client/event_client.rs:13:5
- |
- 13 | use tokio_util::sync::CancellationToken;
- | ^^^^^^^^^^ use of undeclared crate or module `tokio_util`
- error[E0432]: unresolved imports `futures`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`
- --> src/oracle_program/accounts/aggregator.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/client/event_client.rs:10:5
- |
- 10 | use futures::StreamExt;
- | ^^^^^^^ use of undeclared crate or module `futures`
- |
- ::: src/oracle_program/accounts/oracle.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/oracle_program/accounts/queue.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/oracle_program/accounts/vrf.rs:2:5
- |
- 2 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/oracle_program/accounts/vrf_lite.rs:2:5
- |
- 2 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/oracle_program/accounts/vrf_pool.rs:3:5
- |
- 3 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- error[E0432]: unresolved import `crate::borsh`
- --> src/oracle_program/instructions/aggregator_save_result.rs:1:12
- |
- 1 | use crate::borsh::BorshSerialize;
- | ^^^^^
- | |
- | unresolved import
- | help: a similar path exists: `solana_program::borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/oracle_program/instructions/aggregator_save_result.rs:8:5
- |
- 8 | use solana_sdk::instruction::AccountMeta;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/oracle_program/instructions/aggregator_save_result.rs:9:5
- |
- 9 | use solana_sdk::pubkey::Pubkey;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0432]: unresolved imports `anchor_client`, `anchor_lang::solana_program::instruction::Instruction`, `anchor_lang::Discriminator`, `solana_sdk::instruction::AccountMeta`, `solana_sdk::pubkey::Pubkey`
- --> src/oracle_program/instructions/aggregator_save_result.rs:3:5
- |
- 3 | use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
- 4 |
- 5 | use anchor_lang::solana_program::instruction::Instruction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 6 |
- 7 | use anchor_lang::Discriminator;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 8 | use solana_sdk::instruction::AccountMeta;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 9 | use solana_sdk::pubkey::Pubkey;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- help: there is a crate or module with a similar name
- |
- 3 | use anchor_lang::anchor_lang;
- | ~~~~~~~~~~~
- error[E0432]: unresolved import `crate::borsh`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:1:12
- |
- 1 | use crate::borsh::BorshSerialize;
- | ^^^^^
- | |
- | unresolved import
- | help: a similar path exists: `solana_program::borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:8:5
- |
- 8 | use solana_sdk::instruction::AccountMeta;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:9:5
- |
- 9 | use solana_sdk::pubkey::Pubkey;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/request.rs:4:5
- |
- 4 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/request.rs:5:5
- |
- 5 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/request.rs:6:5
- |
- 6 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `anchor_client`
- --> src/attestation_program/client/bootstrapped_queue.rs:4:5
- |
- 4 | use anchor_client::solana_sdk::client::SyncClient;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
- |
- help: there is a crate or module with a similar name
- |
- 4 | use anchor_lang::solana_sdk::client::SyncClient;
- | ~~~~~~~~~~~
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/bootstrapped_queue.rs:6:5
- |
- 6 | use solana_client::nonblocking::rpc_client::RpcClient as NonblockingRpcClient;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/bootstrapped_queue.rs:7:5
- |
- 7 | use solana_client::rpc_client::RpcClient;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/bootstrapped_queue.rs:9:5
- |
- 9 | use solana_sdk::message::Message;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/bootstrapped_queue.rs:10:5
- |
- 10 | use solana_sdk::signature::Signature;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/bootstrapped_queue.rs:11:5
- |
- 11 | use solana_sdk::signer::keypair::Keypair;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/bootstrapped_queue.rs:12:5
- |
- 12 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/bootstrapped_queue.rs:13:5
- |
- 13 | use solana_sdk::transaction::Transaction;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0432]: unresolved imports `anchor_client`, `anchor_lang::solana_program::instruction::Instruction`, `anchor_lang::Discriminator`, `solana_sdk::instruction::AccountMeta`, `solana_sdk::pubkey::Pubkey`, `crate::cfg_client`, `crate::cfg_client`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `crate::cfg_client`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `crate::cfg_client`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::find_associated_token_address`, `crate::cfg_client`, `crate::find_associated_token_address`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::find_associated_token_address`, `crate::cfg_client`, `crate::find_associated_token_address`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_client`, `crate::cfg_macros`, `crate::cfg_program`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `crate::SWITCHBOARD_PROGRAM_ID`, `solana_client::rpc_config::RpcAccountInfoConfig`, `solana_client::rpc_config::RpcProgramAccountsConfig`, `solana_sdk::commitment_config::CommitmentConfig`, `solana_sdk::commitment_config::CommitmentLevel`, `solana_sdk::signer::Signer`, `anchor_client::solana_sdk::client::SyncClient`, `solana_client::nonblocking::rpc_client::RpcClient`, `solana_client::rpc_client::RpcClient`, `solana_sdk::message::Message`, `solana_sdk::signature::Signature`, `solana_sdk::signer::keypair::Keypair`, `solana_sdk::signer::Signer`, `solana_sdk::transaction::Transaction`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:3:5
- |
- 3 | use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
- 4 |
- 5 | use anchor_lang::solana_program::instruction::Instruction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 6 |
- 7 | use anchor_lang::Discriminator;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 8 | use solana_sdk::instruction::AccountMeta;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 9 | use solana_sdk::pubkey::Pubkey;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/mod.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/accounts/attestation_permission.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- ...
- 10 | use crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/accounts/attestation_queue.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::prelude::*;
- 3 | use crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/accounts/attestation_state.rs:5:5
- |
- 5 | use crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/accounts/verifier.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::prelude::*;
- 3 | use crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/attestation_permission_init.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/attestation_permission_set.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/function_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/attestation_queue_init.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/request_init_and_trigger.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/request_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::find_associated_token_address;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/routine_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::find_associated_token_address;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/verifier_heartbeat.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/verifier_init.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/verifier_quote_rotate.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/verifier_quote_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/wallet_init.rs:1:13
- |
- 1 | use crate::{cfg_client, prelude::*};
- | ^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/service_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::find_associated_token_address;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/instructions/service_request_quote_verify.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- 2 | use crate::find_associated_token_address;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/error.rs:74:5
- |
- 74 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/types.rs:1:5
- |
- 1 | use crate::cfg_client;
- | ^^^^^^^^^^^^^^^^^
- |
- ::: src/prelude.rs:1:13
- |
- 1 | use crate::{cfg_client, cfg_macros, cfg_program};
- | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^
- ...
- 11 | pub use crate::{SWITCHBOARD_ATTESTATION_PROGRAM_ID, SWITCHBOARD_PROGRAM_ID};
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/client/request.rs:4:33
- |
- 4 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
- 5 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
- 6 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/client/bootstrapped_queue.rs:4:5
- |
- 4 | use anchor_client::solana_sdk::client::SyncClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 5 | use kv_log_macro::info;
- 6 | use solana_client::nonblocking::rpc_client::RpcClient as NonblockingRpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 7 | use solana_client::rpc_client::RpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 8 | use solana_program::hash::Hash;
- 9 | use solana_sdk::message::Message;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 10 | use solana_sdk::signature::Signature;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 11 | use solana_sdk::signer::keypair::Keypair;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 12 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 13 | use solana_sdk::transaction::Transaction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- help: there is a crate or module with a similar name
- |
- 3 | use anchor_lang::anchor_lang;
- | ~~~~~~~~~~~
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/function.rs:6:5
- |
- 6 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/function.rs:7:5
- |
- 7 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/function.rs:8:5
- |
- 8 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/wallet.rs:4:5
- |
- 4 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/routine.rs:3:5
- |
- 3 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk`
- --> src/attestation_program/client/routine.rs:4:5
- |
- 4 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk`
- error[E0433]: failed to resolve: use of undeclared crate or module `solana_client`
- --> src/attestation_program/client/service.rs:3:5
- |
- 3 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^ use of undeclared crate or module `solana_client`
- error[E0432]: unresolved imports `sha2`, `solana_client::rpc_config::RpcAccountInfoConfig`, `solana_client::rpc_config::RpcProgramAccountsConfig`, `solana_sdk::commitment_config::CommitmentConfig`, `solana_sdk::commitment_config::CommitmentLevel`, `solana_sdk::signer::Signer`, `solana_sdk::signer::Signer`, `solana_client::rpc_config::RpcAccountInfoConfig`, `solana_client::rpc_config::RpcProgramAccountsConfig`, `solana_sdk::commitment_config::CommitmentConfig`, `solana_sdk::commitment_config::CommitmentLevel`, `solana_client::rpc_config::RpcAccountInfoConfig`, `solana_client::rpc_config::RpcProgramAccountsConfig`
- --> src/attestation_program/client/function.rs:5:5
- |
- 5 | use sha2::{Digest, Sha256};
- | ^^^^ use of undeclared crate or module `sha2`
- 6 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
- 7 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
- 8 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/client/wallet.rs:4:5
- |
- 4 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/client/routine.rs:3:33
- |
- 3 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
- 4 | use solana_sdk::commitment_config::{CommitmentConfig, CommitmentLevel};
- | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
- |
- ::: src/attestation_program/client/service.rs:3:33
- |
- 3 | use solana_client::rpc_config::{RpcAccountInfoConfig, RpcProgramAccountsConfig};
- | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
- error[E0432]: unresolved imports `anchor_client`, `anchor_client::anchor_lang`, `anchor_client::solana_client`, `anchor_client::solana_sdk`, `anchor_client::anchor_lang::solana_program`, `anchor_client::Cluster`, `solana_sdk::signer::keypair::keypair_from_seed`, `solana_sdk::signer::keypair::Keypair`, `solana_sdk::transaction::Transaction`, `solana_sdk::message::Message`
- --> src/prelude.rs:31:13
- |
- 31 | pub use anchor_client;
- | ^^^^^^^^^^^^^ no external crate `anchor_client`
- 32 | pub use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 33 | pub use anchor_client::solana_client;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 34 | pub use anchor_client::solana_sdk;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- 35 | pub use anchor_client::anchor_lang::solana_program;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 36 | pub use anchor_client::Cluster;
- | ^^^^^^^^^^^^^^^^^^^^^^
- 37 |
- 38 | pub use solana_sdk::signer::keypair::{ keypair_from_seed, Keypair };
- | ^^^^^^^^^^^^^^^^^ ^^^^^^^
- 39 | pub use solana_sdk::transaction::Transaction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 40 | pub use solana_sdk::message::Message;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- error[E0432]: unresolved imports `solana_account_decoder`, `anchor_lang::prelude::*`, `anchor_lang::solana_program`, `anchor_lang::prelude::*`, `anchor_lang::prelude::Result`, `crate::get_ixn_discriminator`
- --> src/prelude.rs:42:13
- |
- 42 | pub use solana_account_decoder;
- | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `solana_account_decoder`
- 43 |
- 44 | pub use anchor_lang::prelude::*;
- | ^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 52 | pub use anchor_lang::solana_program;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 53 |
- 54 | pub use anchor_lang::prelude::*;
- | ^^^^^^^^^^^^^^^^^^^^^^^
- 55 |
- 56 | pub use anchor_lang::prelude::Result;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/client/function_runner.rs:3:5
- |
- 3 | use crate::get_ixn_discriminator;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/function_runner.rs:20:5
- |
- 20 | use tokio::sync::Mutex;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `base64`
- --> src/client/utils.rs:6:5
- |
- 6 | use base64::{engine::general_purpose, Engine as _};
- | ^^^^^^ use of undeclared crate or module `base64`
- error[E0432]: unresolved imports `sgx_quote`, `solana_client::rpc_client::RpcClient`, `solana_sdk::commitment_config::CommitmentConfig`, `solana_sdk::signer::keypair::Keypair`, `tokio::sync::Mutex`, `crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID`, `anchor_client::anchor_lang::Event`, `anchor_client::solana_sdk::commitment_config::CommitmentConfig`, `base64::engine::general_purpose`
- --> src/client/function_runner.rs:11:5
- |
- 11 | use sgx_quote::Quote;
- | ^^^^^^^^^ use of undeclared crate or module `sgx_quote`
- 12 | use solana_client::rpc_client::RpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 13 | use solana_sdk::commitment_config::CommitmentConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 14 | use solana_sdk::signer::keypair::Keypair;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 20 | use tokio::sync::Mutex;
- | ^^^^^^^^^^^^^^^^^^
- |
- ::: src/client/program.rs:6:5
- |
- 6 | use crate::SWITCHBOARD_ATTESTATION_PROGRAM_ID;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- |
- ::: src/client/utils.rs:4:5
- |
- 4 | use anchor_client::anchor_lang::Event;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 5 | use anchor_client::solana_sdk::commitment_config::CommitmentConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 6 | use base64::{engine::general_purpose, Engine as _};
- | ^^^^^^^^^^^^^^^^^^^^^^^
- error[E0432]: unresolved import `base64`
- --> src/client/utils.rs:6:5
- |
- 6 | use base64::{engine::general_purpose, Engine as _};
- | ^^^^^^ use of undeclared crate or module `base64`
- error[E0432]: unresolved import `futures`
- --> src/client/utils.rs:7:5
- |
- 7 | use futures::{Future, StreamExt};
- | ^^^^^^^ use of undeclared crate or module `futures`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/utils.rs:20:5
- |
- 20 | use tokio::sync::RwLock;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0432]: unresolved imports `sha2`, `solana_client::nonblocking::pubsub_client::PubsubClient`, `solana_client::nonblocking::rpc_client::RpcClient`, `solana_client::rpc_config::RpcTransactionLogsConfig`, `solana_client::rpc_config::RpcTransactionLogsFilter`, `solana_sdk::client::SyncClient`, `solana_sdk::signer::keypair::keypair_from_seed`, `solana_sdk::signer::keypair::read_keypair_file`, `solana_sdk::signer::keypair::Keypair`, `solana_sdk::signer::Signer`, `tokio::sync::RwLock`, `anchor_client::solana_sdk::commitment_config::CommitmentConfig`, `anchor_client::solana_sdk::transaction::Transaction`, `anchor_client::solana_sdk::transaction::TransactionError`
- --> src/client/utils.rs:8:5
- |
- 8 | use sha2::{Digest, Sha256};
- | ^^^^ use of undeclared crate or module `sha2`
- 9 | use solana_client::nonblocking::pubsub_client::PubsubClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 10 | use solana_client::nonblocking::rpc_client::RpcClient as NonblockingRpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 11 | use solana_client::rpc_config::RpcTransactionLogsConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 12 | use solana_client::rpc_config::RpcTransactionLogsFilter;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 13 | use solana_sdk::client::SyncClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 14 | use solana_sdk::signer::keypair::{keypair_from_seed, read_keypair_file, Keypair};
- | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^
- 15 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 20 | use tokio::sync::RwLock;
- | ^^^^^^^^^^^^^^^^^^^
- |
- ::: src/client/validator.rs:3:5
- |
- 3 | use anchor_client::solana_sdk::commitment_config::CommitmentConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 4 | use anchor_client::solana_sdk::transaction::{Transaction, TransactionError};
- | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
- error[E0432]: unresolved import `dashmap`
- --> src/client/validator.rs:6:5
- |
- 6 | use dashmap::DashMap;
- | ^^^^^^^ use of undeclared crate or module `dashmap`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/validator.rs:14:5
- |
- 14 | use tokio::sync::RwLock;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/transaction_builder.rs:12:5
- |
- 12 | use tokio::sync::RwLockReadGuard;
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0432]: unresolved imports `sha2`, `solana_client::nonblocking::rpc_client::RpcClient`, `solana_client::rpc_config::RpcSimulateTransactionConfig`, `solana_sdk::signature::Signature`, `solana_sdk::signer::keypair::Keypair`, `solana_sdk::signer::Signer`, `tokio::sync::RwLock`, `solana_sdk::signature::Signature`, `solana_sdk::signature::Signer`, `solana_client::nonblocking::rpc_client::RpcClient`, `solana_sdk::compute_budget::ComputeBudgetInstruction`, `solana_sdk::message::v0`, `solana_sdk::message::VersionedMessage`, `solana_sdk::signer::Signer`, `solana_sdk::transaction::VersionedTransaction`, `tokio::sync::RwLockReadGuard`, `solana_sdk::signer::keypair::Keypair`
- --> src/client/validator.rs:7:5
- |
- 7 | use sha2::{Digest, Sha256};
- | ^^^^ use of undeclared crate or module `sha2`
- 8 | use solana_client::nonblocking::rpc_client::RpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 9 | use solana_client::rpc_config::RpcSimulateTransactionConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 10 | use solana_sdk::signature::Signature;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 11 | use solana_sdk::signer::keypair::Keypair;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 12 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 13 | use std::sync::Arc;
- 14 | use tokio::sync::RwLock;
- | ^^^^^^^^^^^^^^^^^^^
- |
- ::: src/client/service_worker.rs:3:29
- |
- 3 | use solana_sdk::signature::{Signature, Signer};
- | ^^^^^^^^^ ^^^^^^
- |
- ::: src/client/transaction_builder.rs:4:5
- |
- 4 | use solana_client::nonblocking::rpc_client::RpcClient;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 7 | use solana_sdk::compute_budget::ComputeBudgetInstruction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 8 | use solana_sdk::message::v0;
- | ^^^^^^^^^^^^^^^^^^^^^^^
- 9 | use solana_sdk::message::VersionedMessage;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 10 | use solana_sdk::signer::Signer;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 11 | use solana_sdk::transaction::VersionedTransaction;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 12 | use tokio::sync::RwLockReadGuard;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...
- 16 | pub use solana_sdk::signer::keypair::Keypair;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- error[E0432]: unresolved imports `crate::async_trait`, `crate::anchor_lang::Event`, `crate::solana_sdk::commitment_config::CommitmentConfig`
- --> src/client/event_client.rs:1:12
- |
- 1 | use crate::async_trait::async_trait;
- | ^^^^^^^^^^^ could not find `async_trait` in the crate root
- 2 | use crate::anchor_lang::Event;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- 3 | use crate::solana_sdk::commitment_config::CommitmentConfig;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/event_client.rs:221:9
- |
- 221 | tokio::select! {
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde`
- --> src/client/service_worker.rs:9:33
- |
- 9 | #[derive(Default, Clone, Debug, serde::Serialize, serde::Deserialize)]
- | ^^^^^ use of undeclared crate or module `serde`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde`
- --> src/client/service_worker.rs:9:51
- |
- 9 | #[derive(Default, Clone, Debug, serde::Serialize, serde::Deserialize)]
- | ^^^^^ use of undeclared crate or module `serde`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde`
- --> src/client/validator.rs:27:17
- |
- 27 | #[derive(Clone, serde::Serialize, serde::Deserialize)]
- | ^^^^^ use of undeclared crate or module `serde`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde`
- --> src/client/validator.rs:27:35
- |
- 27 | #[derive(Clone, serde::Serialize, serde::Deserialize)]
- | ^^^^^ use of undeclared crate or module `serde`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/attestation_program/client/bootstrapped_queue.rs:162:64
- |
- 162 | let (attestation_queue_result, verifier_data_result) = tokio::join!(
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:240:66
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:126:66
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/verifier.rs:10:71
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:27:62
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:12:62
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:44:66
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:7:66
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:9:66
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:4:71
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/function.rs:9:71
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:12:71
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/permission.rs:3:40
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/oracle.rs:5:40
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/aggregator.rs:49:47
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error: cannot find macro `declare_id` in this scope
- --> src/lib.rs:161:1
- |
- 161 | declare_id!(SWITCHBOARD_PROGRAM_ID);
- | ^^^^^^^^^^
- |
- help: consider importing one of these items
- |
- 98 + use anchor_lang::declare_id;
- |
- 98 + use solana_program::declare_id;
- |
- error: cannot determine resolution for the attribute macro `async_trait`
- --> src/client/event_client.rs:67:3
- |
- 67 | #[async_trait]
- | ^^^^^^^^^^^
- |
- = note: import resolution is stuck, try simplifying macro imports
- error: cannot determine resolution for the attribute macro `async_trait`
- --> src/client/event_client.rs:53:3
- |
- 53 | #[async_trait]
- | ^^^^^^^^^^^
- |
- = note: import resolution is stuck, try simplifying macro imports
- error: cannot determine resolution for the attribute macro `async_trait`
- --> src/client/event_client.rs:40:3
- |
- 40 | #[async_trait]
- | ^^^^^^^^^^^
- |
- = note: import resolution is stuck, try simplifying macro imports
- error: cannot determine resolution for the attribute macro `async_trait`
- --> src/client/event_client.rs:27:3
- |
- 27 | #[async_trait]
- | ^^^^^^^^^^^
- |
- = note: import resolution is stuck, try simplifying macro imports
- error: cannot determine resolution for the attribute macro `async_trait`
- --> src/client/event_client.rs:22:3
- |
- 22 | #[async_trait]
- | ^^^^^^^^^^^
- |
- = note: import resolution is stuck, try simplifying macro imports
- error: cannot find macro `msg` in this scope
- --> src/client/function_runner.rs:837:9
- |
- 837 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/client/function_runner.rs:717:9
- |
- 717 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/client/function_runner.rs:590:9
- |
- 590 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `blocking_retry` in this scope
- --> src/client/function_runner.rs:501:25
- |
- 501 | let blockhash = blocking_retry!(3, 250, self.client.get_latest_blockhash())
- | ^^^^^^^^^^^^^^
- error: cannot find macro `msg` in this scope
- --> src/client/function_runner.rs:425:9
- |
- 425 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/client/function_runner.rs:354:9
- |
- 354 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `error` in this scope
- --> src/utils.rs:39:20
- |
- 39 | return Err(error!(SwitchboardError::InvalidNativeMint));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find attribute `error_code` in this scope
- --> src/error.rs:3:3
- |
- 3 | #[error_code]
- | ^^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::error_code;
- |
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:6:7
- |
- 6 | #[msg("Aggregator is not currently populated with a valid round")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:8:7
- |
- 8 | #[msg("Failed to convert string to decimal format")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:10:7
- |
- 10 | #[msg("Decimal conversion method failed")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:12:7
- |
- 12 | #[msg("An integer overflow occurred")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:14:7
- |
- 14 | #[msg("Account discriminator did not match")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:16:7
- |
- 16 | #[msg("Vrf value is empty")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:18:7
- |
- 18 | #[msg("Failed to send requestRandomness instruction")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:20:7
- |
- 20 | #[msg("Failed to send signed requestRandomness instruction")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:22:7
- |
- 22 | #[msg("Failed to deserialize account")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:24:7
- |
- 24 | #[msg("Switchboard feed exceeded the staleness threshold")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:26:7
- |
- 26 | #[msg("Switchboard feed exceeded the confidence interval threshold")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:28:7
- |
- 28 | #[msg("Invalid authority provided to Switchboard account")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:30:7
- |
- 30 | #[msg("Switchboard value variance exceeded threshold")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:32:7
- |
- 32 | #[msg("Invalid function input")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:34:7
- |
- 34 | #[msg("Failed to compute the PDA")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:36:7
- |
- 36 | #[msg("Illegal Operation")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:38:7
- |
- 38 | #[msg("The provided enclave quote is invalid")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:40:7
- |
- 40 | #[msg("The provided queue address did not match the expected address on-chain")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:42:7
- |
- 42 | #[msg("The provided enclave_signer does not match the expected enclave_signer")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:44:7
- |
- 44 | #[msg("The provided mint did not match the wrapped SOL mint address")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:46:7
- |
- 46 | #[msg("This account has zero mr_enclaves defined")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:49:7
- |
- 49 | #[msg("The FunctionAccount status is not active (1)")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:51:7
- |
- 51 | #[msg("The FunctionAccount has set requests_disabled to true and disabled this action")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:54:7
- |
- 54 | #[msg(
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:59:7
- |
- 59 | #[msg("The function authority has disabled service execution for this function")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:61:7
- |
- 61 | #[msg("The service has been disabled. Please check the service's is_disabled status for more information.")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:63:7
- |
- 63 | #[msg("The service worker already has the maximum number of services (128)")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:65:7
- |
- 65 | #[msg("The service worker is already using its max enclave space for a set of services")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/error.rs:67:7
- |
- 67 | #[msg("Service is already being executed by a worker. Please remove the service before adding to a new service worker")]
- | ^^^
- error: cannot find macro `retry` in this scope
- --> src/attestation_program/client/wallet.rs:72:36
- |
- 72 | let recent_blockhash = retry!(3, 500, rpc.get_latest_blockhash().await)
- | ^^^^^
- error: cannot find macro `retry` in this scope
- --> src/attestation_program/client/function.rs:207:36
- |
- 207 | let recent_blockhash = retry!(3, 500, rpc.get_latest_blockhash().await)
- | ^^^^^
- error: cannot find macro `retry` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:470:32
- |
- 470 | let recent_blockhash = retry!(3, 500, client.get_latest_blockhash().await)
- | ^^^^^
- error: cannot find macro `blocking_retry` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:387:32
- |
- 387 | let recent_blockhash = blocking_retry!(3, 500, client.get_latest_blockhash())
- | ^^^^^^^^^^^^^^
- error: cannot find macro `retry` in this scope
- --> src/attestation_program/client/request.rs:159:36
- |
- 159 | let recent_blockhash = retry!(3, 500, rpc.get_latest_blockhash().await)
- | ^^^^^
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:278:3
- |
- 278 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:267:3
- |
- 267 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:260:3
- |
- 260 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:250:3
- |
- 250 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:237:3
- |
- 237 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:224:3
- |
- 224 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:212:3
- |
- 212 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:206:3
- |
- 206 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:200:3
- |
- 200 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:194:3
- |
- 194 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:187:3
- |
- 187 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:181:3
- |
- 181 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:175:3
- |
- 175 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:170:3
- |
- 170 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:165:3
- |
- 165 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:159:3
- |
- 159 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:153:3
- |
- 153 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:148:3
- |
- 148 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:142:3
- |
- 142 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:137:3
- |
- 137 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:132:3
- |
- 132 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:126:3
- |
- 126 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:121:3
- |
- 121 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:115:3
- |
- 115 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:104:3
- |
- 104 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:94:3
- |
- 94 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:89:3
- |
- 89 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:76:3
- |
- 76 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:65:3
- |
- 65 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:57:3
- |
- 57 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:51:3
- |
- 51 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:40:3
- |
- 40 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:30:3
- |
- 30 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:16:3
- |
- 16 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:9:3
- |
- 9 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find attribute `event` in this scope
- --> src/attestation_program/events.rs:3:3
- |
- 3 | #[event]
- | ^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::event;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/types.rs:312:24
- |
- 312 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/types.rs:306:13
- |
- 306 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::msg;
- |
- 1 + use solana_program::msg;
- |
- error: cannot find derive macro `InitSpace` in this scope
- --> src/attestation_program/types.rs:240:85
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::InitSpace;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/types.rs:173:24
- |
- 173 | return Err(error!(SwitchboardError::ConfigParameterLocked));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find derive macro `InitSpace` in this scope
- --> src/attestation_program/types.rs:126:85
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::InitSpace;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/types.rs:5:3
- |
- 5 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:5:10
- |
- 5 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:6:3
- |
- 6 | #[instruction(params:ServiceRequestQuoteVerifyParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:18:7
- |
- 18 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:38:7
- |
- 38 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:46:7
- |
- 46 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:50:7
- |
- 50 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:55:7
- |
- 55 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/service_verify.rs:5:10
- |
- 5 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/service_verify.rs:6:3
- |
- 6 | #[instruction(params:FunctionServiceVerifyParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:17:7
- |
- 17 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:24:7
- |
- 24 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:32:7
- |
- 32 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:40:7
- |
- 40 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:48:7
- |
- 48 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:60:7
- |
- 60 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:83:7
- |
- 83 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/service_verify.rs:87:7
- |
- 87 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:4:3
- |
- 4 | #[instruction(params:WalletWithdrawParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:8:7
- |
- 8 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:14:7
- |
- 14 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:16:7
- |
- 16 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:19:7
- |
- 19 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:4:3
- |
- 4 | #[instruction(params:WalletFundParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:8:7
- |
- 8 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:15:7
- |
- 15 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:17:7
- |
- 17 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:20:7
- |
- 20 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:22:7
- |
- 22 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:4:3
- |
- 4 | #[instruction(params:WalletInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:8:7
- |
- 8 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:14:7
- |
- 14 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:16:7
- |
- 16 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:18:7
- |
- 18 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:20:7
- |
- 20 | #[account(address = anchor_spl::associated_token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:22:7
- |
- 22 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:5:3
- |
- 5 | #[instruction(params:VerifierQuoteVerifyParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:13:7
- |
- 13 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:16:7
- |
- 16 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:5:3
- |
- 5 | #[instruction(params:VerifierQuoteRotateParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:10:7
- |
- 10 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:16:7
- |
- 16 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:5:3
- |
- 5 | #[instruction(params:VerifierInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:7:7
- |
- 7 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:16:7
- |
- 16 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:5:3
- |
- 5 | #[instruction(params:VerifierHeartbeatParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:10:7
- |
- 10 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:18:7
- |
- 18 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:5:10
- |
- 5 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:6:3
- |
- 6 | #[instruction(params:FunctionRoutineVerifyParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:15:7
- |
- 15 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:18:7
- |
- 18 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:23:7
- |
- 23 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:31:7
- |
- 31 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:39:7
- |
- 39 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:47:7
- |
- 47 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:59:7
- |
- 59 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:82:7
- |
- 82 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:86:7
- |
- 86 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_verify.rs:5:10
- |
- 5 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_verify.rs:6:3
- |
- 6 | #[instruction(params:FunctionRequestVerifyParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:14:7
- |
- 14 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:17:7
- |
- 17 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:25:7
- |
- 25 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:33:7
- |
- 33 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:41:7
- |
- 41 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:53:7
- |
- 53 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:83:7
- |
- 83 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_verify.rs:87:7
- |
- 87 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:4:3
- |
- 4 | #[instruction(params:FunctionRequestTriggerParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:8:7
- |
- 8 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:10:7
- |
- 10 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:12:7
- |
- 12 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:16:7
- |
- 16 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:18:7
- |
- 18 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:20:7
- |
- 20 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:4:3
- |
- 4 | #[instruction(params:FunctionRequestSetConfigParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:8:7
- |
- 8 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_init.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_init.rs:4:3
- |
- 4 | #[instruction(params:FunctionRequestInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:6:7
- |
- 6 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:17:7
- |
- 17 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:21:7
- |
- 21 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:24:7
- |
- 24 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:31:7
- |
- 31 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:37:7
- |
- 37 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:39:7
- |
- 39 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:41:7
- |
- 41 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init.rs:43:7
- |
- 43 | #[account(address = anchor_spl::associated_token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:5:10
- |
- 5 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:6:3
- |
- 6 | #[instruction(params:FunctionRequestInitAndTriggerParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:8:7
- |
- 8 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:18:7
- |
- 18 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:22:7
- |
- 22 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:25:7
- |
- 25 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:32:7
- |
- 32 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:39:7
- |
- 39 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:42:7
- |
- 42 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:44:7
- |
- 44 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:46:7
- |
- 46 | #[account(address = anchor_spl::associated_token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/request_close.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/request_close.rs:4:3
- |
- 4 | #[instruction(params:FunctionRequestCloseParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:14:7
- |
- 14 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:25:7
- |
- 25 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:30:7
- |
- 30 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:33:7
- |
- 33 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:42:7
- |
- 42 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:53:7
- |
- 53 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/request_close.rs:57:7
- |
- 57 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/routine_init.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/routine_init.rs:4:3
- |
- 4 | #[instruction(params:FunctionRoutineInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:6:7
- |
- 6 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:17:7
- |
- 17 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:20:7
- |
- 20 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:24:7
- |
- 24 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:27:7
- |
- 27 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:31:7
- |
- 31 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:34:7
- |
- 34 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:39:7
- |
- 39 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:42:7
- |
- 42 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:44:7
- |
- 44 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/routine_init.rs:46:7
- |
- 46 | #[account(address = anchor_spl::associated_token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:5:3
- |
- 5 | #[instruction(params:AttestationQueueInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:7:7
- |
- 7 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:13:7
- |
- 13 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:5:3
- |
- 5 | #[instruction(params:AttestationQueueAddMrEnclaveParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:10:7
- |
- 10 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_close.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_close.rs:4:3
- |
- 4 | #[instruction(params:FunctionCloseParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:20:7
- |
- 20 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:23:7
- |
- 23 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:27:7
- |
- 27 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:34:7
- |
- 34 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:45:7
- |
- 45 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:49:7
- |
- 49 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:53:7
- |
- 53 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_close.rs:57:7
- |
- 57 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_verify.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_verify.rs:5:3
- |
- 5 | #[instruction(params: FunctionVerifyParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_verify.rs:20:7
- |
- 20 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_verify.rs:56:7
- |
- 56 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_verify.rs:64:7
- |
- 64 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_verify.rs:71:7
- |
- 71 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:4:3
- |
- 4 | #[instruction(params:FunctionTriggerParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:9:7
- |
- 9 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:4:3
- |
- 4 | #[instruction(params:FunctionSetEscrowParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:6:7
- |
- 6 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:9:7
- |
- 9 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:14:7
- |
- 14 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:20:7
- |
- 20 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:24:7
- |
- 24 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:4:3
- |
- 4 | #[instruction(params:FunctionSetConfigParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:16:7
- |
- 16 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:19:7
- |
- 19 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/function_init.rs:3:10
- |
- 3 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/function_init.rs:4:3
- |
- 4 | #[instruction(params:FunctionInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:6:7
- |
- 6 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:15:7
- |
- 15 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:23:7
- |
- 23 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:27:7
- |
- 27 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:30:7
- |
- 30 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:34:7
- |
- 34 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:37:7
- |
- 37 | #[account(address = anchor_spl::token::spl_token::native_mint::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:39:7
- |
- 39 | #[account(address = anchor_spl::token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:41:7
- |
- 41 | #[account(address = anchor_spl::associated_token::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:43:7
- |
- 43 | #[account(address = solana_program::system_program::ID)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/function_init.rs:47:7
- |
- 47 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:5:3
- |
- 5 | #[instruction(params:AttestationPermissionSetParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:4:10
- |
- 4 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:5:3
- |
- 5 | #[instruction(params:AttestationPermissionInitParams)]
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:7:7
- |
- 7 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:18:7
- |
- 18 | #[account(mut, signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/verifier.rs:233:24
- |
- 233 | return Err(error!(SwitchboardError::InvalidQuote));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/verifier.rs:215:24
- |
- 215 | return Err(error!(SwitchboardError::InvalidEnclaveSigner));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/verifier.rs:52:3
- |
- 52 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/verifier.rs:43:3
- |
- 43 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:139:24
- |
- 139 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:192:13
- |
- 192 | Err(error!(SwitchboardError::IllegalExecuteAttempt))
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:177:28
- |
- 177 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:140:24
- |
- 140 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:131:24
- |
- 131 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:106:24
- |
- 106 | return Err(error!(SwitchboardError::ServiceWorkerEnclaveFull));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service_worker.rs:101:24
- |
- 101 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service_worker.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find attribute `account` in this scope
- --> src/attestation_program/accounts/service_worker.rs:40:3
- |
- 40 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/service.rs:526:13
- |
- 526 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/service.rs:510:13
- |
- 510 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/service.rs:499:13
- |
- 499 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service.rs:384:28
- |
- 384 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service.rs:3:5
- |
- 3 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service.rs:378:28
- |
- 378 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service.rs:3:5
- |
- 3 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service.rs:339:28
- |
- 339 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service.rs:3:5
- |
- 3 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/service.rs:321:28
- |
- 321 | return Err(error!(SwitchboardError::IllegalExecuteAttempt));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/service.rs:3:5
- |
- 3 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find derive macro `InitSpace` in this scope
- --> src/attestation_program/accounts/service.rs:44:85
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 3 + use anchor_lang::InitSpace;
- |
- error: cannot find derive macro `InitSpace` in this scope
- --> src/attestation_program/accounts/service.rs:7:85
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 3 + use anchor_lang::InitSpace;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/routine.rs:344:13
- |
- 344 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/routine.rs:239:9
- |
- 239 | msg!("FunctionRoutine base usize: {:?}", base);
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find derive macro `InitSpace` in this scope
- --> src/attestation_program/accounts/routine.rs:9:85
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 3 + use anchor_lang::InitSpace;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/request.rs:466:13
- |
- 466 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::msg;
- |
- 1 + use solana_program::msg;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:892:24
- |
- 892 | return Err(error!(SwitchboardError::FunctionNotReady));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:868:24
- |
- 868 | return Err(error!(SwitchboardError::FunctionNotReady));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:844:24
- |
- 844 | return Err(error!(SwitchboardError::FunctionNotReady));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:820:24
- |
- 820 | return Err(error!(SwitchboardError::FunctionServicesDisabled));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:807:24
- |
- 807 | return Err(error!(SwitchboardError::FunctionRoutinesDisabled));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:794:24
- |
- 794 | return Err(error!(SwitchboardError::UserRequestsDisabled));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:781:24
- |
- 781 | return Err(error!(SwitchboardError::MrEnclavesEmpty));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:728:24
- |
- 728 | return Err(error!(SwitchboardError::InvalidMrEnclave));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/function.rs:718:24
- |
- 718 | return Err(error!(SwitchboardError::PermissionDenied));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/function.rs:4:5
- |
- 4 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 3 + use anchor_lang::error;
- |
- 3 + use kv_log_macro::error;
- |
- 3 + use log::error;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:644:13
- |
- 644 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:628:13
- |
- 628 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:567:13
- |
- 567 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:557:13
- |
- 557 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:547:13
- |
- 547 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:486:13
- |
- 486 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:476:13
- |
- 476 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find macro `msg` in this scope
- --> src/attestation_program/accounts/function.rs:467:13
- |
- 467 | msg!(
- | ^^^
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::msg;
- |
- 3 + use solana_program::msg;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/function.rs:43:3
- |
- 43 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:86:24
- |
- 86 | return Err(error!(SwitchboardError::PdaDerivationError));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:7:3
- |
- 7 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:7:3
- |
- 7 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:216:24
- |
- 216 | return Err(error!(SwitchboardError::PdaDerivationError));
- | ^^^^^
- |
- note: `error` is imported here, but it is a module, not a macro
- --> src/attestation_program/accounts/attestation_permission.rs:2:5
- |
- 2 | use crate::*;
- | ^^^^^^^^
- help: consider importing one of these items
- |
- 1 + use anchor_lang::error;
- |
- 1 + use kv_log_macro::error;
- |
- 1 + use log::error;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:38:3
- |
- 38 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `error_code` in this scope
- --> src/attestation_program/error.rs:15:3
- |
- 15 | #[error_code]
- | ^^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::error_code;
- |
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:19:7
- |
- 19 | #[msg("The provided enclave quote is invalid")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:21:7
- |
- 21 | #[msg("The EnclaveAccount has expired and needs to be reverified")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:24:7
- |
- 24 | #[msg("The provided queue is empty and has no verifier oracles heartbeating on-chain.")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:26:7
- |
- 26 | #[msg("The provided queue is full and cannot support new verifiers")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:28:7
- |
- 28 | #[msg("The provided enclave_signer does not match the expected enclave_signer on the EnclaveAccount")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:31:7
- |
- 31 | #[msg("This account has zero mr_enclaves defined")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:33:7
- |
- 33 | #[msg("The MrEnclave value already exists in the array")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:35:7
- |
- 35 | #[msg("The MrEnclave value was not found in the whitelist")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:37:7
- |
- 37 | #[msg("This account has a full mr_enclaves array. Remove some measurements to make room for new ones")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:39:7
- |
- 39 | #[msg("The PermissionAccount is missing the required flags for this action. Check the queues config to see which permissions are requ...
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:46:7
- |
- 46 | #[msg("The provided timestamp is not within the expected range. This may be indicative of an unhealthy enclave.")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:51:7
- |
- 51 | #[msg("The provided mr_enclave measurement did not match a value in its enclave settings. If you recently modified your function cont...
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:54:7
- |
- 54 | #[msg("The provided address_lookup_address did not match the expected address on-chain")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:56:7
- |
- 56 | #[msg("The provided attestation queue address did not match the expected address on-chain")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:60:7
- |
- 60 | #[msg("The provided authority account does not match the expected value on-chain")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:63:7
- |
- 63 | #[msg("The requests expiration_slot has expired")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:65:7
- |
- 65 | #[msg("The escrow has insufficient funds for this action")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:67:7
- |
- 67 | #[msg("The FunctionAccount escrow is required if function.requests_fee is greater than zero")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:69:7
- |
- 69 | #[msg("The provided requestSlot did not match the expected requestSlot on-chain. The request may have already been processed")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:71:7
- |
- 71 | #[msg("The FunctionAccount status is not active (1)")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:73:7
- |
- 73 | #[msg("The FunctionAccount has set requests_disabled to true and disabled this action")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:75:7
- |
- 75 | #[msg(
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:79:7
- |
- 79 | #[msg("The FunctionAccount must have no requests before it can be closed")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:81:7
- |
- 81 | #[msg("Attempting to initialize an already created FunctionRequestAccount")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:85:7
- |
- 85 | #[msg("The FunctionRequestAccount is not ready to be verified")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:87:7
- |
- 87 | #[msg("The container params hash does not match the expected hash on-chain. The parameters may have been modified in-flight; the assi...
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:90:7
- |
- 90 | #[msg("Please ensure your parameters length is <= your account max length")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:92:7
- |
- 92 | #[msg("The routine has been disabled. Please check the routine's is_disabled status for more information.")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:94:7
- |
- 94 | #[msg("The function authority has disabled routine execution for this function")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:96:7
- |
- 96 | #[msg("The configuration parameter has been locked and cannot be changed")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:99:7
- |
- 99 | #[msg("The request does not have an active round to verify")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:101:7
- |
- 101 | #[msg("The resources escrow token account has a balance of 0 and the queue reward is greater than 0")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:103:7
- |
- 103 | #[msg(
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:107:7
- |
- 107 | #[msg(
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:113:7
- |
- 113 | #[msg("The function authority has disabled service execution for this function")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:115:7
- |
- 115 | #[msg("The service has been disabled. Please check the service's is_disabled status for more information.")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:117:7
- |
- 117 | #[msg("The service worker already has the maximum number of services (128)")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:119:7
- |
- 119 | #[msg("The service worker is already using its max enclave space for a set of services")]
- | ^^^
- error: cannot find attribute `msg` in this scope
- --> src/attestation_program/error.rs:121:7
- |
- 121 | #[msg("Service is already being executed by a worker. Please remove the service before adding to a new service worker")]
- | ^^^
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:7:10
- |
- 7 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:8:3
- |
- 8 | #[instruction(params: VrfSetCallbackParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:10:7
- |
- 10 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:8:10
- |
- 8 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:9:3
- |
- 9 | #[instruction(params: VrfRequestRandomnessParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:15:7
- |
- 15 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:19:7
- |
- 19 | #[account(
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:30:7
- |
- 30 | #[account(mut, c == program_state.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:32:7
- |
- 32 | #[account(mut, c == payer_authority.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:34:7
- |
- 34 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:37:7
- |
- 37 | #[account(seeds = [b"STATE"], bump = params.state_bump)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:8:10
- |
- 8 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:9:3
- |
- 9 | #[instruction(params: VrfPoolRequestRandomnessParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:15:7
- |
- 15 | #[account(mut, c == program_state.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:18:7
- |
- 18 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:7:10
- |
- 7 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:8:3
- |
- 8 | #[instruction(params: VrfPoolRemoveParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:10:7
- |
- 10 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:12:7
- |
- 12 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:8:10
- |
- 8 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:9:3
- |
- 9 | #[instruction(params: VrfLiteRequestRandomnessParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:15:7
- |
- 15 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:31:7
- |
- 31 | #[account(mut, c == program_state.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:8:10
- |
- 8 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:9:3
- |
- 9 | #[instruction(params: VrfLiteCloseParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:17:7
- |
- 17 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:25:7
- |
- 25 | #[account(mut, c == program_state.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:29:7
- |
- 29 | #[account(mut, c == escrow_dest.mint )]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:8:10
- |
- 8 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:9:3
- |
- 9 | #[instruction(params: VrfCloseParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:11:7
- |
- 11 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:13:7
- |
- 13 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:17:7
- |
- 17 | #[account(mut)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:23:7
- |
- 23 | #[account(mut, c == program_state.key())]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:27:7
- |
- 27 | #[account(mut, c == escrow_dest.mint )]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find derive macro `Accounts` in this scope
- --> src/oracle_program/instructions/permission_set.rs:7:10
- |
- 7 | #[derive(Accounts)]
- | ^^^^^^^^
- |
- help: consider importing this derive macro
- |
- 1 + use anchor_lang::Accounts;
- |
- error: cannot find attribute `instruction` in this scope
- --> src/oracle_program/instructions/permission_set.rs:8:3
- |
- 8 | #[instruction(params: PermissionSetParams)] // rpc parameters hint
- | ^^^^^^^^^^^
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/permission_set.rs:10:7
- |
- 10 | #[account(mut, has_ @ SwitchboardError::InvalidAuthority )]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/instructions/permission_set.rs:12:7
- |
- 12 | #[account(signer)]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:20:3
- |
- 20 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:12:3
- |
- 12 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:135:24
- |
- 135 | return Err(error!(SwitchboardError::VrfEmptyError));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:6:3
- |
- 6 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 2 + use anchor_lang::account;
- |
- error: cannot find macro `error` in this scope
- --> src/oracle_program/accounts/vrf.rs:124:24
- |
- 124 | return Err(error!(SwitchboardError::VrfEmptyError));
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/vrf.rs:10:3
- |
- 10 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 2 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/sliding_window.rs:13:3
- |
- 13 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/sliding_window.rs:3:3
- |
- 3 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/sb_state.rs:3:3
- |
- 3 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/queue.rs:6:3
- |
- 6 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/permission.rs:13:3
- |
- 13 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/oracle.rs:37:3
- |
- 37 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/oracle.rs:13:3
- |
- 13 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/lease.rs:3:3
- |
- 3 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/job.rs:3:3
- |
- 3 | #[account]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/history_buffer.rs:7:3
- |
- 7 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:319:3
- |
- 319 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:306:3
- |
- 306 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:273:3
- |
- 273 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:245:3
- |
- 245 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:199:3
- |
- 199 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:160:3
- |
- 160 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:119:3
- |
- 119 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:103:3
- |
- 103 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:51:3
- |
- 51 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:21:3
- |
- 21 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:6:3
- |
- 6 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 3 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/crank.rs:16:3
- |
- 16 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/crank.rs:4:3
- |
- 4 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `msg` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:94:13
- |
- 94 | msg!("Feed has not been updated in {} seconds!", staleness);
- | ^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::msg;
- |
- 1 + use solana_program::msg;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:3:3
- |
- 3 | #[account]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find macro `msg` in this scope
- --> src/oracle_program/accounts/aggregator.rs:292:13
- |
- 292 | msg!("Feed has not been updated in {} seconds!", staleness);
- | ^^^
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::msg;
- |
- 1 + use solana_program::msg;
- |
- error: cannot find attribute `account` in this scope
- --> src/oracle_program/accounts/aggregator.rs:57:3
- |
- 57 | #[account(zero_copy(unsafe))]
- | ^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::account;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/aggregator.rs:14:3
- |
- 14 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/oracle_program/accounts/aggregator.rs:6:3
- |
- 6 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 1 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:188:20
- |
- 188 | .ok_or(error!(SwitchboardError::IntegerOverflowError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:179:20
- |
- 179 | .ok_or(error!(SwitchboardError::IntegerOverflowError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:170:20
- |
- 170 | .ok_or(error!(SwitchboardError::IntegerOverflowError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:120:26
- |
- 120 | .map_err(|_| error!(SwitchboardError::DecimalConversionError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:112:26
- |
- 112 | .map_err(|_| error!(SwitchboardError::DecimalConversionError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find attribute `zero_copy` in this scope
- --> src/decimal.rs:61:3
- |
- 61 | #[zero_copy(unsafe)]
- | ^^^^^^^^^
- |
- help: consider importing this attribute macro
- |
- 2 + use anchor_lang::zero_copy;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:57:26
- |
- 57 | .map_err(|_| error!(SwitchboardError::DecimalConversionError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error: cannot find macro `error` in this scope
- --> src/decimal.rs:49:26
- |
- 49 | .map_err(|_| error!(SwitchboardError::DecimalConversionError))
- | ^^^^^
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::error;
- |
- 2 + use kv_log_macro::error;
- |
- 2 + use log::error;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/decimal.rs:8:47
- |
- 8 | #[derive(Default, Eq, PartialEq, Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/decimal.rs:8:64
- |
- 8 | #[derive(Default, Eq, PartialEq, Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/decimal.rs:63:41
- |
- 63 | #[derive(Default, Debug, Eq, PartialEq, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/aggregator.rs:49:30
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/buffer_relayer.rs:30:26
- |
- 30 | #[derive(Default, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/buffer_relayer.rs:30:43
- |
- 30 | #[derive(Default, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:14:17
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:14:34
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:41:17
- |
- 41 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:41:34
- |
- 41 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/oracle.rs:5:23
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/permission.rs:3:23
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/aggregator_save_result.rs:28:17
- |
- 28 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/aggregator_save_result.rs:28:34
- |
- 28 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:20:17
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/permission_set.rs:16:17
- |
- 16 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/permission_set.rs:16:34
- |
- 16 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_close.rs:34:17
- |
- 34 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_close.rs:34:34
- |
- 34 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_lite_close.rs:35:17
- |
- 35 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_lite_close.rs:35:34
- |
- 35 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:40:17
- |
- 40 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:40:34
- |
- 40 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_pool_remove.rs:17:17
- |
- 17 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_pool_remove.rs:17:34
- |
- 17 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:27:17
- |
- 27 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:27:34
- |
- 27 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_request_randomness.rs:42:17
- |
- 42 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_request_randomness.rs:42:34
- |
- 42 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_set_callback.rs:15:17
- |
- 15 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_set_callback.rs:15:34
- |
- 15 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:12:54
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:40:17
- |
- 40 | #[derive(Debug, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_state.rs:9:17
- |
- 9 | #[derive(Debug, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/function.rs:9:54
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:4:54
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:44:23
- |
- 44 | fn serialize_slice<W: borsh::maybestd::io::Write, T: borsh::ser::BorshSerialize>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:44:54
- |
- 44 | fn serialize_slice<W: borsh::maybestd::io::Write, T: borsh::ser::BorshSerialize>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:87:6
- |
- 87 | impl borsh::ser::BorshSerialize for FunctionRequestTriggerRound
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:89:20
- |
- 89 | RequestStatus: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:90:10
- |
- 90 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:91:10
- |
- 91 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:92:10
- |
- 92 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:93:10
- |
- 93 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:94:13
- |
- 94 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:95:13
- |
- 95 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:96:10
- |
- 96 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:98:21
- |
- 98 | fn serialize<W: borsh::maybestd::io::Write>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:101:37
- |
- 101 | ) -> ::core::result::Result<(), borsh::maybestd::io::Error> {
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:102:9
- |
- 102 | borsh::BorshSerialize::serialize(&self;.status, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:103:9
- |
- 103 | borsh::BorshSerialize::serialize(&self;.bounty, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:104:9
- |
- 104 | borsh::BorshSerialize::serialize(&self;.request_slot, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:105:9
- |
- 105 | borsh::BorshSerialize::serialize(&self;.fulfilled_slot, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:106:9
- |
- 106 | borsh::BorshSerialize::serialize(&self;.expiration_slot, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:107:9
- |
- 107 | borsh::BorshSerialize::serialize(&self;.verifier, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:108:9
- |
- 108 | borsh::BorshSerialize::serialize(&self;.enclave_signer, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:109:9
- |
- 109 | borsh::BorshSerialize::serialize(&self;.valid_after_slot, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:110:9
- |
- 110 | borsh::BorshSerialize::serialize(&self;.queue_idx, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:115:6
- |
- 115 | impl borsh::de::BorshDeserialize for FunctionRequestTriggerRound
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:141:30
- |
- 141 | fn deserialize_reader<R: borsh::maybestd::io::Read>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:143:39
- |
- 143 | ) -> ::core::result::Result<Self, borsh::maybestd::io::Error> {
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:145:21
- |
- 145 | status: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:146:21
- |
- 146 | bounty: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:147:27
- |
- 147 | request_slot: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:148:29
- |
- 148 | fulfilled_slot: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:149:30
- |
- 149 | expiration_slot: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:150:23
- |
- 150 | verifier: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:151:29
- |
- 151 | enclave_signer: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:152:31
- |
- 152 | valid_after_slot: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:153:24
- |
- 153 | queue_idx: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:154:20
- |
- 154 | _ebuf: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:230:6
- |
- 230 | impl borsh::ser::BorshSerialize for FunctionRequestAccountData
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:232:20
- |
- 232 | RequestStatus: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:233:10
- |
- 233 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:234:10
- |
- 234 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:235:10
- |
- 235 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:236:10
- |
- 236 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:237:13
- |
- 237 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:238:13
- |
- 238 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:239:10
- |
- 239 | u64: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:240:34
- |
- 240 | FunctionRequestTriggerRound: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:241:14
- |
- 241 | Vec<u8>: borsh::ser::BorshSerialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:243:21
- |
- 243 | fn serialize<W: borsh::maybestd::io::Write>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:246:37
- |
- 246 | ) -> ::core::result::Result<(), borsh::maybestd::io::Error> {
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:247:9
- |
- 247 | borsh::BorshSerialize::serialize(&self;.is_triggered, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:248:9
- |
- 248 | borsh::BorshSerialize::serialize(&self;.status, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:249:9
- |
- 249 | borsh::BorshSerialize::serialize(&self;.authority, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:250:9
- |
- 250 | borsh::BorshSerialize::serialize(&self;.payer, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:251:9
- |
- 251 | borsh::BorshSerialize::serialize(&self;.function, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:252:9
- |
- 252 | borsh::BorshSerialize::serialize(&self;.escrow, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:253:9
- |
- 253 | borsh::BorshSerialize::serialize(&self;.attestation_queue, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:254:9
- |
- 254 | borsh::BorshSerialize::serialize(&self;.active_request, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:255:9
- |
- 255 | borsh::BorshSerialize::serialize(&self;.previous_request, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:256:9
- |
- 256 | borsh::BorshSerialize::serialize(&self;.max_container_params_len, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:257:9
- |
- 257 | borsh::BorshSerialize::serialize(&self;.container_params_hash, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:258:9
- |
- 258 | borsh::BorshSerialize::serialize(&self;.container_params, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:259:9
- |
- 259 | borsh::BorshSerialize::serialize(&self;.created_at, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:260:9
- |
- 260 | borsh::BorshSerialize::serialize(&self;.garbage_collection_slot, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:261:9
- |
- 261 | borsh::BorshSerialize::serialize(&self;.error_status, writer)?;
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:266:6
- |
- 266 | impl borsh::de::BorshDeserialize for FunctionRequestAccountData
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:299:30
- |
- 299 | fn deserialize_reader<R: borsh::maybestd::io::Read>(
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:301:39
- |
- 301 | ) -> ::core::result::Result<Self, borsh::maybestd::io::Error> {
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:303:27
- |
- 303 | is_triggered: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:304:21
- |
- 304 | status: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:305:24
- |
- 305 | authority: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:306:20
- |
- 306 | payer: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:307:23
- |
- 307 | function: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:308:21
- |
- 308 | escrow: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:309:32
- |
- 309 | attestation_queue: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:310:29
- |
- 310 | active_request: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:311:31
- |
- 311 | previous_request: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:312:39
- |
- 312 | max_container_params_len: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:313:36
- |
- 313 | container_params_hash: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:314:31
- |
- 314 | container_params: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:315:25
- |
- 315 | created_at: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:316:38
- |
- 316 | garbage_collection_slot: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:317:27
- |
- 317 | error_status: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:318:20
- |
- 318 | _ebuf: borsh::BorshDeserialize::deserialize_reader(reader)?,
- | ^^^^^ use of undeclared crate or module `borsh`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:9:49
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:42:10
- |
- 42 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:42:29
- |
- 42 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, PartialEq)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:7:49
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:44:49
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:76:10
- |
- 76 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, Debug, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:76:29
- |
- 76 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, Debug, PartialEq)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:4:54
- |
- 4 | #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:4:71
- |
- 4 | #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:12:45
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:27:45
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/switchboard_wallet.rs:5:10
- |
- 5 | #[derive(AnchorDeserialize, AnchorSerialize, Clone)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/switchboard_wallet.rs:5:29
- |
- 5 | #[derive(AnchorDeserialize, AnchorSerialize, Clone)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/verifier.rs:10:54
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_permission_init.rs:24:17
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_permission_init.rs:24:34
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_permission_set.rs:20:17
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_permission_set.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_init.rs:54:26
- |
- 54 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_init.rs:54:43
- |
- 54 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_set_config.rs:23:17
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_set_config.rs:23:34
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_set_escrow.rs:31:17
- |
- 31 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_set_escrow.rs:31:34
- |
- 31 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_trigger.rs:15:17
- |
- 15 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_trigger.rs:15:34
- |
- 15 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_verify.rs:75:17
- |
- 75 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_verify.rs:75:34
- |
- 75 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_close.rs:64:17
- |
- 64 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_close.rs:64:34
- |
- 64 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:14:17
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:14:34
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_init.rs:19:17
- |
- 19 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_init.rs:19:34
- |
- 19 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_init.rs:50:17
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_init.rs:50:34
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_close.rs:61:17
- |
- 61 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_close.rs:61:34
- |
- 61 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init_and_trigger.rs:50:17
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Default, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init_and_trigger.rs:50:34
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Default, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init.rs:47:17
- |
- 47 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init.rs:47:34
- |
- 47 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_set_config.rs:12:17
- |
- 12 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_set_config.rs:12:34
- |
- 12 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_trigger.rs:24:17
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_trigger.rs:24:34
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_verify.rs:91:17
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_verify.rs:91:34
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_verify.rs:90:17
- |
- 90 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_verify.rs:90:34
- |
- 90 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_heartbeat.rs:24:17
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_heartbeat.rs:24:34
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_init.rs:21:17
- |
- 21 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_init.rs:21:34
- |
- 21 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:20:17
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_verify.rs:20:17
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_verify.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_init.rs:26:26
- |
- 26 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_init.rs:26:43
- |
- 26 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_fund.rs:26:17
- |
- 26 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_fund.rs:26:34
- |
- 26 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_withdraw.rs:23:17
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_withdraw.rs:23:34
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_verify.rs:91:17
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_verify.rs:91:34
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_request_quote_verify.rs:59:17
- |
- 59 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_request_quote_verify.rs:59:34
- |
- 59 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:54:30
- |
- 54 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, PartialEq)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:54:47
- |
- 54 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:126:49
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:240:49
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/client/bootstrapped_queue.rs:19:10
- |
- 19 | #[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/client/bootstrapped_queue.rs:19:27
- |
- 19 | #[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/function.rs:347:28
- |
- 347 | let every_second = cron::Schedule::try_from("* * * * * *").unwrap();
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/function.rs:351:24
- |
- 351 | let schedule = cron::Schedule::try_from(schedule);
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:356:9
- |
- 356 | chrono::NaiveDateTime::from_timestamp_opt(self.last_execution_timestamp, 0)
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:371:13
- |
- 371 | chrono::NaiveDateTime::from_timestamp_opt(last_execution_timestamp, 0)
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/routine.rs:180:28
- |
- 180 | let every_second = cron::Schedule::try_from("* * * * * *").unwrap();
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/routine.rs:184:24
- |
- 184 | let schedule = cron::Schedule::try_from(schedule);
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:189:9
- |
- 189 | chrono::NaiveDateTime::from_timestamp_opt(self.last_execution_timestamp, 0)
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:204:13
- |
- 204 | chrono::NaiveDateTime::from_timestamp_opt(last_execution_timestamp, 0)
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde`
- --> src/client/function_runner.rs:316:39
- |
- 316 | pub async fn load_serde_params<T: serde::de::DeserializeOwned>(
- | ^^^^^ use of undeclared crate or module `serde`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/client/function_runner.rs:381:25
- |
- 381 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorSerialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/client/function_runner.rs:381:42
- |
- 381 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- error[E0433]: failed to resolve: could not find `Gramine` in `switchboard_common`
- --> src/client/utils.rs:197:25
- |
- 197 | switchboard_common::Gramine::read_rand(&mut; randomness).unwrap();
- | ^^^^^^^ could not find `Gramine` in `switchboard_common`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/event_client.rs:304:29
- |
- 304 | ... tokio::time::sleep(delay).await; // wait before retrying
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
- --> src/client/event_client.rs:310:29
- |
- 310 | ... tokio::time::sleep(delay).await; // wait before retrying
- | ^^^^^ use of undeclared crate or module `tokio`
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/decimal.rs:8:64
- |
- 8 | #[derive(Default, Eq, PartialEq, Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::borsh;
- |
- 2 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/decimal.rs:63:41
- |
- 63 | #[derive(Default, Debug, Eq, PartialEq, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::borsh;
- |
- 2 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:38:31
- |
- 38 | pub oracle_pubkeys_data: [Pubkey; 16],
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/aggregator.rs:49:47
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/aggregator.rs:49:47
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 49 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:68:23
- |
- 68 | pub queue_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:94:23
- |
- 94 | pub crank_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:100:28
- |
- 100 | pub job_pubkeys_data: [Pubkey; 16],
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:109:20
- |
- 109 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:111:25
- |
- 111 | pub history_buffer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/aggregator.rs:167:34
- |
- 167 | switchboard_feed: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/aggregator.rs:171:24
- |
- 171 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/aggregator.rs:177:24
- |
- 177 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/aggregator.rs:200:24
- |
- 200 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/aggregator.rs:206:24
- |
- 206 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/oracle_program/accounts/aggregator.rs:302:12
- |
- 302 | Ok(Clock::get()?.unix_timestamp < self.expiration)
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:308:21
- |
- 308 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:315:21
- |
- 315 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/aggregator.rs:322:21
- |
- 322 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:9:23
- |
- 9 | pub queue_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:11:17
- |
- 11 | pub escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:13:20
- |
- 13 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:15:21
- |
- 15 | pub job_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:41:24
- |
- 41 | pub oracle_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/buffer_relayer.rs:30:43
- |
- 30 | #[derive(Default, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/buffer_relayer.rs:59:30
- |
- 59 | switchboard_buffer: &AccountInfo;,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/crank.rs:9:17
- |
- 9 | pub pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/crank.rs:24:23
- |
- 24 | pub queue_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/crank.rs:34:22
- |
- 34 | pub data_buffer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:9:17
- |
- 9 | pub pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:16:17
- |
- 16 | pub pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:14:34
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:25:21
- |
- 25 | pub program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:44:21
- |
- 44 | pub program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/ecvrf.rs:41:34
- |
- 41 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:323:19
- |
- 323 | pub producer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/ecvrf.rs:329:18
- |
- 329 | pub Y_point: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/history_buffer.rs:33:29
- |
- 33 | history_buffer: &'a AccountInfo,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/history_buffer.rs:95:19
- |
- 95 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/job.rs:10:20
- |
- 10 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/lease.rs:7:17
- |
- 7 | pub escrow: Pubkey, // Needed, maybe derived, key + "update_escrow"?
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/lease.rs:9:16
- |
- 9 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/lease.rs:11:21
- |
- 11 | pub aggregator: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/lease.rs:13:24
- |
- 13 | pub token_program: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/lease.rs:23:29
- |
- 23 | pub withdraw_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/oracle.rs:5:40
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/oracle.rs:5:40
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 5 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:45:27
- |
- 45 | pub oracle_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:52:24
- |
- 52 | pub token_account: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:54:23
- |
- 54 | pub queue_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/oracle.rs:82:30
- |
- 82 | account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/oracle.rs:86:24
- |
- 86 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/oracle.rs:92:24
- |
- 92 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/oracle.rs:115:24
- |
- 115 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/oracle.rs:121:24
- |
- 121 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:132:21
- |
- 132 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:139:21
- |
- 139 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/oracle.rs:146:21
- |
- 146 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/permission.rs:3:40
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/accounts/permission.rs:3:40
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 3 | #[derive(Copy, Clone, AnchorSerialize, AnchorDeserialize, Eq, PartialEq)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/permission.rs:17:20
- |
- 17 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/permission.rs:21:18
- |
- 21 | pub granter: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/permission.rs:23:18
- |
- 23 | pub grantee: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:14:20
- |
- 14 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:50:15
- |
- 50 | pub mint: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:58:22
- |
- 58 | pub data_buffer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:72:52
- |
- 72 | pub fn convert_buffer(buf: &mut; [u8]) -> &mut; [Pubkey] {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:84:31
- |
- 84 | pub fn get_mint(&self;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/oracle_program/accounts/queue.rs:85:25
- |
- 85 | if self.mint == Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/queue.rs:111:30
- |
- 111 | account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/queue.rs:115:24
- |
- 115 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/queue.rs:121:24
- |
- 121 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/queue.rs:144:24
- |
- 144 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/queue.rs:150:24
- |
- 150 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:161:21
- |
- 161 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:168:21
- |
- 168 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:175:21
- |
- 175 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:182:29
- |
- 182 | ) -> Result<Vec<Pubkey>, SwitchboardError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:185:27
- |
- 185 | let buffer: &[Pubkey] = bytemuck::try_cast_slice(&buffer;.get(8..).unwrap_or(&[]))
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/queue.rs:192:32
- |
- 192 | ) -> Result<Option<Pubkey>, SwitchboardError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/oracle_program/accounts/queue.rs:194:71
- |
- 194 | let gc_oracle = *buf.get(self.gc_idx as usize).unwrap_or(&Pubkey;::default());
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/oracle_program/accounts/queue.rs:195:29
- |
- 195 | if gc_oracle != Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/sb_state.rs:7:20
- |
- 7 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/sb_state.rs:9:21
- |
- 9 | pub token_mint: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/sb_state.rs:11:22
- |
- 11 | pub token_vault: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/sb_state.rs:13:19
- |
- 13 | pub dao_mint: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/sliding_window.rs:7:21
- |
- 7 | pub oracle_key: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:18:20
- |
- 18 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:20:23
- |
- 20 | pub oracle_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:22:17
- |
- 22 | pub escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/vrf.rs:62:33
- |
- 62 | switchboard_vrf: &'info AccountInfo,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::AccountInfo;
- |
- 2 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf.rs:66:24
- |
- 66 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf.rs:72:24
- |
- 72 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf.rs:95:24
- |
- 95 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf.rs:101:24
- |
- 101 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:132:21
- |
- 132 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:139:21
- |
- 139 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf.rs:146:21
- |
- 146 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:14:19
- |
- 14 | pub vrf_pool: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:31:20
- |
- 31 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:33:16
- |
- 33 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:35:17
- |
- 35 | pub escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:73:39
- |
- 73 | vrf_lite_account_info: &'info AccountInfo,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::AccountInfo;
- |
- 2 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_lite.rs:77:24
- |
- 77 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_lite.rs:83:24
- |
- 83 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_lite.rs:106:24
- |
- 106 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_lite.rs:112:24
- |
- 112 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 2 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:143:21
- |
- 143 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:150:21
- |
- 150 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_lite.rs:157:21
- |
- 157 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:16:17
- |
- 16 | pub pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:23:20
- |
- 23 | pub authority: Pubkey, // authority can never be changed or else vrf accounts are useless
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:24:16
- |
- 24 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:25:17
- |
- 25 | pub escrow: Pubkey, // escrow used to fund requests to reduce management
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:55:39
- |
- 55 | vrf_pool_account_info: &'info AccountInfo,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_pool.rs:59:24
- |
- 59 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_pool.rs:65:24
- |
- 65 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_pool.rs:88:24
- |
- 88 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/oracle_program/accounts/vrf_pool.rs:94:24
- |
- 94 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:105:21
- |
- 105 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:112:21
- |
- 112 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/accounts/vrf_pool.rs:119:21
- |
- 119 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/aggregator_save_result.rs:28:34
- |
- 28 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/oracle_heartbeat.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `AccountLoader` in this scope
- --> src/oracle_program/instructions/permission_set.rs:11:21
- |
- 11 | pub permission: AccountLoader<'info, PermissionAccountData>,
- | ^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::AccountLoader;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/permission_set.rs:13:20
- |
- 13 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/permission_set.rs:16:34
- |
- 16 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/permission_set.rs:29:21
- |
- 29 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/permission_set.rs:44:18
- |
- 44 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/permission_set.rs:58:18
- |
- 58 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/permission_set.rs:71:39
- |
- 71 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:14:14
- |
- 14 | pub vrf: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:16:21
- |
- 16 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:18:16
- |
- 18 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:19:26
- |
- 19 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:21:24
- |
- 21 | pub program_state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:24:17
- |
- 24 | pub escrow: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:26:19
- |
- 26 | pub sol_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:28:22
- |
- 28 | pub escrow_dest: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:31:24
- |
- 31 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_close.rs:34:34
- |
- 34 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:47:21
- |
- 47 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:67:18
- |
- 67 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:79:18
- |
- 79 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_close.rs:90:39
- |
- 90 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:14:19
- |
- 14 | pub vrf_lite: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:16:21
- |
- 16 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:18:16
- |
- 18 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:19:26
- |
- 19 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:23:24
- |
- 23 | pub program_state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:26:17
- |
- 26 | pub escrow: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:28:19
- |
- 28 | pub sol_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:30:22
- |
- 30 | pub escrow_dest: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:32:24
- |
- 32 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:43:47
- |
- 43 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:55:35
- |
- 55 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:64:18
- |
- 64 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_close.rs:73:39
- |
- 73 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:14:19
- |
- 14 | pub vrf_lite: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:16:16
- |
- 16 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:17:26
- |
- 17 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:18:22
- |
- 18 | pub data_buffer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:30:21
- |
- 30 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:32:17
- |
- 32 | pub escrow: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:33:29
- |
- 33 | pub recent_blockhashes: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:36:24
- |
- 36 | pub program_state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:37:24
- |
- 37 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:40:34
- |
- 40 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:52:21
- |
- 52 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:66:35
- |
- 66 | pub fn invoke(&self;, program: AccountInfo<'info>, callback: Option<Callback>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:75:18
- |
- 75 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_lite_request_randomness.rs:85:39
- |
- 85 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:13:19
- |
- 13 | pub vrf_pool: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:14:16
- |
- 14 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:27:21
- |
- 27 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:28:37
- |
- 28 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:43:18
- |
- 43 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:44:37
- |
- 44 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:54:18
- |
- 54 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:55:37
- |
- 55 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:64:39
- |
- 64 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_remove.rs:76:37
- |
- 76 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:14:19
- |
- 14 | pub vrf_pool: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:16:17
- |
- 16 | pub escrow: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:17:15
- |
- 17 | pub mint: Account<'info, Mint>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:19:16
- |
- 19 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:20:26
- |
- 20 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:21:22
- |
- 21 | pub data_buffer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:22:29
- |
- 22 | pub recent_blockhashes: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:23:24
- |
- 23 | pub program_state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:24:24
- |
- 24 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:27:34
- |
- 27 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:39:21
- |
- 39 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:40:37
- |
- 40 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:56:18
- |
- 56 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:57:37
- |
- 57 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:68:18
- |
- 68 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:69:37
- |
- 69 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:79:39
- |
- 79 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_pool_request_randomness.rs:98:37
- |
- 98 | remaining_accounts: &'info [AccountInfo<'info>],
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:14:14
- |
- 14 | pub vrf: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:16:23
- |
- 16 | pub oracle_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:17:26
- |
- 17 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:18:22
- |
- 18 | pub data_buffer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:29:21
- |
- 29 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:31:17
- |
- 31 | pub escrow: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:33:23
- |
- 33 | pub payer_wallet: Account<'info, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:35:26
- |
- 35 | pub payer_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:36:29
- |
- 36 | pub recent_blockhashes: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:38:24
- |
- 38 | pub program_state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:39:24
- |
- 39 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_request_randomness.rs:42:34
- |
- 42 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:55:21
- |
- 55 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:70:18
- |
- 70 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:86:18
- |
- 86 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_request_randomness.rs:101:39
- |
- 101 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:11:14
- |
- 11 | pub vrf: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/oracle_program/instructions/vrf_set_callback.rs:15:34
- |
- 15 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:27:21
- |
- 27 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:40:35
- |
- 40 | pub fn invoke(&self;, program: AccountInfo<'info>, callback: Callback) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:50:18
- |
- 50 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/oracle_program/instructions/vrf_set_callback.rs:61:39
- |
- 61 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:12:71
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:12:71
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 12 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:42:20
- |
- 42 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:44:18
- |
- 44 | pub granter: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:45:18
- |
- 45 | pub grantee: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_permission.rs:40:17
- |
- 40 | #[derive(Debug, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:93:19
- |
- 93 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:119:41
- |
- 119 | permission_account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_permission.rs:123:24
- |
- 123 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_permission.rs:129:24
- |
- 129 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_permission.rs:154:24
- |
- 154 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_permission.rs:160:24
- |
- 160 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:175:21
- |
- 175 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:182:21
- |
- 182 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:189:21
- |
- 189 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:195:32
- |
- 195 | pub fn get_pda(authority: &Pubkey;, attestation_queue: &Pubkey;, grantee: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:195:60
- |
- 195 | pub fn get_pda(authority: &Pubkey;, attestation_queue: &Pubkey;, grantee: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:195:78
- |
- 195 | pub fn get_pda(authority: &Pubkey;, attestation_queue: &Pubkey;, grantee: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:195:89
- |
- 195 | pub fn get_pda(authority: &Pubkey;, attestation_queue: &Pubkey;, grantee: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/attestation_permission.rs:196:38
- |
- 196 | let (permission_pubkey, _) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:209:20
- |
- 209 | expected: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:210:21
- |
- 210 | authority: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:211:29
- |
- 211 | attestation_queue: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_permission.rs:212:19
- |
- 212 | grantee: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:11:20
- |
- 11 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:18:16
- |
- 18 | pub data: [Pubkey; 128],
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:92:19
- |
- 92 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:118:48
- |
- 118 | attestation_queue_account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_queue.rs:122:24
- |
- 122 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_queue.rs:128:24
- |
- 128 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_queue.rs:151:24
- |
- 151 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/attestation_queue.rs:157:24
- |
- 157 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:171:53
- |
- 171 | pub fn garbage_collection_node(&self;) -> Option<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/attestation_queue.rs:173:23
- |
- 173 | if gc_node != Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:180:46
- |
- 180 | pub fn idx_of_verifier(&self;, verifier: &Pubkey;) -> Option<usize> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:189:21
- |
- 189 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:196:21
- |
- 196 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_queue.rs:203:21
- |
- 203 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/attestation_state.rs:9:17
- |
- 9 | #[derive(Debug, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:57:19
- |
- 57 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:69:25
- |
- 69 | pub fn get_pda() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/attestation_state.rs:71:13
- |
- 71 | Pubkey::find_program_address(&[STATE_SEED], &*SWITCHBOARD_ATTESTATION_PROGRAM_ID);
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:75:47
- |
- 75 | pub fn get_program_pda(program_id: Option<Pubkey>) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:75:59
- |
- 75 | pub fn get_program_pda(program_id: Option<Pubkey>) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/attestation_state.rs:76:28
- |
- 76 | let (pda_key, _) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/attestation_state.rs:83:34
- |
- 83 | pub fn verify_pda(expected: &Pubkey;) -> anchor_lang::Result<()> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/function.rs:9:71
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Error;
- |
- 3 + use core::error::Error;
- |
- 3 + use core::fmt::Error;
- |
- 3 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/function.rs:9:71
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 3 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 9 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:117:20
- |
- 117 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:119:28
- |
- 119 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:123:31
- |
- 123 | pub address_lookup_table: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:180:24
- |
- 180 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:182:30
- |
- 182 | pub escrow_token_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:185:31
- |
- 185 | pub reward_escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:187:37
- |
- 187 | pub reward_escrow_token_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:290:19
- |
- 290 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:316:39
- |
- 316 | function_account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/function.rs:320:24
- |
- 320 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/function.rs:326:24
- |
- 326 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/function.rs:349:24
- |
- 349 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/function.rs:355:24
- |
- 355 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 3 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:368:37
- |
- 368 | pub fn validate(&self;, signer: &AccountInfo;) -> anchor_lang::Result<bool> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/function.rs:382:38
- |
- 382 | Ok(self.enclave.is_verified(&Clock;::get()?))
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Clock;
- |
- 3 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:394:48
- |
- 394 | pub fn validate_signer<'a>(&self;, signer: &AccountInfo;<'a>) -> anchor_lang::Result<bool> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/function.rs:410:38
- |
- 410 | Ok(self.enclave.is_verified(&Clock;::get()?))
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Clock;
- |
- 3 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:464:26
- |
- 464 | enclave_signer: &AccountInfo;,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:544:26
- |
- 544 | enclave_signer: &AccountInfo;,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/function.rs:625:26
- |
- 625 | enclave_signer: &AccountInfo;,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/function.rs:636:21
- |
- 636 | let clock = Clock::get()?;
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Clock;
- |
- 3 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/function.rs:900:46
- |
- 900 | pub fn get_reward_token_wallet(&self;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/function.rs:901:47
- |
- 901 | if self.reward_escrow_token_wallet != Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:4:71
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:4:71
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 4 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:67:19
- |
- 67 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:70:25
- |
- 70 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:94:5
- |
- 94 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:95:5
- |
- 95 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:117:20
- |
- 117 | RequestStatus: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:118:10
- |
- 118 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:119:10
- |
- 119 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:120:10
- |
- 120 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:121:10
- |
- 121 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:122:5
- |
- 122 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:122:13
- |
- 122 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:123:5
- |
- 123 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:123:13
- |
- 123 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:124:10
- |
- 124 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:170:20
- |
- 170 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:172:16
- |
- 172 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:174:19
- |
- 174 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:176:17
- |
- 176 | pub escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:178:28
- |
- 178 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/request.rs:212:24
- |
- 212 | authority: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/request.rs:213:20
- |
- 213 | payer: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/request.rs:214:23
- |
- 214 | function: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/request.rs:215:21
- |
- 215 | escrow: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/request.rs:216:32
- |
- 216 | attestation_queue: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:237:5
- |
- 237 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:238:5
- |
- 238 | Pubkey: borsh::ser::BorshSerialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:268:20
- |
- 268 | RequestStatus: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:269:10
- |
- 269 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:270:10
- |
- 270 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:271:10
- |
- 271 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:272:10
- |
- 272 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:273:5
- |
- 273 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:273:13
- |
- 273 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:274:5
- |
- 274 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:274:13
- |
- 274 | Pubkey: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:275:10
- |
- 275 | u64: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/request.rs:276:34
- |
- 276 | FunctionRequestTriggerRound: borsh::BorshDeserialize,
- | ^^^^^ use of undeclared crate or module `borsh`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/request.rs:377:19
- |
- 377 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Clock` in this scope
- --> src/attestation_program/accounts/request.rs:391:43
- |
- 391 | pub fn is_round_active(&self;, clock: &Clock;) -> bool {
- | ^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `AccountLoader` in this scope
- --> src/attestation_program/accounts/request.rs:462:27
- |
- 462 | function_loader: &AccountLoader;<'a, FunctionAccountData>,
- | ^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::AccountLoader;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/request.rs:463:26
- |
- 463 | enclave_signer: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:9:66
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Error;
- |
- 3 + use core::error::Error;
- |
- 3 + use core::fmt::Error;
- |
- 3 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:9:66
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 3 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 9 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:67:25
- |
- 67 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:69:19
- |
- 69 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:79:20
- |
- 79 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:81:16
- |
- 81 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:83:19
- |
- 83 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:85:28
- |
- 85 | pub attestation_queue: Pubkey, // 515
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:89:24
- |
- 89 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:91:30
- |
- 91 | pub escrow_token_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/routine.rs:42:10
- |
- 42 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:134:29
- |
- 134 | enclave_signer: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:135:23
- |
- 135 | verifier: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:141:24
- |
- 141 | authority: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:142:20
- |
- 142 | payer: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:143:23
- |
- 143 | function: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:144:32
- |
- 144 | attestation_queue: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:146:28
- |
- 146 | escrow_wallet: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/routine.rs:147:34
- |
- 147 | escrow_token_wallet: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/routine.rs:221:19
- |
- 221 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/routine.rs:259:43
- |
- 259 | pub fn assert_data_len(account_info: &AccountInfo;<'_>, len: Option<u32>) -> bool {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountLoader` in this scope
- --> src/attestation_program/accounts/routine.rs:340:27
- |
- 340 | function_loader: &AccountLoader;<'a, FunctionAccountData>,
- | ^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this struct
- |
- 3 + use anchor_lang::prelude::AccountLoader;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/routine.rs:341:26
- |
- 341 | enclave_signer: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:7:66
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Error;
- |
- 3 + use core::error::Error;
- |
- 3 + use core::fmt::Error;
- |
- 3 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:7:66
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 3 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 7 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:44:66
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Error;
- |
- 3 + use core::error::Error;
- |
- 3 + use core::fmt::Error;
- |
- 3 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:44:66
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 3 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 44 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:80:28
- |
- 80 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:82:25
- |
- 82 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:100:20
- |
- 100 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:102:19
- |
- 102 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:104:24
- |
- 104 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:106:30
- |
- 106 | pub escrow_token_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service.rs:76:10
- |
- 76 | #[derive(AnchorDeserialize, AnchorSerialize, Clone, Debug, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:151:32
- |
- 151 | attestation_queue: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:152:29
- |
- 152 | service_worker: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:160:24
- |
- 160 | authority: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:161:23
- |
- 161 | function: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:162:28
- |
- 162 | escrow_wallet: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:163:34
- |
- 163 | escrow_token_wallet: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:242:19
- |
- 242 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Clock` in this scope
- --> src/attestation_program/accounts/service.rs:412:17
- |
- 412 | clock: &Clock;,
- | ^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Clock;
- |
- 3 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service.rs:414:20
- |
- 414 | verifier: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service.rs:444:43
- |
- 444 | self.enclave.enclave_signer = Pubkey::default();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountLoader` in this scope
- --> src/attestation_program/accounts/service.rs:495:27
- |
- 495 | function_loader: &AccountLoader;<'a, FunctionAccountData>,
- | ^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this struct
- |
- 3 + use anchor_lang::prelude::AccountLoader;
- |
- error[E0412]: cannot find type `Signer` in this scope
- --> src/attestation_program/accounts/service.rs:496:18
- |
- 496 | signer: &Signer;<'a>,
- | ^^^^^^
- |
- ::: src/client/transaction_builder.rs:19:1
- |
- 19 | pub trait AsSigner: Send + Sync {
- | ------------------------------- similarly named trait `AsSigner` defined here
- |
- help: a trait with a similar name exists
- |
- 496 | signer: &AsSigner;<'a>,
- | ~~~~~~~~
- help: consider importing this struct
- |
- 3 + use anchor_lang::prelude::Signer;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/service.rs:518:21
- |
- 518 | let clock = Clock::get()?;
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Clock;
- |
- 3 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:6:18
- |
- 6 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:7:19
- |
- 7 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:4:71
- |
- 4 | #[derive(Default, Debug, Clone, Copy, PartialEq, Eq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:12:62
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:12:62
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 12 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:27:62
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/service_worker.rs:27:62
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 27 | #[derive(Copy, Clone, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:51:20
- |
- 51 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:53:28
- |
- 53 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:77:24
- |
- 77 | pub reward_escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/attestation_program/accounts/service_worker.rs:97:23
- |
- 97 | service: &mut; Account<FunctionServiceAccountData>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/service_worker.rs:116:27
- |
- 116 | self.updated_at = Clock::get()?.unix_timestamp;
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/service_worker.rs:119:30
- |
- 119 | service.updated_at = Clock::get()?.unix_timestamp;
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/attestation_program/accounts/service_worker.rs:126:23
- |
- 126 | service: &mut; Account<FunctionServiceAccountData>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/service_worker.rs:159:34
- |
- 159 | service.service_worker = Pubkey::default();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Clock`
- --> src/attestation_program/accounts/service_worker.rs:160:27
- |
- 160 | self.updated_at = Clock::get()?.unix_timestamp;
- | ^^^^^ use of undeclared type `Clock`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:167:18
- |
- 167 | service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/service_worker.rs:168:19
- |
- 168 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:9:15
- |
- 9 | pub mint: Pubkey, // PDA
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:10:28
- |
- 10 | pub attestation_queue: Pubkey, // PDA
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:11:20
- |
- 11 | pub authority: Pubkey, // PDA
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:14:29
- |
- 14 | pub withdraw_authority: Pubkey, // allow deposited assets to be frozen
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:15:23
- |
- 15 | pub token_wallet: Pubkey, // associated token wallet
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:17:24
- |
- 17 | pub resources: Vec<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/switchboard_wallet.rs:5:10
- |
- 5 | #[derive(AnchorDeserialize, AnchorSerialize, Clone)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:28:19
- |
- 28 | mint: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:29:32
- |
- 29 | attestation_queue: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:30:24
- |
- 30 | authority: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:33:33
- |
- 33 | withdraw_authority: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:34:27
- |
- 34 | token_wallet: Pubkey::default(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:96:19
- |
- 96 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:109:31
- |
- 109 | pub fn should_init(info: &AccountInfo;) -> bool {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:127:37
- |
- 127 | wallet_account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::AccountInfo;
- |
- 3 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:128:34
- |
- 128 | ) -> anchor_lang::Result<Box<Account<'info, SwitchboardWallet>>> {
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Account;
- |
- 3 + use solana_program::account_info::Account;
- |
- error[E0433]: failed to resolve: use of undeclared type `Account`
- --> src/attestation_program/accounts/switchboard_wallet.rs:129:21
- |
- 129 | Ok(Box::new(Account::<SwitchboardWallet>::try_from(
- | ^^^^^^^ use of undeclared type `Account`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Account;
- |
- 3 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:134:46
- |
- 134 | pub fn add_resource(&mut; self, resource: Pubkey) -> anchor_lang::Result<()> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:147:19
- |
- 147 | resource: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:169:15
- |
- 169 | mint: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:170:28
- |
- 170 | attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:171:20
- |
- 171 | authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/switchboard_wallet.rs:173:10
- |
- 173 | ) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/switchboard_wallet.rs:174:32
- |
- 174 | let (pda_key, _bump) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::Pubkey;
- |
- 3 + use crate::pubkey::Pubkey;
- |
- 3 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/verifier.rs:10:71
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 7 other candidates
- help: if you import `Error`, refer to it directly
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/accounts/verifier.rs:10:71
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 10 | #[derive(Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize)]
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:61:20
- |
- 61 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:63:28
- |
- 63 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:78:24
- |
- 78 | pub reward_escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:81:23
- |
- 81 | pub stake_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:137:19
- |
- 137 | fn owner() -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/verifier.rs:162:36
- |
- 162 | quote_account_info: &'info AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/verifier.rs:166:24
- |
- 166 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/verifier.rs:172:24
- |
- 172 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/verifier.rs:195:24
- |
- 195 | return Err(ErrorCode::AccountDiscriminatorNotFound.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0433]: failed to resolve: use of undeclared type `ErrorCode`
- --> src/attestation_program/accounts/verifier.rs:201:24
- |
- 201 | return Err(ErrorCode::AccountDiscriminatorMismatch.into());
- | ^^^^^^^^^ use of undeclared type `ErrorCode`
- |
- help: consider importing this enum
- |
- 1 + use anchor_lang::prelude::ErrorCode;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:209:29
- |
- 209 | pub fn signer(&self;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/accounts/verifier.rs:213:42
- |
- 213 | pub fn assert_signer(&self;, signer: &AccountInfo;) -> anchor_lang::Result<()> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Clock` in this scope
- --> src/attestation_program/accounts/verifier.rs:221:39
- |
- 221 | pub fn is_verified(&self;, clock: &Clock;) -> bool {
- | ^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Clock` in this scope
- --> src/attestation_program/accounts/verifier.rs:231:34
- |
- 231 | pub fn verify(&self;, clock: &Clock;) -> anchor_lang::Result<()> {
- | ^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:245:44
- |
- 245 | pub fn ed25519_signer(&self;) -> Option<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/verifier.rs:247:19
- |
- 247 | if key == Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:253:46
- |
- 253 | pub fn secp256k1_signer(&self;) -> Option<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/accounts/verifier.rs:255:19
- |
- 255 | if key == Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:273:21
- |
- 273 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:280:21
- |
- 280 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/accounts/verifier.rs:287:21
- |
- 287 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:8:21
- |
- 8 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:13:28
- |
- 13 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:16:15
- |
- 16 | pub node: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:19:16
- |
- 19 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:21:25
- |
- 21 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:39:30
- |
- 39 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:40:32
- |
- 40 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:41:19
- |
- 41 | pub node: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:42:20
- |
- 42 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:44:10
- |
- 44 | impl ToAccountMetas for AttestationPermissionInitAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:59:47
- |
- 59 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:70:35
- |
- 70 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:79:18
- |
- 79 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:88:39
- |
- 88 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:115:32
- |
- 115 | attestation_queue: Pubkey, queue_authority: Pubkey, node: Pubkey, payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:115:57
- |
- 115 | attestation_queue: Pubkey, queue_authority: Pubkey, node: Pubkey, payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:115:71
- |
- 115 | attestation_queue: Pubkey, queue_authority: Pubkey, node: Pubkey, payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_init.rs:115:86
- |
- 115 | attestation_queue: Pubkey, queue_authority: Pubkey, node: Pubkey, payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:8:21
- |
- 8 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:14:28
- |
- 14 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:17:18
- |
- 17 | pub grantee: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_permission_set.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:38:30
- |
- 38 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:39:32
- |
- 39 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:40:22
- |
- 40 | pub grantee: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:42:10
- |
- 42 | impl ToAccountMetas for AttestationPermissionSetAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:55:47
- |
- 55 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:66:35
- |
- 66 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:75:18
- |
- 75 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:84:39
- |
- 84 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:107:32
- |
- 107 | attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:108:30
- |
- 108 | queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_permission_set.rs:109:22
- |
- 109 | grantee: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:12:19
- |
- 12 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:16:31
- |
- 16 | pub address_lookup_table: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:19:20
- |
- 19 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:21:28
- |
- 21 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:24:16
- |
- 24 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:28:24
- |
- 28 | pub escrow_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:31:41
- |
- 31 | pub escrow_wallet_authority: Option<AccountInfo<'info>>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:35:30
- |
- 35 | pub escrow_token_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:38:15
- |
- 38 | pub mint: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:40:24
- |
- 40 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:42:35
- |
- 42 | pub associated_token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:44:25
- |
- 44 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:51:33
- |
- 51 | pub address_lookup_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_init.rs:54:43
- |
- 54 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_init.rs:96:21
- |
- 96 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:110:18
- |
- 110 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:121:18
- |
- 121 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_init.rs:131:39
- |
- 131 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:17:19
- |
- 17 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:20:20
- |
- 20 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_set_config.rs:23:34
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:67:21
- |
- 67 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:81:18
- |
- 81 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:92:18
- |
- 92 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_config.rs:102:39
- |
- 102 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:7:19
- |
- 7 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:10:20
- |
- 10 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:12:28
- |
- 12 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:15:24
- |
- 15 | pub escrow_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:18:27
- |
- 18 | pub escrow_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:21:21
- |
- 21 | pub new_escrow: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:25:31
- |
- 25 | pub new_escrow_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:28:34
- |
- 28 | pub new_escrow_token_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:47:21
- |
- 47 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:61:18
- |
- 61 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:72:18
- |
- 72 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_set_escrow.rs:82:39
- |
- 82 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:7:19
- |
- 7 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:10:20
- |
- 10 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:12:28
- |
- 12 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:29:47
- |
- 29 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:37:35
- |
- 37 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:46:18
- |
- 46 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_trigger.rs:55:39
- |
- 55 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:21:19
- |
- 21 | pub function: AccountInfo<'info>, // FunctionAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Signer` in this scope
- --> src/attestation_program/instructions/function_verify.rs:24:34
- |
- 24 | pub function_enclave_signer: Signer<'info>, // SystemProgram keypair
- | ^^^^^^
- |
- ::: src/client/transaction_builder.rs:19:1
- |
- 19 | pub trait AsSigner: Send + Sync {
- | ------------------------------- similarly named trait `AsSigner` defined here
- |
- help: a trait with a similar name exists
- |
- 24 | pub function_enclave_signer: AsSigner<'info>, // SystemProgram keypair
- | ~~~~~~~~
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::Signer;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:31:19
- |
- 31 | pub verifier: AccountInfo<'info>, // VerifierAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Signer` in this scope
- --> src/attestation_program/instructions/function_verify.rs:34:26
- |
- 34 | pub verifier_signer: Signer<'info>,
- | ^^^^^^
- |
- ::: src/client/transaction_builder.rs:19:1
- |
- 19 | pub trait AsSigner: Send + Sync {
- | ------------------------------- similarly named trait `AsSigner` defined here
- |
- help: a trait with a similar name exists
- |
- 34 | pub verifier_signer: AsSigner<'info>,
- | ~~~~~~~~
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::Signer;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:46:30
- |
- 46 | pub verifier_permission: AccountInfo<'info>, // AttestationPermissionAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:49:24
- |
- 49 | pub escrow_wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:57:30
- |
- 57 | pub escrow_token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:65:19
- |
- 65 | pub receiver: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:68:28
- |
- 68 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:72:24
- |
- 72 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/function_verify.rs:75:34
- |
- 75 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:93:23
- |
- 93 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:97:38
- |
- 97 | pub function_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:99:30
- |
- 99 | pub function_escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:102:23
- |
- 102 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:104:38
- |
- 104 | pub verifier_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:106:30
- |
- 106 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:109:32
- |
- 109 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:111:30
- |
- 111 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/function_verify.rs:113:10
- |
- 113 | impl ToAccountMetas for FunctionVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_verify.rs:141:21
- |
- 141 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:156:18
- |
- 156 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:176:18
- |
- 176 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_verify.rs:195:39
- |
- 195 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:21:19
- |
- 21 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:24:20
- |
- 24 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:31:31
- |
- 31 | pub address_lookup_table: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:35:24
- |
- 35 | pub escrow_wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:38:19
- |
- 38 | pub sol_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:46:22
- |
- 46 | pub escrow_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:50:24
- |
- 50 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:54:25
- |
- 54 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:61:33
- |
- 61 | pub address_lookup_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/function_close.rs:78:47
- |
- 78 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:89:35
- |
- 89 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:98:18
- |
- 98 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/function_close.rs:107:39
- |
- 107 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:8:16
- |
- 8 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:14:34
- |
- 14 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:31:32
- |
- 31 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:32:30
- |
- 32 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:37:32
- |
- 37 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:38:30
- |
- 38 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:40:10
- |
- 40 | impl ToAccountMetas for AttestationQueueAddMrEnclaveAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:54:21
- |
- 54 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:68:18
- |
- 68 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:79:18
- |
- 79 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_add_mrenclave.rs:89:39
- |
- 89 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:8:16
- |
- 8 | pub queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:14:16
- |
- 14 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:16:25
- |
- 16 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/attestation_queue_init.rs:19:34
- |
- 19 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:41:32
- |
- 41 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:42:37
- |
- 42 | pub queue_authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:43:20
- |
- 43 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:53:32
- |
- 53 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:54:37
- |
- 54 | pub queue_authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:55:20
- |
- 55 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:57:10
- |
- 57 | impl ToAccountMetas for AttestationQueueInitAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:72:21
- |
- 72 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:86:18
- |
- 86 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:97:18
- |
- 97 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/attestation_queue_init.rs:107:39
- |
- 107 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:12:18
- |
- 12 | pub routine: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:15:20
- |
- 15 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:18:19
- |
- 18 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:21:36
- |
- 21 | pub function_authority: Option<AccountInfo<'info>>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:25:24
- |
- 25 | pub escrow_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:28:41
- |
- 28 | pub escrow_wallet_authority: Option<AccountInfo<'info>>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:32:30
- |
- 32 | pub escrow_token_wallet: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:35:15
- |
- 35 | pub mint: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:37:28
- |
- 37 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:40:16
- |
- 40 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:43:25
- |
- 43 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:45:24
- |
- 45 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:47:35
- |
- 47 | pub associated_token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_init.rs:50:34
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_init.rs:78:21
- |
- 78 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:92:18
- |
- 92 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:103:18
- |
- 103 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_init.rs:113:39
- |
- 113 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:15:18
- |
- 15 | pub request: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:18:20
- |
- 18 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:26:17
- |
- 26 | pub escrow: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:31:19
- |
- 31 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:34:19
- |
- 34 | pub sol_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:43:22
- |
- 43 | pub escrow_dest: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:50:16
- |
- 50 | pub state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:54:24
- |
- 54 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:58:25
- |
- 58 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_close.rs:77:21
- |
- 77 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:92:18
- |
- 92 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:103:18
- |
- 103 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_close.rs:113:39
- |
- 113 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:14:18
- |
- 14 | pub request: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:16:20
- |
- 16 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:19:19
- |
- 19 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:23:36
- |
- 23 | pub function_authority: Option<AccountInfo<'info>>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:30:17
- |
- 30 | pub escrow: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:33:15
- |
- 33 | pub mint: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:35:16
- |
- 35 | pub state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:37:28
- |
- 37 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:40:16
- |
- 40 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:43:25
- |
- 43 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:45:24
- |
- 45 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:47:35
- |
- 47 | pub associated_token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init_and_trigger.rs:50:34
- |
- 50 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Default, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:73:22
- |
- 73 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:74:24
- |
- 74 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:76:23
- |
- 76 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:77:40
- |
- 77 | pub function_authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:79:32
- |
- 79 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:80:20
- |
- 80 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:82:10
- |
- 82 | impl ToAccountMetas for FunctionRequestInitAndTriggerAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:111:21
- |
- 111 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:156:18
- |
- 156 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:214:18
- |
- 214 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init_and_trigger.rs:239:39
- |
- 239 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:12:18
- |
- 12 | pub request: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:15:20
- |
- 15 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:18:19
- |
- 18 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:22:36
- |
- 22 | pub function_authority: Option<AccountInfo<'info>>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:29:17
- |
- 29 | pub escrow: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:32:15
- |
- 32 | pub mint: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:34:16
- |
- 34 | pub state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:35:28
- |
- 35 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:38:16
- |
- 38 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:40:25
- |
- 40 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:42:24
- |
- 42 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:44:35
- |
- 44 | pub associated_token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_init.rs:47:34
- |
- 47 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_init.rs:67:21
- |
- 67 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:102:18
- |
- 102 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:144:18
- |
- 144 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_init.rs:163:39
- |
- 163 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:7:18
- |
- 7 | pub request: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:9:20
- |
- 9 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_set_config.rs:12:34
- |
- 12 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:31:21
- |
- 31 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:50:18
- |
- 50 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:63:18
- |
- 63 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_set_config.rs:75:39
- |
- 75 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:7:18
- |
- 7 | pub request: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:9:20
- |
- 9 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:11:17
- |
- 11 | pub escrow: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:13:19
- |
- 13 | pub function: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:14:16
- |
- 14 | pub state: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:15:28
- |
- 15 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:17:16
- |
- 17 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:19:24
- |
- 19 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:21:25
- |
- 21 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_trigger.rs:24:34
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:44:21
- |
- 44 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:59:18
- |
- 59 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:79:18
- |
- 79 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_trigger.rs:98:39
- |
- 98 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:15:18
- |
- 15 | pub request: AccountInfo<'info>, // FunctionRequestAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:18:34
- |
- 18 | pub function_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:26:17
- |
- 26 | pub escrow: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:34:19
- |
- 34 | pub function: AccountInfo<'info>, // FunctionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:42:33
- |
- 42 | pub function_escrow: Option<AccountInfo<'info>>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:51:25
- |
- 51 | pub verifier_quote: AccountInfo<'info>, // VerifierAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:54:34
- |
- 54 | pub verifier_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:66:30
- |
- 66 | pub verifier_permission: AccountInfo<'info>, // AttestationPermissionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:73:16
- |
- 73 | pub state: AccountInfo<'info>, // AttestationProgramState
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:76:28
- |
- 76 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:84:19
- |
- 84 | pub receiver: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:88:24
- |
- 88 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/request_verify.rs:91:34
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:114:22
- |
- 114 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:118:38
- |
- 118 | pub function_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:121:23
- |
- 121 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:123:50
- |
- 123 | pub function_escrow_token_wallet: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:126:23
- |
- 126 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:128:38
- |
- 128 | pub verifier_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:130:30
- |
- 130 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:133:32
- |
- 133 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:135:30
- |
- 135 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/request_verify.rs:137:10
- |
- 137 | impl ToAccountMetas for FunctionRequestVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/request_verify.rs:167:21
- |
- 167 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:182:18
- |
- 182 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:193:18
- |
- 193 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/request_verify.rs:203:39
- |
- 203 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:16:18
- |
- 16 | pub routine: AccountInfo<'info>, // FunctionRequestAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:19:34
- |
- 19 | pub function_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:24:24
- |
- 24 | pub escrow_wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:32:30
- |
- 32 | pub escrow_token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:40:19
- |
- 40 | pub function: AccountInfo<'info>, // FunctionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:48:46
- |
- 48 | pub function_escrow_token_wallet: Option<AccountInfo<'info>>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:57:25
- |
- 57 | pub verifier_quote: AccountInfo<'info>, // VerifierAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:60:34
- |
- 60 | pub verifier_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:72:30
- |
- 72 | pub verifier_permission: AccountInfo<'info>, // AttestationPermissionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:75:28
- |
- 75 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:83:19
- |
- 83 | pub receiver: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:87:24
- |
- 87 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/routine_verify.rs:90:34
- |
- 90 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:114:22
- |
- 114 | pub routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:118:38
- |
- 118 | pub function_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:120:28
- |
- 120 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:123:23
- |
- 123 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:125:50
- |
- 125 | pub function_escrow_token_wallet: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:128:23
- |
- 128 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:130:38
- |
- 130 | pub verifier_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:132:30
- |
- 132 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:135:32
- |
- 135 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:137:30
- |
- 137 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:139:10
- |
- 139 | impl ToAccountMetas for FunctionRoutineVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:169:21
- |
- 169 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:184:18
- |
- 184 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:195:18
- |
- 195 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/routine_verify.rs:205:39
- |
- 205 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:8:19
- |
- 8 | pub verifier: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:11:26
- |
- 11 | pub verifier_signer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:14:28
- |
- 14 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:16:26
- |
- 16 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:19:18
- |
- 19 | pub gc_node: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:21:21
- |
- 21 | pub permission: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:26:29
- |
- 26 | pub secp_pubkey: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_heartbeat.rs:24:34
- |
- 24 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:42:23
- |
- 42 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:43:29
- |
- 43 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:44:32
- |
- 44 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:45:30
- |
- 45 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:46:22
- |
- 46 | pub gc_node: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:47:41
- |
- 47 | pub secp_enclave_signer: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:51:23
- |
- 51 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:52:29
- |
- 52 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:53:32
- |
- 53 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:54:30
- |
- 54 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:55:22
- |
- 55 | pub gc_node: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:56:25
- |
- 56 | pub permission: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:58:10
- |
- 58 | impl ToAccountMetas for VerifierHeartbeatAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:75:21
- |
- 75 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:89:18
- |
- 89 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:100:18
- |
- 100 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_heartbeat.rs:110:39
- |
- 110 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:12:19
- |
- 12 | pub verifier: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:13:28
- |
- 13 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:14:26
- |
- 14 | pub queue_authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:15:20
- |
- 15 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:17:16
- |
- 17 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:18:25
- |
- 18 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:36:23
- |
- 36 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:37:32
- |
- 37 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:38:30
- |
- 38 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:39:20
- |
- 39 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:43:23
- |
- 43 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:44:32
- |
- 44 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:45:30
- |
- 45 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:46:20
- |
- 46 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:48:10
- |
- 48 | impl ToAccountMetas for VerifierInitAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:64:47
- |
- 64 | pub fn get_instruction(&self;, program_id: Pubkey) -> anchor_lang::Result<Instruction> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:72:35
- |
- 72 | pub fn invoke(&self;, program: AccountInfo<'info>) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:81:18
- |
- 81 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_init.rs:90:39
- |
- 90 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:8:19
- |
- 8 | pub verifier: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:14:25
- |
- 14 | pub enclave_signer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:17:28
- |
- 17 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:23:29
- |
- 23 | pub secp_pubkey: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:38:23
- |
- 38 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:39:24
- |
- 39 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:40:29
- |
- 40 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:41:32
- |
- 41 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:43:10
- |
- 43 | impl ToAccountMetas for VerifierQuoteRotateAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:58:21
- |
- 58 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:70:35
- |
- 70 | pub fn invoke(&self;, program: AccountInfo<'info>, registry_key: [u8; 64]) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:79:18
- |
- 79 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:89:39
- |
- 89 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:110:24
- |
- 110 | verifier: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:111:34
- |
- 111 | verifier_authority: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:112:30
- |
- 112 | enclave_signer: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:113:33
- |
- 113 | attestation_queue: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_rotate.rs:115:41
- |
- 115 | secp_enclave_signer: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:8:16
- |
- 8 | pub quote: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:10:19
- |
- 10 | pub verifier: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:14:25
- |
- 14 | pub enclave_signer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:17:28
- |
- 17 | pub attestation_queue: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:25:29
- |
- 25 | pub ed25519_key: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:26:31
- |
- 26 | pub secp256k1_key: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/verifier_quote_verify.rs:20:34
- |
- 20 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:41:20
- |
- 41 | pub quote: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:42:23
- |
- 42 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:43:29
- |
- 43 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:44:32
- |
- 44 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:48:33
- |
- 48 | pub ed25519_key: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:49:35
- |
- 49 | pub secp256k1_key: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:52:20
- |
- 52 | pub quote: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:53:23
- |
- 53 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:54:29
- |
- 54 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:55:32
- |
- 55 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:57:10
- |
- 57 | impl ToAccountMetas for VerifierQuoteVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:72:21
- |
- 72 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:86:18
- |
- 86 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:97:18
- |
- 97 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/verifier_quote_verify.rs:107:39
- |
- 107 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:7:17
- |
- 7 | pub wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:9:15
- |
- 9 | pub mint: AccountInfo<'info>, // Mint
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:13:28
- |
- 13 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:15:23
- |
- 15 | pub token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:17:16
- |
- 17 | pub payer: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:19:24
- |
- 19 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:21:35
- |
- 21 | pub associated_token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:23:25
- |
- 23 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_init.rs:26:43
- |
- 26 | #[derive(Clone, Default, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:46:21
- |
- 46 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:63:35
- |
- 63 | pub fn invoke(&self;, program: AccountInfo<'info>, name: &[u8]) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:72:18
- |
- 72 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_init.rs:82:39
- |
- 82 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:7:17
- |
- 7 | pub wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:9:15
- |
- 9 | pub mint: AccountInfo<'info>, // TokenMint
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:11:20
- |
- 11 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:12:28
- |
- 12 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:14:23
- |
- 14 | pub token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:16:31
- |
- 16 | pub funder_wallet: Option<AccountInfo<'info>>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:18:17
- |
- 18 | pub funder: AccountInfo<'info>, // Signer
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:19:16
- |
- 19 | pub state: AccountInfo<'info>, // AttestationProgramState
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:21:24
- |
- 21 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:23:25
- |
- 23 | pub system_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_fund.rs:26:34
- |
- 26 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:45:21
- |
- 45 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:57:35
- |
- 57 | pub fn invoke(&self;, program: AccountInfo<'info>, params: &WalletFundParams;) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:66:18
- |
- 66 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_fund.rs:76:39
- |
- 76 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:7:17
- |
- 7 | pub wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:9:15
- |
- 9 | pub mint: AccountInfo<'info>, // TokenMint
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:12:20
- |
- 12 | pub authority: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:13:28
- |
- 13 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:15:23
- |
- 15 | pub token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:17:29
- |
- 17 | pub destination_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:18:16
- |
- 18 | pub state: AccountInfo<'info>, // AttestationProgramState
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:20:24
- |
- 20 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/wallet_withdraw.rs:23:34
- |
- 23 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:41:21
- |
- 41 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:54:35
- |
- 54 | pub fn invoke(&self;, program: AccountInfo<'info>, amount: u64) -> ProgramResult {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:63:18
- |
- 63 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/wallet_withdraw.rs:73:39
- |
- 73 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:18:18
- |
- 18 | pub service: AccountInfo<'info>, // FunctionServiceAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:20:34
- |
- 20 | pub function_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:25:24
- |
- 25 | pub escrow_wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:33:30
- |
- 33 | pub escrow_token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:41:19
- |
- 41 | pub function: AccountInfo<'info>, // FunctionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:49:46
- |
- 49 | pub function_escrow_token_wallet: Option<AccountInfo<'info>>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:58:25
- |
- 58 | pub verifier_quote: AccountInfo<'info>, // VerifierAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:61:34
- |
- 61 | pub verifier_enclave_signer: AccountInfo<'info>, // SystemProgram keypair
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:73:30
- |
- 73 | pub verifier_permission: AccountInfo<'info>, // AttestationPermissionAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:76:28
- |
- 76 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:84:19
- |
- 84 | pub receiver: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:88:24
- |
- 88 | pub token_program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_verify.rs:91:34
- |
- 91 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:112:22
- |
- 112 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:116:38
- |
- 116 | pub function_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:118:28
- |
- 118 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:121:23
- |
- 121 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:123:50
- |
- 123 | pub function_escrow_token_wallet: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:126:23
- |
- 126 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:128:38
- |
- 128 | pub verifier_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:130:30
- |
- 130 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:133:32
- |
- 133 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:135:30
- |
- 135 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/service_verify.rs:137:10
- |
- 137 | impl ToAccountMetas for FunctionServiceVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_verify.rs:167:21
- |
- 167 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:182:18
- |
- 182 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:193:18
- |
- 193 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_verify.rs:203:39
- |
- 203 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:19:18
- |
- 19 | pub service: AccountInfo<'info>, // FunctionServiceAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:25:25
- |
- 25 | pub service_worker: AccountInfo<'info>, // ServiceWorkerAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:31:19
- |
- 31 | pub function: AccountInfo<'info>, // FunctionAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:34:28
- |
- 34 | pub attestation_queue: AccountInfo<'info>, // AttestationQueueAccountData
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:39:24
- |
- 39 | pub escrow_wallet: AccountInfo<'info>, // SwitchboardWallet
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:47:30
- |
- 47 | pub escrow_token_wallet: AccountInfo<'info>, // TokenAccount
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:51:29
- |
- 51 | pub new_enclave_signer: AccountInfo<'info>, // Signer
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:56:20
- |
- 56 | pub authority: AccountInfo<'info>, // Signer
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/instructions/service_request_quote_verify.rs:59:34
- |
- 59 | #[derive(Clone, AnchorSerialize, AnchorDeserialize, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:77:22
- |
- 77 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:78:29
- |
- 78 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:79:23
- |
- 79 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:80:32
- |
- 80 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:81:28
- |
- 81 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:82:33
- |
- 82 | pub new_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:83:24
- |
- 83 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:86:10
- |
- 86 | impl ToAccountMetas for ServiceRequestQuoteVerifyAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:105:21
- |
- 105 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:119:18
- |
- 119 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:130:18
- |
- 130 | program: AccountInfo<'info>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/attestation_program/instructions/service_request_quote_verify.rs:140:39
- |
- 140 | fn to_account_infos(&self;) -> Vec<AccountInfo<'info>> {
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/types.rs:10:25
- |
- 10 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/types.rs:24:27
- |
- 24 | pub secp256k1_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/types.rs:38:31
- |
- 38 | self.enclave_signer = Pubkey::default();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Clock` in this scope
- --> src/attestation_program/types.rs:45:39
- |
- 45 | pub fn is_verified(&self;, clock: &Clock;) -> bool {
- | ^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Clock;
- |
- 1 + use solana_program::sysvar::clock::Clock;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/types.rs:57:25
- |
- 57 | pub enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/types.rs:59:19
- |
- 59 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:54:47
- |
- 54 | #[derive(Copy, Clone, Debug, AnchorSerialize, AnchorDeserialize, PartialEq)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::borsh;
- |
- 1 + use solana_program::borsh;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:126:66
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:126:66
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 126 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:240:66
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Error;
- |
- 1 + use core::error::Error;
- |
- 1 + use core::fmt::Error;
- |
- 1 + use crate::rust_decimal::Error;
- |
- and 6 other candidates
- help: if you import `Error`, refer to it directly
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/types.rs:240:66
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing this enum
- |
- 1 + use std::io::ErrorKind;
- |
- help: if you import `ErrorKind`, refer to it directly
- |
- 240 | Copy, Clone, Default, Debug, Eq, PartialEq, AnchorSerialize, AnchorDeserialize, InitSpace,
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:5:19
- |
- 5 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:11:28
- |
- 11 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:12:19
- |
- 12 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:13:18
- |
- 13 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:19:28
- |
- 19 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:20:18
- |
- 20 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:21:19
- |
- 21 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:32:18
- |
- 32 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:33:19
- |
- 33 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:34:19
- |
- 34 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:42:18
- |
- 42 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:43:19
- |
- 43 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:44:19
- |
- 44 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:53:18
- |
- 53 | pub request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:59:28
- |
- 59 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:60:19
- |
- 60 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:61:18
- |
- 61 | pub routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:67:18
- |
- 67 | pub routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:68:19
- |
- 68 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:69:19
- |
- 69 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:78:18
- |
- 78 | pub routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:79:19
- |
- 79 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:80:19
- |
- 80 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:91:19
- |
- 91 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:96:19
- |
- 96 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:107:19
- |
- 107 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:117:19
- |
- 117 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:123:19
- |
- 123 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:128:19
- |
- 128 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:134:21
- |
- 134 | pub permission: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:139:21
- |
- 139 | pub permission: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:144:16
- |
- 144 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:150:16
- |
- 150 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:155:16
- |
- 155 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:161:19
- |
- 161 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:162:16
- |
- 162 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:167:19
- |
- 167 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:172:19
- |
- 172 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:177:19
- |
- 177 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:178:16
- |
- 178 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:183:19
- |
- 183 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:184:16
- |
- 184 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:189:16
- |
- 189 | pub quote: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:190:16
- |
- 190 | pub queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:191:19
- |
- 191 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:196:16
- |
- 196 | pub quote: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:197:19
- |
- 197 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:202:28
- |
- 202 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:203:25
- |
- 203 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:208:28
- |
- 208 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:209:25
- |
- 209 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:214:28
- |
- 214 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:215:25
- |
- 215 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:216:18
- |
- 216 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:217:19
- |
- 217 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:227:28
- |
- 227 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:228:25
- |
- 228 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:229:18
- |
- 229 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:230:19
- |
- 230 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:240:28
- |
- 240 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:241:25
- |
- 241 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:242:18
- |
- 242 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:243:19
- |
- 243 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:252:28
- |
- 252 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:253:19
- |
- 253 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:254:19
- |
- 254 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:255:18
- |
- 255 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:262:28
- |
- 262 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:263:19
- |
- 263 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:264:18
- |
- 264 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:269:18
- |
- 269 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:270:19
- |
- 270 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:271:19
- |
- 271 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:280:18
- |
- 280 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:281:19
- |
- 281 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/events.rs:282:19
- |
- 282 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:11:35
- |
- 11 | pub attestation_queue: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:12:27
- |
- 12 | pub authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:75:22
- |
- 75 | ) -> Result<Vec<(Pubkey, FunctionRequestAccountData)>, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:113:19
- |
- 113 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:116:17
- |
- 116 | ) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:187:17
- |
- 187 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:194:17
- |
- 194 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:201:17
- |
- 201 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:241:44
- |
- 241 | pub fn get_queue_filter(queue_pubkey: &Pubkey;) -> solana_client::rpc_filter::RpcFilterType {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:254:28
- |
- 254 | authority_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/request.rs:265:24
- |
- 265 | queue_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/attestation_program/client/bootstrapped_queue.rs:19:27
- |
- 19 | #[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::borsh;
- |
- 2 + use solana_program::borsh;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:59:28
- |
- 59 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:61:26
- |
- 61 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:64:19
- |
- 64 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:66:30
- |
- 66 | pub verifier_permission: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:95:27
- |
- 95 | let queue_pubkey: Pubkey = queue_keypair.pubkey();
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:191:16
- |
- 191 | payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:192:28
- |
- 192 | attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:193:19
- |
- 193 | verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:194:26
- |
- 194 | verifier_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:489:19
- |
- 489 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:490:25
- |
- 490 | enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:491:26
- |
- 491 | function_escrow: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:493:26
- |
- 493 | reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:514:19
- |
- 514 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:515:18
- |
- 515 | request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:516:25
- |
- 516 | enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:518:26
- |
- 518 | reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:519:46
- |
- 519 | function_escrow_token_wallet: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:541:19
- |
- 541 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:542:18
- |
- 542 | routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:543:25
- |
- 543 | enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:544:32
- |
- 544 | routine_escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:546:26
- |
- 546 | reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/bootstrapped_queue.rs:547:46
- |
- 547 | function_escrow_token_wallet: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:19:35
- |
- 19 | pub attestation_queue: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:20:27
- |
- 20 | pub authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:71:22
- |
- 71 | ) -> Result<Vec<(Pubkey, FunctionAccountData)>, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:111:28
- |
- 111 | attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:114:17
- |
- 114 | ) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/client/function.rs:161:44
- |
- 161 | let (function_pubkey, _bump) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/attestation_program/client/function.rs:171:45
- |
- 171 | let (address_lookup_table, _) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:288:44
- |
- 288 | pub fn get_queue_filter(queue_pubkey: &Pubkey;) -> solana_client::rpc_filter::RpcFilterType {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:295:28
- |
- 295 | authority_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:306:24
- |
- 306 | queue_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:307:28
- |
- 307 | authority_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:332:24
- |
- 332 | queue_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:411:17
- |
- 411 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:418:17
- |
- 418 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:425:17
- |
- 425 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:443:19
- |
- 443 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:444:31
- |
- 444 | pub address_lookup_table: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:445:20
- |
- 445 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:446:28
- |
- 446 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:447:16
- |
- 447 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:448:24
- |
- 448 | pub escrow_wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/function.rs:449:41
- |
- 449 | pub escrow_wallet_authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 2 + use anchor_lang::prelude::Pubkey;
- |
- 2 + use crate::pubkey::Pubkey;
- |
- 2 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/client/function.rs:451:6
- |
- 451 | impl ToAccountMetas for FunctionInitAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 2 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:7:41
- |
- 7 | pub fn from_seed(attestation_queue: Pubkey, authority: Pubkey, name: Vec<u8>) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:7:60
- |
- 7 | pub fn from_seed(attestation_queue: Pubkey, authority: Pubkey, name: Vec<u8>) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:7:86
- |
- 7 | pub fn from_seed(attestation_queue: Pubkey, authority: Pubkey, name: Vec<u8>) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:13:17
- |
- 13 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:20:17
- |
- 20 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:27:17
- |
- 27 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:35:28
- |
- 35 | attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:37:17
- |
- 37 | ) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:93:17
- |
- 93 | pub wallet: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:94:16
- |
- 94 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:95:28
- |
- 95 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/wallet.rs:96:20
- |
- 96 | pub authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/attestation_program/client/wallet.rs:98:6
- |
- 98 | impl ToAccountMetas for SwitchboardWalletInitAccounts {
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:11:35
- |
- 11 | pub attestation_queue: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:12:27
- |
- 12 | pub authority: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:69:22
- |
- 69 | ) -> Result<Vec<(Pubkey, FunctionRoutineAccountData)>, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:111:17
- |
- 111 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:118:17
- |
- 118 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:125:17
- |
- 125 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:142:28
- |
- 142 | authority_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/routine.rs:152:44
- |
- 152 | pub fn get_queue_filter(queue_pubkey: &Pubkey;) -> solana_client::rpc_filter::RpcFilterType {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:9:35
- |
- 9 | pub attestation_queue: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:10:24
- |
- 10 | pub worker: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:52:22
- |
- 52 | ) -> Result<Vec<(Pubkey, FunctionServiceAccountData)>, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:90:17
- |
- 90 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:97:17
- |
- 97 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:104:17
- |
- 104 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:123:28
- |
- 123 | authority_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:133:44
- |
- 133 | pub fn get_queue_filter(queue_pubkey: &Pubkey;) -> solana_client::rpc_filter::RpcFilterType {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:139:45
- |
- 139 | pub fn get_worker_filter(queue_pubkey: &Pubkey;) -> solana_client::rpc_filter::RpcFilterType {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:146:24
- |
- 146 | queue_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service.rs:147:25
- |
- 147 | worker_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:5:18
- |
- 5 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:7:19
- |
- 7 | pub function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:14:17
- |
- 14 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:21:17
- |
- 21 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:28:17
- |
- 28 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:40:38
- |
- 40 | let mut service_pubkeys: Vec<Pubkey> = vec![];
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:41:39
- |
- 41 | let mut function_pubkeys: Vec<Pubkey> = vec![];
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/attestation_program/client/service_worker.rs:48:30
- |
- 48 | let all_pubkeys: Vec<Pubkey> = [service_pubkeys.clone(), function_pubkeys.clone()].concat();
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/utils.rs:5:21
- |
- 5 | token_program: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/utils.rs:6:12
- |
- 6 | from: &Account;<'a, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/utils.rs:7:10
- |
- 7 | to: &Account;<'a, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/utils.rs:8:17
- |
- 8 | authority: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `CpiContext`
- --> src/utils.rs:21:19
- |
- 21 | let cpi_ctx = CpiContext::new_with_signer(cpi_program, cpi_accounts, auth_seed);
- | ^^^^^^^^^^ use of undeclared type `CpiContext`
- |
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::CpiContext;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/utils.rs:27:22
- |
- 27 | system_program: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/utils.rs:28:21
- |
- 28 | token_program: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0412]: cannot find type `Account` in this scope
- --> src/utils.rs:29:28
- |
- 29 | native_token_account: &Account;<'a, TokenAccount>,
- | ^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Account;
- |
- 1 + use solana_program::account_info::Account;
- |
- error[E0412]: cannot find type `AccountInfo` in this scope
- --> src/utils.rs:30:13
- |
- 30 | payer: &AccountInfo;<'a>,
- | ^^^^^^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::AccountInfo;
- |
- 1 + use solana_program::sysvar::slot_history::AccountInfo;
- |
- error[E0433]: failed to resolve: use of undeclared type `CpiContext`
- --> src/utils.rs:47:24
- |
- 47 | let transfer_ctx = CpiContext::new(system_program.clone(), transfer_accounts);
- | ^^^^^^^^^^ use of undeclared type `CpiContext`
- |
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::CpiContext;
- |
- error[E0433]: failed to resolve: use of undeclared type `CpiContext`
- --> src/utils.rs:54:20
- |
- 54 | let sync_ctx = CpiContext::new_with_signer(token_program.clone(), sync_accounts, auth_seed);
- | ^^^^^^^^^^ use of undeclared type `CpiContext`
- |
- help: consider importing this struct
- |
- 1 + use anchor_lang::prelude::CpiContext;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/utils.rs:60:46
- |
- 60 | pub fn find_associated_token_address(owner: &Pubkey;, mint: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/utils.rs:60:61
- |
- 60 | pub fn find_associated_token_address(owner: &Pubkey;, mint: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/utils.rs:60:72
- |
- 60 | pub fn find_associated_token_address(owner: &Pubkey;, mint: &Pubkey;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/utils.rs:61:25
- |
- 61 | let (akey, _bump) = Pubkey::find_program_address(
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/utils.rs:81:20
- |
- 81 | pub fn build_ix<A: ToAccountMetas, I: InstructionData + Discriminator + std::fmt::Debug>(
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/utils.rs:82:18
- |
- 82 | program_id: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/program_id.rs:8:35
- |
- 8 | pub const SWITCHBOARD_PROGRAM_ID: Pubkey = pubkey!("SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f");
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/program_id.rs:14:56
- |
- 14 | pub static ref SWITCHBOARD_ATTESTATION_PROGRAM_ID: Pubkey =
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `borsh`
- --> src/client/function_runner.rs:381:42
- |
- 381 | #[derive(Clone, AnchorSerialize, AnchorDeserialize)]
- | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `borsh`
- |
- = note: this error originates in the derive macro `AnchorDeserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
- help: consider importing one of these items
- |
- 3 + use anchor_lang::prelude::borsh;
- |
- 3 + use solana_program::borsh;
- |
- error[E0405]: cannot find trait `ToAccountMetas` in this scope
- --> src/client/utils.rs:22:20
- |
- 22 | pub fn build_tx<A: ToAccountMetas, I: InstructionData + Discriminator>(
- | ^^^^^^^^^^^^^^ not found in this scope
- |
- help: consider importing this trait
- |
- 1 + use anchor_lang::ToAccountMetas;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:24:18
- |
- 24 | program_id: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:77:17
- |
- 77 | ) -> Result<Arc<Pubkey>, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:84:45
- |
- 84 | pub fn load_env_pubkey(key: &str;) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/utils.rs:85:5
- |
- 85 | Pubkey::from_str(&env;::var(key).unwrap_or_default())
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:90:51
- |
- 90 | pub fn parse_optional_pubkey(var: &str;) -> Option<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/utils.rs:94:15
- |
- 94 | match Pubkey::from_str(var) {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/utils.rs:96:30
- |
- 96 | if pubkey != Pubkey::default() {
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:156:24
- |
- 156 | program_id: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:201:70
- |
- 201 | pub fn signer_to_pubkey(signer: Arc<Keypair>) -> std::result::Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:239:13
- |
- 239 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:278:13
- |
- 278 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:342:13
- |
- 342 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:367:13
- |
- 367 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:379:13
- |
- 379 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:392:13
- |
- 392 | pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:411:42
- |
- 411 | F: Fn(Arc<RwLock<AnchorClient>>, Arc<Pubkey>, Arc<RwLock<Keypair>>, Arc<Keypair>, E) -> T
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:403:17
- |
- 403 | program_id: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:406:20
- |
- 406 | quote_key: Arc<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/utils.rs:461:48
- |
- 461 | pub async fn subscribe_ro<E, F, T>(program_id: Pubkey, url: &str;, f: F)
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:23:17
- |
- 23 | pub pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:40:45
- |
- 40 | pub function_escrow_wallet: Arc<DashMap<Pubkey, CacheEntry>>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:41:44
- |
- 41 | pub routine_escrow_wallet: Arc<DashMap<Pubkey, CacheEntry>>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:56:16
- |
- 56 | pub payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:58:19
- |
- 58 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:59:34
- |
- 59 | pub verifier_enclave_signer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:60:26
- |
- 60 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:62:28
- |
- 62 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:63:26
- |
- 63 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:86:23
- |
- 86 | pub verifier: Arc<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:88:30
- |
- 88 | pub reward_receiver: Arc<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:91:32
- |
- 91 | pub attestation_queue: Arc<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:92:30
- |
- 92 | pub queue_authority: Arc<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:101:19
- |
- 101 | pub verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:102:28
- |
- 102 | pub attestation_queue: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:103:26
- |
- 103 | pub queue_authority: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:104:26
- |
- 104 | pub reward_receiver: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:109:20
- |
- 109 | Simulation(Arc<Pubkey>),
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:146:19
- |
- 146 | verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:148:33
- |
- 148 | reward_receiver: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:208:19
- |
- 208 | verifier: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:210:33
- |
- 210 | reward_receiver: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:263:56
- |
- 263 | async fn get_verifier_enclave_pubkey(&self;) -> Arc<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:282:21
- |
- 282 | Pubkey::try_from_slice(function_result.fn_key().unwrap_or_default().as_slice())
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:345:13
- |
- 345 | Pubkey::try_from_slice(function_result.fn_key().unwrap().as_slice()).unwrap();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:346:39
- |
- 346 | let function_enclave_signer = Pubkey::try_from_slice(function_result.signer()).unwrap();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared crate or module `sgx_quote`
- --> src/client/validator.rs:366:21
- |
- 366 | let quote = sgx_quote::Quote::parse("e;_bytes).map_err(|_| SbError::QuoteParseError)?;
- | ^^^^^^^^^ use of undeclared crate or module `sgx_quote`
- |
- help: consider importing this struct through its public re-export
- |
- 1 + use crate::Quote;
- |
- help: if you import `Quote`, refer to it directly
- |
- 366 - let quote = sgx_quote::Quote::parse("e;_bytes).map_err(|_| SbError::QuoteParseError)?;
- 366 + let quote = Quote::parse("e;_bytes).map_err(|_| SbError::QuoteParseError)?;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:428:35
- |
- 428 | let trusted_accounts: Vec<Pubkey> = trusted_ix.accounts.iter().map(|x| x.pubkey).collect();
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:535:65
- |
- 535 | async fn get_function_escrow_wallet(&self;, function_pubkey: Pubkey) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:535:83
- |
- 535 | async fn get_function_escrow_wallet(&self;, function_pubkey: Pubkey) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:575:63
- |
- 575 | async fn get_routine_escrow_wallet(&self;, routine_pubkey: Pubkey) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:575:81
- |
- 575 | async fn get_routine_escrow_wallet(&self;, routine_pubkey: Pubkey) -> Result<Pubkey, SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:635:19
- |
- 635 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:636:32
- |
- 636 | enclave_signer: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:663:19
- |
- 663 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:664:18
- |
- 664 | request: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:665:32
- |
- 665 | enclave_signer: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:695:19
- |
- 695 | function: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:696:18
- |
- 696 | routine: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:697:32
- |
- 697 | enclave_signer: Option<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:749:13
- |
- 749 | Pubkey::try_from_slice(function_result.fn_key().unwrap().as_slice()).unwrap();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:771:42
- |
- 771 | let routine_pubkey = Pubkey::try_from_slice(&routine;_pubkey_bytes[..]).unwrap();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:788:42
- |
- 788 | let request_pubkey = Pubkey::try_from_slice(&request;_pubkey_bytes[..]).unwrap();
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:823:20
- |
- 823 | let payer: Pubkey = signer_to_pubkey(self.payer.clone()).unwrap();
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:1092:27
- |
- 1092 | function_pubkey: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/validator.rs:1093:35
- |
- 1093 | function_enclave_signer: &Pubkey;,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:1101:21
- |
- 1101 | Pubkey::try_from_slice(&routine;_pubkey_bytes[..]).unwrap(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0433]: failed to resolve: use of undeclared type `Pubkey`
- --> src/client/validator.rs:1116:21
- |
- 1116 | Pubkey::try_from_slice(&request;_pubkey_bytes[..]).unwrap(),
- | ^^^^^^ use of undeclared type `Pubkey`
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/service_worker.rs:11:18
- |
- 11 | pub service: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/service_worker.rs:12:25
- |
- 12 | pub service_worker: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/service_worker.rs:30:45
- |
- 30 | pub fn verify(&self;, worker_authority: &Pubkey;, signature: &str;) -> Result<(), SbError> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:23:32
- |
- 23 | fn signer_pubkey(&self;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:186:12
- |
- 186 | payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:196:23
- |
- 196 | pub fn new(payer: Pubkey) -> Self {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:210:32
- |
- 210 | pub fn new_with_ixs(payer: Pubkey, ixs: impl IntoIterator<Item = Instruction>) -> Self {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:242:38
- |
- 242 | pub fn has_signer(&self;, signer: Pubkey) -> bool {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:304:38
- |
- 304 | address_lookup_table_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:317:43
- |
- 317 | address_lookup_table_pubkeys: Vec<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:333:28
- |
- 333 | pub fn payer(&self;) -> Pubkey {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:338:43
- |
- 338 | pub fn required_signers(&self;) -> Vec<Pubkey> {
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:339:39
- |
- 339 | let mut signers_required: Vec<Pubkey> = vec![];
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:436:16
- |
- 436 | payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:511:38
- |
- 511 | address_lookup_table_pubkey: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:534:37
- |
- 534 | address_lookup_pubkeys: Vec<Pubkey>,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0412]: cannot find type `Pubkey` in this scope
- --> src/client/transaction_builder.rs:572:16
- |
- 572 | payer: Pubkey,
- | ^^^^^^ not found in this scope
- |
- help: consider importing one of these items
- |
- 1 + use anchor_lang::prelude::Pubkey;
- |
- 1 + use crate::pubkey::Pubkey;
- |
- 1 + use solana_program::pubkey::Pubkey;
- |
- error[E0659]: `anchor_lang` is ambiguous
- --> src/prelude.rs:51:13
- |
- 51 | pub use anchor_lang;
- | ^^^^^^^^^^^ ambiguous name
- |
- = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
- = note: `anchor_lang` could refer to a crate passed with `--extern`
- = help: use `::anchor_lang` to refer to this crate unambiguously
- note: `anchor_lang` could also refer to the unresolved item imported here
- --> src/prelude.rs:32:13
- |
- 32 | pub use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- = help: use `self::anchor_lang` to refer to this unresolved item unambiguously
- error[E0659]: `anchor_lang` is ambiguous
- --> src/prelude.rs:52:13
- |
- 52 | pub use anchor_lang::solana_program;
- | ^^^^^^^^^^^ ambiguous name
- |
- = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
- = note: `anchor_lang` could refer to a crate passed with `--extern`
- = help: use `::anchor_lang` to refer to this crate unambiguously
- note: `anchor_lang` could also refer to the unresolved item imported here
- --> src/prelude.rs:32:13
- |
- 32 | pub use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- = help: use `self::anchor_lang` to refer to this unresolved item unambiguously
- error[E0659]: `anchor_lang` is ambiguous
- --> src/prelude.rs:54:13
- |
- 54 | pub use anchor_lang::prelude::*;
- | ^^^^^^^^^^^ ambiguous name
- |
- = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
- = note: `anchor_lang` could refer to a crate passed with `--extern`
- = help: use `::anchor_lang` to refer to this crate unambiguously
- note: `anchor_lang` could also refer to the unresolved item imported here
- --> src/prelude.rs:32:13
- |
- 32 | pub use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- = help: use `self::anchor_lang` to refer to this unresolved item unambiguously
- error[E0659]: `anchor_lang` is ambiguous
- --> src/prelude.rs:56:13
- |
- 56 | pub use anchor_lang::prelude::Result;
- | ^^^^^^^^^^^ ambiguous name
- |
- = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution
- = note: `anchor_lang` could refer to a crate passed with `--extern`
- = help: use `::anchor_lang` to refer to this crate unambiguously
- note: `anchor_lang` could also refer to the unresolved item imported here
- --> src/prelude.rs:32:13
- |
- 32 | pub use anchor_client::anchor_lang;
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- = help: use `self::anchor_lang` to refer to this unresolved item unambiguously
- error[E0706]: functions in traits cannot be declared `async`
- --> src/client/event_client.rs:73:5
- |
- 73 | async fn handle_event(&self;, data: &[u8]) -> Result<(), SbError> {
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | `async` because of this
- |
- = note: `async` trait functions are not currently supported
- = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
- = note: see issue #91611 <https //github.com/rust-lang/rust/issues/91611> for more informati add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
- error[E0706]: functions in traits cannot be declared `async`
- --> src/client/event_client.rs:55:5
- |
- 55 | async fn handle_event(&self;, data: &[u8]) -> Result<(), SbError>;
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | `async` because of this
- |
- = note: `async` trait functions are not currently supported
- = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
- = note: see issue #91611 <https //github.com/rust-lang/rust/issues/91611> for more informati add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
- error[E0706]: functions in traits cannot be declared `async`
- --> src/client/event_client.rs:45:5
- |
- 45 | async fn send(&self;, event: E) -> Result<(), SbError> {
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | `async` because of this
- |
- = note: `async` trait functions are not currently supported
- = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
- = note: see issue #91611 <https //github.com/rust-lang/rust/issues/91611> for more informati add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
- error[E0706]: functions in traits cannot be declared `async`
- --> src/client/event_client.rs:32:5
- |
- 32 | async fn send(&self;, event: E) -> Result<(), SbError> {
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | `async` because of this
- |
- = note: `async` trait functions are not currently supported
- = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
- = note: see issue #91611 <https //github.com/rust-lang/rust/issues/91611> for more informati add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
- error[E0706]: functions in traits cannot be declared `async`
- --> src/client/event_client.rs:24:5
- |
- 24 | async fn send(&self;, event: E) -> Result<(), SbError>;
- | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | |
- | `async` because of this
- |
- = note: `async` trait functions are not currently supported
- = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
- = note: see issue #91611 <https //github.com/rust-lang/rust/issues/91611> for more informati add `#![feature(async_fn_in_trait)]` to the crate attributes to enable
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/function.rs:343:42
- |
- 343 | pub fn get_schedule(&self;) -> Option<cron::Schedule> {
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:355:50
- |
- 355 | pub fn get_last_execution_datetime(&self;) -> chrono::DateTime<chrono::Utc> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:355:67
- |
- 355 | pub fn get_last_execution_datetime(&self;) -> chrono::DateTime<chrono::Utc> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:361:57
- |
- 361 | pub fn get_next_execution_datetime(&self;) -> Option<chrono::DateTime<chrono::Utc>> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:361:74
- |
- 361 | pub fn get_next_execution_datetime(&self;) -> Option<chrono::DateTime<chrono::Utc>> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:378:39
- |
- 378 | pub fn should_execute(&self;, now: chrono::DateTime<chrono::Utc>) -> bool {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/function.rs:378:56
- |
- 378 | pub fn should_execute(&self;, now: chrono::DateTime<chrono::Utc>) -> bool {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `cron`
- --> src/attestation_program/client/routine.rs:176:42
- |
- 176 | pub fn get_schedule(&self;) -> Option<cron::Schedule> {
- | ^^^^ use of undeclared crate or module `cron`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:188:50
- |
- 188 | pub fn get_last_execution_datetime(&self;) -> chrono::DateTime<chrono::Utc> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:188:67
- |
- 188 | pub fn get_last_execution_datetime(&self;) -> chrono::DateTime<chrono::Utc> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:194:57
- |
- 194 | pub fn get_next_execution_datetime(&self;) -> Option<chrono::DateTime<chrono::Utc>> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:194:74
- |
- 194 | pub fn get_next_execution_datetime(&self;) -> Option<chrono::DateTime<chrono::Utc>> {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:211:39
- |
- 211 | pub fn should_execute(&self;, now: chrono::DateTime<chrono::Utc>) -> bool {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `chrono`
- --> src/attestation_program/client/routine.rs:211:56
- |
- 211 | pub fn should_execute(&self;, now: chrono::DateTime<chrono::Utc>) -> bool {
- | ^^^^^^ use of undeclared crate or module `chrono`
- error[E0433]: failed to resolve: use of undeclared crate or module `hex`
- --> src/client/function_runner.rs:135:22
- |
- 135 | let fn_raw = hex::decode(fn_hex).unwrap();
- | ^^^ use of undeclared crate or module `hex`
- error[E0433]: failed to resolve: use of undeclared crate or module `hex`
- --> src/client/function_runner.rs:152:22
- |
- 152 | &hex;::decode(&env;.function_routine_data).unwrap_or_default(),
- | ^^^ use of undeclared crate or module `hex`
- error[E0433]: failed to resolve: use of undeclared crate or module `hex`
- --> src/client/function_runner.rs:172:22
- |
- 172 | &hex;::decode(&env;.function_request_data).unwrap_or_default(),
- | ^^^ use of undeclared crate or module `hex`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
- --> src/client/function_runner.rs:320:26
- |
- 320 | let decoded: T = serde_json::from_slice(&bytes;[..])?;
- | ^^^^^^^^^^ use of undeclared crate or module `serde_json`
- error[E0433]: failed to resolve: use of undeclared crate or module `bincode`
- --> src/client/function_runner.rs:505:29
- |
- 505 | let serialized_tx = bincode::serialize(&tx;).unwrap();
- | ^^^^^^^ use of undeclared crate or module `bincode`
- error[E0433]: failed to resolve: use of undeclared crate or module `bincode`
- --> src/client/validator.rs:841:31
- |
- 841 | let tx: Transaction = bincode::deserialize(&solana;_function_result.serialized_tx())
- | ^^^^^^^ use of undeclared crate or module `bincode`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
- --> src/client/service_worker.rs:20:9
- |
- 20 | serde_json::to_string(&self;).unwrap().as_bytes().to_vec()
- | ^^^^^^^^^^ use of undeclared crate or module `serde_json`
- error[E0433]: failed to resolve: use of undeclared crate or module `serde_json`
- --> src/client/service_worker.rs:40:13
- |
- 40 | serde_json::to_string(&self;).unwrap().as_bytes(),
- | ^^^^^^^^^^ use of undeclared crate or module `serde_json`
- error[E0433]: failed to resolve: use of undeclared crate or module `arc_swap`
- --> src/client/transaction_builder.rs:99:23
- |
- 99 | impl<T> ToKeypair for arc_swap::Guard<Arc<T>>
- | ^^^^^^^^ use of undeclared crate or module `arc_swap`
- Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0659, E0706.
- For more information about an error, try `rustc --explain E0405`.
- error: could not compile `switchboard-solana` (lib) due to 1997 previous errors