[INFO] fetching crate safecoin-budget-program 1.6.18... [INFO] testing safecoin-budget-program-1.6.18 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate safecoin-budget-program 1.6.18 into /workspace/builds/worker-29/source [INFO] validating manifest of crates.io crate safecoin-budget-program 1.6.18 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate safecoin-budget-program 1.6.18 [INFO] finished tweaking crates.io crate safecoin-budget-program 1.6.18 [INFO] tweaked toml for crates.io crate safecoin-budget-program 1.6.18 written to /workspace/builds/worker-29/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01297ecbfe7d12958b72fec83504d80edba1cb948264c0040e59840ce877554d [INFO] running `Command { std: "docker" "start" "-a" "01297ecbfe7d12958b72fec83504d80edba1cb948264c0040e59840ce877554d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01297ecbfe7d12958b72fec83504d80edba1cb948264c0040e59840ce877554d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01297ecbfe7d12958b72fec83504d80edba1cb948264c0040e59840ce877554d", kill_on_drop: false }` [INFO] [stdout] 01297ecbfe7d12958b72fec83504d80edba1cb948264c0040e59840ce877554d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d7072d41c9a616f2e68496996bb3ef5c194b41336094847e7f415778a3961c1 [INFO] running `Command { std: "docker" "start" "-a" "2d7072d41c9a616f2e68496996bb3ef5c194b41336094847e7f415778a3961c1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling uriparse v0.6.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling safecoin-frozen-abi-macro v1.8.12 [INFO] [stderr] Compiling safecoin-frozen-abi v1.8.12 [INFO] [stderr] Compiling safecoin-program v1.8.12 [INFO] [stderr] Compiling safecoin-sdk v1.8.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling safecoin-sdk-macro v1.8.12 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling safecoin-logger v1.8.12 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling ed25519 v1.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling derivation-path v0.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.6.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.1.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling safecoin-crate-features v1.8.12 [INFO] [stderr] Compiling safecoin-budget-program v1.6.18 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/budget_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_sdk::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/budget_expr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use solana_sdk::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/budget_instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::id` [INFO] [stdout] --> src/budget_instruction.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{budget_expr::BudgetExpr, budget_state::BudgetState, id}; [INFO] [stdout] | ^^ no `id` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/budget_processor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/budget_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_sdk::instruction::InstructionError; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_sdk` [INFO] [stdout] --> src/budget_instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_sdk::{ [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_sdk` [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | solana_sdk::declare_program!( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `solana_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | return Err(InstructionError::AccountAlreadyInitialized); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | return Err(InstructionError::UninitializedAccount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | return Err(InstructionError::MissingRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | return Err(InstructionError::UninitializedAccount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:199:28 [INFO] [stdout] | [INFO] [stdout] 199 | return Err(InstructionError::MissingRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_processor.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | return Err(InstructionError::UninitializedAccount); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_state.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | serialize_into(output, self).map_err(|_| InstructionError::AccountDataTooSmall) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `InstructionError` [INFO] [stdout] --> src/budget_state.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | deserialize(input).map_err(|_| InstructionError::InvalidAccountData) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `InstructionError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/budget_expr.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | AccountData(Hash, Pubkey), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | AccountData(Hash, Pubkey), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | pub to: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub key: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub program_id: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/budget_expr.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | pub data_hash: Hash, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | Timestamp(DateTime, Pubkey), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | Signature(Pubkey), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:66:58 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_satisfied(&self, witness: &Witness, from: &Pubkey) -> bool { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:105:44 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn new_payment(lamports: u64, to: &Pubkey) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new_authorized_payment(from: &Pubkey, lamports: u64, to: &Pubkey) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:110:70 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new_authorized_payment(from: &Pubkey, lamports: u64, to: &Pubkey) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | account_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | account_program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/budget_expr.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | account_hash: Hash, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 6 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 138 | witness: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | from: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | from0: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | from1: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | dt_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | dt_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:194:22 [INFO] [stdout] | [INFO] [stdout] 194 | from: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_expr.rs:235:63 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn apply_witness(&mut self, witness: &Witness, from: &Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `DecodeError` in this scope [INFO] [stdout] --> src/budget_instruction.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | impl DecodeError for BudgetError { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::decode_error::DecodeError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn initialize_account(contract: &Pubkey, expr: BudgetExpr) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:44:63 [INFO] [stdout] | [INFO] [stdout] 44 | fn initialize_account(contract: &Pubkey, expr: BudgetExpr) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | keys.push(AccountMeta::new(payment.to, false)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | keys.push(AccountMeta::new(*contract, false)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/budget_instruction.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | Instruction::new_with_bincode( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | contract: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn payment(from: &Pubkey, to: &Pubkey, contract: &Pubkey, lamports: u64) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn payment(from: &Pubkey, to: &Pubkey, contract: &Pubkey, lamports: u64) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:74:55 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn payment(from: &Pubkey, to: &Pubkey, contract: &Pubkey, lamports: u64) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:74:85 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn payment(from: &Pubkey, to: &Pubkey, contract: &Pubkey, lamports: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | contract: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | dt_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | cancelable: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | contract: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | witness: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | cancelable: Option, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:110:16 [INFO] [stdout] | [INFO] [stdout] 110 | contract: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | account_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | account_program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hash` in this scope [INFO] [stdout] --> src/budget_instruction.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | account_hash: Hash, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::hash::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::keccak::Hash; [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::Hash; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | from: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:128:16 [INFO] [stdout] | [INFO] [stdout] 128 | contract: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | to: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | AccountMeta::new(*from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | AccountMeta::new(*contract, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | account_metas.push(AccountMeta::new(*to, false)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/budget_instruction.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | Instruction::new_with_bincode(id(), &BudgetInstruction::ApplyTimestamp(dt), account_metas) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn apply_signature(from: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:142:50 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn apply_signature(from: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:142:63 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn apply_signature(from: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:142:74 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn apply_signature(from: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | AccountMeta::new(*from, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | AccountMeta::new(*contract, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | account_metas.push(AccountMeta::new(*to, false)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/budget_instruction.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | Instruction::new_with_bincode(id(), &BudgetInstruction::ApplySignature, account_metas) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:154:44 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn apply_account_data(witness_pubkey: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:154:63 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn apply_account_data(witness_pubkey: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_instruction.rs:154:76 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn apply_account_data(witness_pubkey: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> src/budget_instruction.rs:154:87 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn apply_account_data(witness_pubkey: &Pubkey, contract: &Pubkey, to: &Pubkey) -> Instruction { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | AccountMeta::new_readonly(*witness_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | AccountMeta::new(*contract, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> src/budget_instruction.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | AccountMeta::new(*to, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> src/budget_instruction.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | Instruction::new_with_bincode(id(), &BudgetInstruction::ApplyAccountData, account_metas) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use safecoin_sdk::instruction::Instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result<(), InstructionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:60:30 [INFO] [stdout] | [INFO] [stdout] 60 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result<(), InstructionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | witness_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:90:30 [INFO] [stdout] | [INFO] [stdout] 90 | contract_keyed_account: &KeyedAccount, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:91:45 [INFO] [stdout] | [INFO] [stdout] 91 | to_keyed_account: Result<&KeyedAccount, InstructionError>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result<(), InstructionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `safecoin-budget-program` due to 135 previous errors; 1 warning emitted [INFO] [stdout] error[E0425]: cannot find function `hash` in this scope [INFO] [stdout] --> src/budget_processor.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let actual_hash = hash(&witness_keyed_account.try_account_ref()?.data()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::hash::hash; [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keccak::hash; [INFO] [stdout] | [INFO] [stdout] 2 | use serde::__private::ptr::hash; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/budget_processor.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | _program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyedAccount` in this scope [INFO] [stdout] --> src/budget_processor.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | keyed_accounts: &[KeyedAccount], [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::KeyedAccount; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InvokeContext` in this scope [INFO] [stdout] --> src/budget_processor.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | _invoke_context: &mut dyn InvokeContext, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::process_instruction::InvokeContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_processor.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result<(), InstructionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `limited_deserialize` in this scope [INFO] [stdout] --> src/budget_processor.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | let instruction = limited_deserialize(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::program_utils::limited_deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:130:42 [INFO] [stdout] | [INFO] [stdout] 130 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 130 | let contract_keyed_account = keyed_accounts(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:134:46 [INFO] [stdout] | [INFO] [stdout] 134 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 134 | let contract_keyed_account = to_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 157 | let witness_keyed_account = keyed_accounts(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 158 | let contract_keyed_account = witness_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 176 | witness_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:187:41 [INFO] [stdout] | [INFO] [stdout] 187 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 187 | let witness_keyed_account = keyed_accounts(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:188:42 [INFO] [stdout] | [INFO] [stdout] 188 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 188 | let contract_keyed_account = witness_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 206 | witness_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:216:41 [INFO] [stdout] | [INFO] [stdout] 216 | let witness_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | let witness_keyed_account = keyed_accounts(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:217:42 [INFO] [stdout] | [INFO] [stdout] 217 | let contract_keyed_account = next_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 217 | let contract_keyed_account = witness_keyed_account(keyed_accounts_iter)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_keyed_account` in this scope [INFO] [stdout] --> src/budget_processor.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | next_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 231 | witness_keyed_account(keyed_accounts_iter), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::keyed_account::next_keyed_account; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_state.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn serialize(&self, output: &mut [u8]) -> Result<(), InstructionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InstructionError` in this scope [INFO] [stdout] --> src/budget_state.rs:29:54 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn deserialize(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use safecoin_sdk::instruction::InstructionError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::budget_processor::process_instruction` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::budget_processor::process_instruction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 134 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d7072d41c9a616f2e68496996bb3ef5c194b41336094847e7f415778a3961c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d7072d41c9a616f2e68496996bb3ef5c194b41336094847e7f415778a3961c1", kill_on_drop: false }` [INFO] [stdout] 2d7072d41c9a616f2e68496996bb3ef5c194b41336094847e7f415778a3961c1