[INFO] cloning repository https://github.com/itsme-boii/GOUSDAnchor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsme-boii/GOUSDAnchor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2FGOUSDAnchor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2FGOUSDAnchor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe20f31a4bc97f90037e9e9372e959cbc4a87d0e [INFO] testing itsme-boii/GOUSDAnchor against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2FGOUSDAnchor" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itsme-boii/GOUSDAnchor [INFO] finished tweaking git repo https://github.com/itsme-boii/GOUSDAnchor [INFO] tweaked toml for git repo https://github.com/itsme-boii/GOUSDAnchor written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itsme-boii/GOUSDAnchor on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/itsme-boii/GOUSDAnchor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f93cb8e7439e7c879a2a39cff6148056d82a963036e56f68c06d047524d2ed [INFO] running `Command { std: "docker" "start" "-a" "50f93cb8e7439e7c879a2a39cff6148056d82a963036e56f68c06d047524d2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f93cb8e7439e7c879a2a39cff6148056d82a963036e56f68c06d047524d2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f93cb8e7439e7c879a2a39cff6148056d82a963036e56f68c06d047524d2ed", kill_on_drop: false }` [INFO] [stdout] 50f93cb8e7439e7c879a2a39cff6148056d82a963036e56f68c06d047524d2ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7facc156328b5a1ae43de7f7649769b0ccc3e3a794bef9232a6bbc63401aad1 [INFO] running `Command { std: "docker" "start" "-a" "e7facc156328b5a1ae43de7f7649769b0ccc3e3a794bef9232a6bbc63401aad1", kill_on_drop: false }` [INFO] [stderr] Compiling GO v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_lang`, use `cargo add anchor_lang` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_spl` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pyth_sdk_solana` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use pyth_sdk_solana::load_price_feed_from_account_info; // Validating Oracle [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pyth_sdk_solana` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pyth_sdk_solana`, use `cargo add pyth_sdk_solana` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error_code` in this scope [INFO] [stdout] --> src/lib.rs:511:3 [INFO] [stdout] | [INFO] [stdout] 511 | #[error_code] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:513:7 [INFO] [stdout] | [INFO] [stdout] 513 | #[msg("Invalid address provided")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:515:7 [INFO] [stdout] | [INFO] [stdout] 515 | #[msg("Invalid time delay")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:517:7 [INFO] [stdout] | [INFO] [stdout] 517 | #[msg("Invalid amount")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:519:7 [INFO] [stdout] | [INFO] [stdout] 519 | #[msg("Contract is paused")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:521:7 [INFO] [stdout] | [INFO] [stdout] 521 | #[msg("Unauthorized supply controller")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:523:7 [INFO] [stdout] | [INFO] [stdout] 523 | #[msg("Unauthorized freezer")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:525:7 [INFO] [stdout] | [INFO] [stdout] 525 | #[msg("Unauthorized admin")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:527:7 [INFO] [stdout] | [INFO] [stdout] 527 | #[msg("Exceeds mint transaction cap")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:529:7 [INFO] [stdout] | [INFO] [stdout] 529 | #[msg("Supply exceeds reserves")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:531:7 [INFO] [stdout] | [INFO] [stdout] 531 | #[msg("Invalid proof of reserve data")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:533:7 [INFO] [stdout] | [INFO] [stdout] 533 | #[msg("Proof of reserve data is outdated")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:535:7 [INFO] [stdout] | [INFO] [stdout] 535 | #[msg("decimal value invalid")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:537:7 [INFO] [stdout] | [INFO] [stdout] 537 | #[msg("Arithmetic overflow occurred")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:539:7 [INFO] [stdout] | [INFO] [stdout] 539 | #[msg("Arithmetic underflow occurred")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:506:3 [INFO] [stdout] | [INFO] [stdout] 506 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:501:3 [INFO] [stdout] | [INFO] [stdout] 501 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:496:3 [INFO] [stdout] | [INFO] [stdout] 496 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:491:3 [INFO] [stdout] | [INFO] [stdout] 491 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:487:3 [INFO] [stdout] | [INFO] [stdout] 487 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:482:3 [INFO] [stdout] | [INFO] [stdout] 482 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:476:3 [INFO] [stdout] | [INFO] [stdout] 476 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> src/lib.rs:470:3 [INFO] [stdout] | [INFO] [stdout] 470 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:449:3 [INFO] [stdout] | [INFO] [stdout] 449 | #[account] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:444:10 [INFO] [stdout] | [INFO] [stdout] 444 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:431:7 [INFO] [stdout] | [INFO] [stdout] 431 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:437:7 [INFO] [stdout] | [INFO] [stdout] 437 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:406:10 [INFO] [stdout] | [INFO] [stdout] 406 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:408:7 [INFO] [stdout] | [INFO] [stdout] 408 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:412:7 [INFO] [stdout] | [INFO] [stdout] 412 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:418:7 [INFO] [stdout] | [INFO] [stdout] 418 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:399:10 [INFO] [stdout] | [INFO] [stdout] 399 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:401:7 [INFO] [stdout] | [INFO] [stdout] 401 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:385:10 [INFO] [stdout] | [INFO] [stdout] 385 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:387:7 [INFO] [stdout] | [INFO] [stdout] 387 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:389:7 [INFO] [stdout] | [INFO] [stdout] 389 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:391:7 [INFO] [stdout] | [INFO] [stdout] 391 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:360:10 [INFO] [stdout] | [INFO] [stdout] 360 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:364:7 [INFO] [stdout] | [INFO] [stdout] 364 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:370:7 [INFO] [stdout] | [INFO] [stdout] 370 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:377:7 [INFO] [stdout] | [INFO] [stdout] 377 | #[account(mut, signer)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instruction` in this scope [INFO] [stdout] --> src/lib.rs:336:3 [INFO] [stdout] | [INFO] [stdout] 336 | #[instruction(token_decimals: u8)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:338:7 [INFO] [stdout] | [INFO] [stdout] 338 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:341:7 [INFO] [stdout] | [INFO] [stdout] 341 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:351:7 [INFO] [stdout] | [INFO] [stdout] 351 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:320:7 [INFO] [stdout] | [INFO] [stdout] 320 | #[account(init, payer = payer, space = 8 + StateAccount::SIZE)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:322:7 [INFO] [stdout] | [INFO] [stdout] 322 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> src/lib.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | msg!("Creating metadata account"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | msg!("Mint _token_decimals: {}", &token_decimals); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | msg!("Token created successfully."); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | require!(!state.paused, ErrorCode::ContractPaused); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | emit!(MintEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | require!(!state.paused, ErrorCode::ContractPaused); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | emit!(BurnEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | emit!(FreezeEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | emit!(UnfreezeEvent { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | require!(new_cap > 0, ErrorCode::InvalidAmount); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | emit!(MintCapEvent { new_cap }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | require!(new_delay > 0, ErrorCode::InvalidTimeDelay); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `emit` in this scope [INFO] [stdout] --> src/lib.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | emit!(ProofOfReserveDelayEvent { new_delay }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | require!(current_price.price > 0, ErrorCode::InvalidPoRData); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | require!(current_supply <= reserves, ErrorCode::SupplyExceedsReserves); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `require` in this scope [INFO] [stdout] --> src/lib.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | require!( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_id` in this scope [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | declare_id!("Eb7G2XzP3bgiRYBsyNJksfn7EhnaCe86N4tuajgL6gzp"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | anchor_spl::token::FreezeAccount { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] --> src/lib.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | anchor_spl::token::ThawAccount { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_spl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_spl`, use `cargo add anchor_spl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn initialize(ctx: Context, default_admin_delay: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn mint(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> src/lib.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | Context::new( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ValidateProofOfReserveBumps` in this scope [INFO] [stdout] --> src/lib.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | ValidateProofOfReserveBumps {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `ValidateProofOfReserve` [INFO] [stdout] ... [INFO] [stdout] 445 | pub struct ValidateProofOfReserve<'info> { [INFO] [stdout] | ---------------------------------------- similarly named struct `ValidateProofOfReserve` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn burn(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn pause(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn unpause(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:204:37 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn freeze_user_account(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn unfreeze_account(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:259:46 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_mint_cap_per_transaction(ctx: Context, new_cap: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:271:44 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn set_proof_of_reserve_delay(ctx: Context, new_delay: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 285 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 24 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:321:16 [INFO] [stdout] | [INFO] [stdout] 321 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | pub payer: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:324:24 [INFO] [stdout] | [INFO] [stdout] 324 | pub default_admin: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:326:18 [INFO] [stdout] | [INFO] [stdout] 326 | pub freezer: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | pub supply_controller: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | pub upgrader: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:329:18 [INFO] [stdout] | [INFO] [stdout] 329 | pub rescuer: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:331:32 [INFO] [stdout] | [INFO] [stdout] 331 | pub proof_of_reserve_feed: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/lib.rs:332:40 [INFO] [stdout] | [INFO] [stdout] 332 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:339:16 [INFO] [stdout] | [INFO] [stdout] 339 | pub payer: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | pub mint_account: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UncheckedAccount` in this scope [INFO] [stdout] --> src/lib.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | pub metadata_account: UncheckedAccount<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `UnfreezeAccount` [INFO] [stdout] ... [INFO] [stdout] 426 | pub struct UnfreezeAccount<'info> { [INFO] [stdout] | --------------------------------- similarly named struct `UnfreezeAccount` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:354:24 [INFO] [stdout] | [INFO] [stdout] 354 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | pub token_metadata_program: Program<'info, Metadata>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:356:25 [INFO] [stdout] | [INFO] [stdout] 356 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/lib.rs:356:40 [INFO] [stdout] | [INFO] [stdout] 356 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sysvar` in this scope [INFO] [stdout] --> src/lib.rs:357:15 [INFO] [stdout] | [INFO] [stdout] 357 | pub rent: Sysvar<'info, Rent>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rent` in this scope [INFO] [stdout] --> src/lib.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 357 | pub rent: Sysvar<'info, Rent>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 337 | pub struct CreateToken<'info, Rent> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:363:16 [INFO] [stdout] | [INFO] [stdout] 363 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:365:21 [INFO] [stdout] | [INFO] [stdout] 365 | pub gousd_mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:367:32 [INFO] [stdout] | [INFO] [stdout] 367 | pub proof_of_reserve_feed: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:369:25 [INFO] [stdout] | [INFO] [stdout] 369 | pub mint_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | pub recipient: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | pub authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:379:24 [INFO] [stdout] | [INFO] [stdout] 379 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | pub price_update: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:381:25 [INFO] [stdout] | [INFO] [stdout] 381 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `System` in this scope [INFO] [stdout] --> src/lib.rs:381:40 [INFO] [stdout] | [INFO] [stdout] 381 | pub system_program: Program<'info, System>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::alloc::System; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | pub associated_token_program: Program<'info, AssociatedToken>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:388:16 [INFO] [stdout] | [INFO] [stdout] 388 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:390:21 [INFO] [stdout] | [INFO] [stdout] 390 | pub gousd_mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:392:23 [INFO] [stdout] | [INFO] [stdout] 392 | pub from_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | pub from: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:395:20 [INFO] [stdout] | [INFO] [stdout] 395 | pub authority: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:402:16 [INFO] [stdout] | [INFO] [stdout] 402 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | pub authority: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:409:16 [INFO] [stdout] | [INFO] [stdout] 409 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:413:21 [INFO] [stdout] | [INFO] [stdout] 413 | pub gousd_mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | pub mint_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:419:26 [INFO] [stdout] | [INFO] [stdout] 419 | pub token_to_freeze: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:421:20 [INFO] [stdout] | [INFO] [stdout] 421 | pub authority: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:428:16 [INFO] [stdout] | [INFO] [stdout] 428 | pub state: Account<'info, StateAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:432:21 [INFO] [stdout] | [INFO] [stdout] 432 | pub gousd_mint: Account<'info, Mint>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:435:25 [INFO] [stdout] | [INFO] [stdout] 435 | pub mint_authority: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Account` in this scope [INFO] [stdout] --> src/lib.rs:438:28 [INFO] [stdout] | [INFO] [stdout] 438 | pub token_to_unfreeze: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:440:20 [INFO] [stdout] | [INFO] [stdout] 440 | pub authority: Signer<'info>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:441:24 [INFO] [stdout] | [INFO] [stdout] 441 | pub token_program: Program<'info, Token>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | pub price_feed: AccountInfo<'info>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | pub default_admin: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | pub freezer: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | pub supply_controller: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:455:19 [INFO] [stdout] | [INFO] [stdout] 455 | pub upgrader: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:456:18 [INFO] [stdout] | [INFO] [stdout] 456 | pub rescuer: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:458:32 [INFO] [stdout] | [INFO] [stdout] 458 | pub proof_of_reserve_feed: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | pub to: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:478:15 [INFO] [stdout] | [INFO] [stdout] 478 | pub from: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | pub account: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | pub account: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:493:18 [INFO] [stdout] | [INFO] [stdout] 493 | pub account: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:498:18 [INFO] [stdout] | [INFO] [stdout] 498 | pub account: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn initialize(ctx: Context, default_admin_delay: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 27 | pub fn initialize(ctx: Context, default_admin_delay: i64) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 57 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:98:58 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn mint(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 98 | pub fn mint(ctx: Context, amount: u64) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:151:58 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn burn(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 151 | pub fn burn(ctx: Context, amount: u64) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:184:46 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn pause(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 184 | pub fn pause(ctx: Context) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn unpause(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 194 | pub fn unpause(ctx: Context) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:204:64 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn freeze_user_account(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 204 | pub fn freeze_user_account(ctx: Context) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:232:63 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn unfreeze_account(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 232 | pub fn unfreeze_account(ctx: Context) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:259:83 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_mint_cap_per_transaction(ctx: Context, new_cap: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 259 | pub fn set_mint_cap_per_transaction(ctx: Context, new_cap: u64) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:271:83 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn set_proof_of_reserve_delay(ctx: Context, new_delay: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 271 | pub fn set_proof_of_reserve_delay(ctx: Context, new_delay: i64) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 290 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | freeze_account(CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | thaw_account(CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> src/lib.rs:293:33 [INFO] [stdout] | [INFO] [stdout] 293 | let current_timestamp = Clock::get()?.unix_timestamp; [INFO] [stdout] | ^^^^^ use of undeclared type `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GO` (lib) due to 180 previous errors [INFO] running `Command { std: "docker" "inspect" "e7facc156328b5a1ae43de7f7649769b0ccc3e3a794bef9232a6bbc63401aad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7facc156328b5a1ae43de7f7649769b0ccc3e3a794bef9232a6bbc63401aad1", kill_on_drop: false }` [INFO] [stdout] e7facc156328b5a1ae43de7f7649769b0ccc3e3a794bef9232a6bbc63401aad1