[INFO] cloning repository https://github.com/itsme-boii/bid [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/bid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fbid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fbid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d1edd84b152e3e2f105e90162ef79d1b0ff014c [INFO] testing itsme-boii/bid against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsme-boii%2Fbid" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/itsme-boii/bid [INFO] finished tweaking git repo https://github.com/itsme-boii/bid [INFO] tweaked toml for git repo https://github.com/itsme-boii/bid written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/itsme-boii/bid 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/bid 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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6fcef78d712a3d40f9ae182793897eabf23f46724b99cefb11be4d58094f2b81 [INFO] running `Command { std: "docker" "start" "-a" "6fcef78d712a3d40f9ae182793897eabf23f46724b99cefb11be4d58094f2b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fcef78d712a3d40f9ae182793897eabf23f46724b99cefb11be4d58094f2b81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcef78d712a3d40f9ae182793897eabf23f46724b99cefb11be4d58094f2b81", kill_on_drop: false }` [INFO] [stdout] 6fcef78d712a3d40f9ae182793897eabf23f46724b99cefb11be4d58094f2b81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2524da4ddfec57e5bb16c5d513b7a53540ac3135192da246b71140c7ea7919f5 [INFO] running `Command { std: "docker" "start" "-a" "2524da4ddfec57e5bb16c5d513b7a53540ac3135192da246b71140c7ea7919f5", kill_on_drop: false }` [INFO] [stderr] Compiling bidding 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_lang` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::system_program::{transfer as soltransfer, Transfer as SolTransfer}; [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:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_spl::associated_token::AssociatedToken; [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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_spl::metadata::{ [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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anchor_spl::token::{ [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 `mpl_token_metadata` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mpl_token_metadata::types::{Collection, Creator, DataV2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `mpl_token_metadata` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mpl_token_metadata`, use `cargo add mpl_token_metadata` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anchor_spl` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use anchor_spl::token::{ [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: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:446:3 [INFO] [stdout] | [INFO] [stdout] 446 | #[account] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:389:10 [INFO] [stdout] | [INFO] [stdout] 389 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `instruction` in this scope [INFO] [stdout] --> src/lib.rs:390:3 [INFO] [stdout] | [INFO] [stdout] 390 | #[instruction(input_params : InputParams)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:392:7 [INFO] [stdout] | [INFO] [stdout] 392 | #[account(mut, signer)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:394:7 [INFO] [stdout] | [INFO] [stdout] 394 | #[account( [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( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:432:7 [INFO] [stdout] | [INFO] [stdout] 432 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error_code` in this scope [INFO] [stdout] --> src/lib.rs:383:3 [INFO] [stdout] | [INFO] [stdout] 383 | #[error_code] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `msg` in this scope [INFO] [stdout] --> src/lib.rs:385:7 [INFO] [stdout] | [INFO] [stdout] 385 | #[msg("Invalid entry fee. Must be 10 USDC.")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AnchorSerialize` in this scope [INFO] [stdout] --> src/lib.rs:377:10 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AnchorDeserialize` in this scope [INFO] [stdout] --> src/lib.rs:377:27 [INFO] [stdout] | [INFO] [stdout] 377 | #[derive(AnchorSerialize, AnchorDeserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:369:3 [INFO] [stdout] | [INFO] [stdout] 369 | #[account] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:363:7 [INFO] [stdout] | [INFO] [stdout] 363 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:365:7 [INFO] [stdout] | [INFO] [stdout] 365 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:354:10 [INFO] [stdout] | [INFO] [stdout] 354 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:356:7 [INFO] [stdout] | [INFO] [stdout] 356 | #[account(mut, has_one = owner)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:318:7 [INFO] [stdout] | [INFO] [stdout] 318 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:324:7 [INFO] [stdout] | [INFO] [stdout] 324 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:326:7 [INFO] [stdout] | [INFO] [stdout] 326 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:328:7 [INFO] [stdout] | [INFO] [stdout] 328 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:330:7 [INFO] [stdout] | [INFO] [stdout] 330 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:332:7 [INFO] [stdout] | [INFO] [stdout] 332 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Accounts` in this scope [INFO] [stdout] --> src/lib.rs:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:304:7 [INFO] [stdout] | [INFO] [stdout] 304 | #[account(mut)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/lib.rs:306:7 [INFO] [stdout] | [INFO] [stdout] 306 | #[account( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> src/lib.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | msg!("State initialized:"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | msg!(" Owner: {}", state.owner); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | msg!(" Total Pool: {}", state.total_pool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | msg!(" Timelock Deadline: {}", state.timelock_deadline); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | msg!(" Stake Count: {}", state.stake_count); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | msg!(" Scores: {:?}", state.scores); [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!("Run create metadata accounts"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | msg!("Run create master edition"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | msg!("Minted NFT successfully"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | msg!("Added user {} to scores with initial score 0", bidder.key()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | msg!("Calculated entry fee: {} SOL", entry_fee_sol); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | msg!("Required lamports: {}", lamports_required); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | msg!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | msg!("Transferred NFT from bidder to escrow account"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | msg!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | msg!("User has staked successfully"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | msg!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | msg!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | msg!("Total Pool: {}", state.total_pool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | msg!("Owner share: {}", owner_share); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | msg!("Prize pool after owner share: {}", prize_pool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | msg!("Sorted scores: {:?}", scores); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | msg!("Total entry fees refunded: {}", total_entry_fees_refunded); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | msg!("Prize pool after refunding entry fees: {}", prize_pool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | msg!("Top 1: {} - Reward: {}", top1.player, top1_reward); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | msg!("Top 2: {} - Reward: {}", top2.player, top2_reward); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | msg!("Top 3: {} - Reward: {}", top3.player, top3_reward); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | msg!("Distributed to top 3: {}", distributed_to_top3); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | msg!("Remaining pool for other participants: {}", remaining_pool); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | msg!("Number of other participants: {}", other_count); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 284 | msg!("Rank {}: {} - Share: {}", i + 4, score.player, user_share); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | msg!("Remaining rewards added to owner: {}", remaining_to_owner); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | msg!("Final payout distribution: {:?}", payouts); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `msg` in this scope [INFO] [stdout] --> src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | msg!("Rewards distributed successfully"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `declare_id` in this scope [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | declare_id!("FoiwjsfGbN1k1QkWRtZn1KdEtEM6XyRgAXz71KJJk3GU"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn initialize(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | address: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn stake_nft(ctx: Context, entry_fee: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn update_scores(ctx: Context, scores: Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + 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:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn distribute_rewards(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:221:34 [INFO] [stdout] | [INFO] [stdout] 221 | let mut payouts: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 203 | pub fn distribute_rewards(ctx: Context) -> Result<()> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signer` in this scope [INFO] [stdout] --> src/lib.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | pub owner: 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:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | pub state: Account<'info, State>, [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:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | 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:313:40 [INFO] [stdout] | [INFO] [stdout] 313 | 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 `Account` in this scope [INFO] [stdout] --> src/lib.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | pub state: Account<'info, State>, [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:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | pub bidder: 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:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | pub nft_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:329:31 [INFO] [stdout] | [INFO] [stdout] 329 | pub bidder_token_account: Account<'info, TokenAccount>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemAccount` in this scope [INFO] [stdout] --> src/lib.rs:331:26 [INFO] [stdout] | [INFO] [stdout] 331 | pub program_account: SystemAccount<'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:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | pub escrow_account: Account<'info, TokenAccount>, [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:349:28 [INFO] [stdout] | [INFO] [stdout] 349 | pub program_authority: UncheckedAccount<'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:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | 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:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | 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:351:40 [INFO] [stdout] | [INFO] [stdout] 351 | 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 `Account` in this scope [INFO] [stdout] --> src/lib.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | pub state: Account<'info, State>, [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:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | pub owner: 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:364:16 [INFO] [stdout] | [INFO] [stdout] 364 | pub state: Account<'info, State>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SystemAccount` in this scope [INFO] [stdout] --> src/lib.rs:366:24 [INFO] [stdout] | [INFO] [stdout] 366 | pub owner_account: SystemAccount<'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:371:16 [INFO] [stdout] | [INFO] [stdout] 371 | pub owner: 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:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | pub player: Pubkey, [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:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | pub signer: 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:406:15 [INFO] [stdout] | [INFO] [stdout] 406 | pub 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:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | pub token_account: Account<'info, TokenAccount>, [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:415:35 [INFO] [stdout] | [INFO] [stdout] 415 | 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 `Sysvar` in this scope [INFO] [stdout] --> src/lib.rs:416:15 [INFO] [stdout] | [INFO] [stdout] 416 | 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:416:29 [INFO] [stdout] | [INFO] [stdout] 416 | 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] 391 | pub struct CreateNFT<'info, Rent> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Program` in this scope [INFO] [stdout] --> src/lib.rs:417:25 [INFO] [stdout] | [INFO] [stdout] 417 | 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:417:40 [INFO] [stdout] | [INFO] [stdout] 417 | 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:418:24 [INFO] [stdout] | [INFO] [stdout] 418 | 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:419:27 [INFO] [stdout] | [INFO] [stdout] 419 | pub metadata_program: Program<'info, Metadata>, [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:431:33 [INFO] [stdout] | [INFO] [stdout] 431 | pub master_edition_account: UncheckedAccount<'info>, [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:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | pub nft_metadata: UncheckedAccount<'info>, [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:21:52 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn initialize(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] 21 | pub fn initialize(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:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> 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] 45 | ) -> 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:117:65 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn stake_nft(ctx: Context, entry_fee: 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] 117 | pub fn stake_nft(ctx: Context, entry_fee: 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:174:82 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn update_scores(ctx: Context, scores: Vec) -> 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] 174 | pub fn update_scores(ctx: Context, scores: Vec) -> 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:203:67 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn distribute_rewards(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] 203 | pub fn distribute_rewards(ctx: Context) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let clock = Clock::get()?; [INFO] [stdout] | ^^^^^ use of undeclared type `Clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext` [INFO] [stdout] --> src/lib.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let cpi_context = 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:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | 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:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | 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:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | let cpi_context = 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:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | let cpi_context = CpiContext::new( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bidding` (lib) due to 122 previous errors [INFO] running `Command { std: "docker" "inspect" "2524da4ddfec57e5bb16c5d513b7a53540ac3135192da246b71140c7ea7919f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2524da4ddfec57e5bb16c5d513b7a53540ac3135192da246b71140c7ea7919f5", kill_on_drop: false }` [INFO] [stdout] 2524da4ddfec57e5bb16c5d513b7a53540ac3135192da246b71140c7ea7919f5