[INFO] cloning repository https://github.com/shihonics/shihon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shihonics/shihon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshihonics%2Fshihon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshihonics%2Fshihon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9354bf277f96ea03b4e07fbd98a1927a911c12b4 [INFO] testing shihonics/shihon against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshihonics%2Fshihon" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shihonics/shihon on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shihonics/shihon [INFO] finished tweaking git repo https://github.com/shihonics/shihon [INFO] tweaked toml for git repo https://github.com/shihonics/shihon written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/shihonics/shihon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8a1a032c32e063cad0dabe084cb9c5fdd56fd279a4162b8c10617b28ceb50c [INFO] running `Command { std: "docker" "start" "-a" "0a8a1a032c32e063cad0dabe084cb9c5fdd56fd279a4162b8c10617b28ceb50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8a1a032c32e063cad0dabe084cb9c5fdd56fd279a4162b8c10617b28ceb50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8a1a032c32e063cad0dabe084cb9c5fdd56fd279a4162b8c10617b28ceb50c", kill_on_drop: false }` [INFO] [stdout] 0a8a1a032c32e063cad0dabe084cb9c5fdd56fd279a4162b8c10617b28ceb50c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a23ee2bd3372f599f5c93cec3c48da312a0fd2c59d3084b77871728c012aacb2 [INFO] running `Command { std: "docker" "start" "-a" "a23ee2bd3372f599f5c93cec3c48da312a0fd2c59d3084b77871728c012aacb2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.5 [INFO] [stderr] Compiling solana-frozen-abi v1.9.5 [INFO] [stderr] Compiling solana-program v1.9.5 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling memmap2 v0.5.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-logger v1.9.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling zeroize v1.5.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.10.1 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling spl-token v3.3.0 (/opt/rustwide/workdir/token/program) [INFO] [stderr] Compiling spl-governance-tools v0.1.0 (/opt/rustwide/workdir/tools) [INFO] [stderr] Compiling shihon v0.0.1 (/opt/rustwide/workdir/program) [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> program/src/processor/mod.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | ShihonInstruction::DraftBlankCheck { name } => process_draft_blank_check(program_id, accounts), [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found keyword `false` [INFO] [stdout] --> program/src/instruction.rs:460:48 [INFO] [stdout] | [INFO] [stdout] 460 | AccountMeta::new(*buddy_content_holder false), [INFO] [stdout] | -^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found keyword `false` [INFO] [stdout] --> program/src/instruction.rs:461:47 [INFO] [stdout] | [INFO] [stdout] 461 | AccountMeta::new(*init_content_holder false), [INFO] [stdout] | -^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found keyword `false` [INFO] [stdout] --> program/src/instruction.rs:502:48 [INFO] [stdout] | [INFO] [stdout] 502 | AccountMeta::new(*buddy_content_holder false), [INFO] [stdout] | -^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found keyword `false` [INFO] [stdout] --> program/src/instruction.rs:503:47 [INFO] [stdout] | [INFO] [stdout] 503 | AccountMeta::new(*init_content_holder false), [INFO] [stdout] | -^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteWeightV1` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | Vote::Pull(_options) => VoteWeightV1::Yes(self.voter_weight), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VoteWeightV1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteWeightV1` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | Vote::Push => VoteWeightV1::No(self.voter_weight), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VoteWeightV1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteWeightV1` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | VoteWeightV1::Yes(weight) => ( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VoteWeightV1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VoteWeightV1` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | VoteWeightV1::No(weight) => (Vote::Push, weight), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `VoteWeightV1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RateType` [INFO] [stdout] --> program/src/state/mix_content_record.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if let RateType::MultiChoice(n) = *vote_type { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RateType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> program/src/instruction.rs:249:62 [INFO] [stdout] | [INFO] [stdout] 249 | let bc_token_address = get_bc_token_address(program_id, &name); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_tanistry_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:325:28 [INFO] [stdout] | [INFO] [stdout] 325 | let tanistry_address = get_tanistry_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_candidate_token_owner_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:399:48 [INFO] [stdout] | [INFO] [stdout] 399 | let candidate_token_owner_record_address = get_candidate_token_owner_record_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_kicker_coin_owner_record_address` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/kicker_coin_owner_record.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub fn get_kicker_coin_owner_record_address<'a>( [INFO] [stdout] 131 | | program_id: &Pubkey, [INFO] [stdout] 132 | | kicker_coin_holder: &'a Pubkey, [INFO] [stdout] 133 | | coordinator: &'a Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 139 | | .0 [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- similarly named function `get_kicker_coin_owner_record_address` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_tanistry_token_holding_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:406:43 [INFO] [stdout] | [INFO] [stdout] 406 | let candidate_token_holding_address = get_tanistry_token_holding_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_bc_token_holding_address` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/bc_token.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / pub fn get_bc_token_holding_address( [INFO] [stdout] 194 | | program_id: &Pubkey, [INFO] [stdout] 195 | | bc_token: &Pubkey, [INFO] [stdout] 196 | | bc_token_mint: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 202 | | .0 [INFO] [stdout] 203 | | } [INFO] [stdout] | |_- similarly named function `get_bc_token_holding_address` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kicker_coin_owner_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | AccountMeta::new(kicker_coin_owner_record_address, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_kicker_coin_owner_record_address` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/kicker_coin_owner_record.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub fn get_kicker_coin_owner_record_address<'a>( [INFO] [stdout] 131 | | program_id: &Pubkey, [INFO] [stdout] 132 | | kicker_coin_holder: &'a Pubkey, [INFO] [stdout] 133 | | coordinator: &'a Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 139 | | .0 [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- similarly named function `get_kicker_coin_owner_record_address` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tanistry_token_owner_record` in this scope [INFO] [stdout] --> program/src/instruction.rs:419:26 [INFO] [stdout] | [INFO] [stdout] 419 | AccountMeta::new(tanistry_token_owner_record, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `candidate_token_owner_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rate_other_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:450:37 [INFO] [stdout] | [INFO] [stdout] 450 | let rate_other_record_address = get_rate_other_record_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::rate_other_record::get_rate_other_record_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_rate_other_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:492:37 [INFO] [stdout] | [INFO] [stdout] 492 | let rate_other_record_address = get_rate_other_record_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::rate_other_record::get_rate_other_record_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_candidate_token_owner_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:534:48 [INFO] [stdout] | [INFO] [stdout] 534 | let candidate_token_owner_record_address = get_candidate_token_owner_record_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_kicker_coin_owner_record_address` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/kicker_coin_owner_record.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | / pub fn get_kicker_coin_owner_record_address<'a>( [INFO] [stdout] 131 | | program_id: &Pubkey, [INFO] [stdout] 132 | | kicker_coin_holder: &'a Pubkey, [INFO] [stdout] 133 | | coordinator: &'a Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 139 | | .0 [INFO] [stdout] 140 | | } [INFO] [stdout] | |_- similarly named function `get_kicker_coin_owner_record_address` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_candidate_token_holding_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | get_candidate_token_holding_address(program_id, candidate_account, candidate_token_owner); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_bc_token_holding_address` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/bc_token.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | / pub fn get_bc_token_holding_address( [INFO] [stdout] 194 | | program_id: &Pubkey, [INFO] [stdout] 195 | | bc_token: &Pubkey, [INFO] [stdout] 196 | | bc_token_mint: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 202 | | .0 [INFO] [stdout] 203 | | } [INFO] [stdout] | |_- similarly named function `get_bc_token_holding_address` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_outside_buyer_token_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:578:36 [INFO] [stdout] | [INFO] [stdout] 578 | let token_governance_address = get_outside_buyer_token_address(program_id, buyer, buyer_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `realm` in this scope [INFO] [stdout] --> program/src/instruction.rs:581:36 [INFO] [stdout] | [INFO] [stdout] 581 | AccountMeta::new_readonly(*realm, false), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `governed_token` in this scope [INFO] [stdout] --> program/src/instruction.rs:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | AccountMeta::new(*governed_token, false), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `governed_token_owner` in this scope [INFO] [stdout] --> program/src/instruction.rs:584:36 [INFO] [stdout] | [INFO] [stdout] 584 | AccountMeta::new_readonly(*governed_token_owner, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `buyer_token_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token_owner_record` in this scope [INFO] [stdout] --> program/src/instruction.rs:585:36 [INFO] [stdout] | [INFO] [stdout] 585 | AccountMeta::new_readonly(*token_owner_record, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `governance_authority` in this scope [INFO] [stdout] --> program/src/instruction.rs:590:36 [INFO] [stdout] | [INFO] [stdout] 590 | AccountMeta::new_readonly(*governance_authority, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `kicker_coin_onwer_record_address` in this scope [INFO] [stdout] --> program/src/instruction.rs:617:26 [INFO] [stdout] | [INFO] [stdout] 617 | AccountMeta::new(kicker_coin_onwer_record_address, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `kicker_coin_owner_record_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `governing_token_mint` in this scope [INFO] [stdout] --> program/src/instruction.rs:619:36 [INFO] [stdout] | [INFO] [stdout] 619 | AccountMeta::new_readonly(*governing_token_mint, false), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> program/src/processor/process_approve_kicker_coin.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let clock = Clock::from_account_info(clock_info)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_can_approve_kicker_coin` in this scope [INFO] [stdout] --> program/src/processor/process_approve_kicker_coin.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | assert_can_approve_kicker_coin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_valid_coordinator_input_on_kicker_coin` in this scope [INFO] [stdout] --> program/src/processor/process_approve_kicker_coin.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | assert_valid_coordinator_input_on_kicker_coin(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> program/src/processor/process_buy_exceeded_rate_token.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let clock = Clock::from_account_info(clock_info)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BcTokenMetadata` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | config: BcTokenMetadata, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::bc_token_metadata::BcTokenMetadata; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_create_bc_token` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | assert_create_bc_token(program_id, &config, bc_token_info); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BcTokenMetadata` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | create_and_serialize_account_signed::( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::bc_token_metadata::BcTokenMetadata; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_proposal_instruction_address_seeds` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | &get_proposal_instruction_address_seeds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `proposal_info` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | proposal_info.key, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `option_index` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | &option_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instruction_index` in this scope [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | &instruction_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_can_discard_bc_token` in this scope [INFO] [stdout] --> program/src/processor/process_discard_bc_token.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | assert_can_discard_bc_token()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_valid_create_blank_check` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | assert_valid_create_blank_check(program_id, &name, bc_info)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_be_data` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let bc_data_info = get_be_data(program_id, bc_info); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Governance` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_draft_blank_check( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | create_and_serialize_account_signed::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `payer_info` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | payer_info, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_program_governance_address_seeds` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | &get_program_governance_address_seeds(bc_data_info.key), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rent` in this scope [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | rent, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> program/src/processor/process_kick_to_coordinator.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let clock = Clock::from_account_info(clock_info)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::sysvar::clock::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rent_sysvar_info` in this scope [INFO] [stdout] --> program/src/processor/process_mix_content.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 35 | let rent = &Rent::from_account_info(rent_sysvar_info)?; // 11 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Realm` in this scope [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | realm_data: &Realm, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceConfig` in this scope [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | config: &GovernanceConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Realm` in this scope [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | realm_data: &Realm, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoteRecordV1` in this scope [INFO] [stdout] --> program/src/state/cc_vote_record.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct CCVoteRecord { [INFO] [stdout] | ----------------------- similarly named struct `CCVoteRecord` defined here [INFO] [stdout] ... [INFO] [stdout] 105 | let vote_record_data_v1 = VoteRecordV1 { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `CCVoteRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_vote_record_data` in this scope [INFO] [stdout] --> program/src/state/cc_vote_record.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 121 | / pub fn get_cc_vote_record_data( [INFO] [stdout] 122 | | program_id: &Pubkey, [INFO] [stdout] 123 | | vote_record_info: &AccountInfo, [INFO] [stdout] 124 | | ) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 153 | | get_account_data::(program_id, vote_record_info) [INFO] [stdout] 154 | | } [INFO] [stdout] | |_- similarly named function `get_cc_vote_record_data` defined here [INFO] [stdout] ... [INFO] [stdout] 163 | let vote_record_data = get_vote_record_data(program_id, vote_record_info)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_cc_vote_record_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rate` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_content_metadata_for_mixing( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_proposal_data_for_governance` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:87:25 [INFO] [stdout] | [INFO] [stdout] 87 | let proposal_data = get_proposal_data_for_governance(program_id, proposal_info, governance)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rate` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_content_metadata_for_rating( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 101 | ) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_proposal_data` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | let proposal_data = get_proposal_data(program_id, proposal_info)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_proposal_address_seeds` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | &get_proposal_address_seeds(governance, governing_token_mint, proposal_index_le_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> program/src/state/mix_content_record.rs:140:66 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn assert_valid_rate_options(options: &[String], vote_type: &R) -> Result<(), ProgramError> { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceConfig` in this scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | config: &GovernanceConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_account_governance_address_seeds` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | get_account_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_account_tanistry_address_seeds` [INFO] [stdout] ... [INFO] [stdout] 212 | / pub fn get_account_tanistry_address_seeds<'a>( [INFO] [stdout] 213 | | realm: &'a Pubkey, [INFO] [stdout] 214 | | governed_account: &'a Pubkey, [INFO] [stdout] 215 | | ) -> [&'a [u8]; 3] { [INFO] [stdout] ... | [INFO] [stdout] 220 | | ] [INFO] [stdout] 221 | | } [INFO] [stdout] | |_- similarly named function `get_account_tanistry_address_seeds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_program_governance_address_seeds` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | get_program_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_program_tanistry_address_seeds` [INFO] [stdout] ... [INFO] [stdout] 135 | / pub fn get_program_tanistry_address_seeds<'a>( [INFO] [stdout] 136 | | bc_token: &'a Pubkey, [INFO] [stdout] 137 | | tanistry_program: &'a Pubkey, [INFO] [stdout] 138 | | ) -> [&'a [u8]; 3] { [INFO] [stdout] ... | [INFO] [stdout] 145 | | ] [INFO] [stdout] 146 | | } [INFO] [stdout] | |_- similarly named function `get_program_tanistry_address_seeds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mint_governance_address_seeds` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | get_mint_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_mint_tanistry_address_seeds` [INFO] [stdout] ... [INFO] [stdout] 162 | / pub fn get_mint_tanistry_address_seeds<'a>( [INFO] [stdout] 163 | | bc_token: &'a Pubkey, [INFO] [stdout] 164 | | tanistry_mint: &'a Pubkey, [INFO] [stdout] 165 | | ) -> [&'a [u8]; 3] { [INFO] [stdout] ... | [INFO] [stdout] 168 | | [b"mint-tanistry", bc_token.as_ref(), tanistry_mint.as_ref()] [INFO] [stdout] 169 | | } [INFO] [stdout] | |_- similarly named function `get_mint_tanistry_address_seeds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_token_governance_address_seeds` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | get_token_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_token_tanistry_address_seeds` [INFO] [stdout] ... [INFO] [stdout] 185 | / pub fn get_token_tanistry_address_seeds<'a>( [INFO] [stdout] 186 | | bc_token: &'a Pubkey, [INFO] [stdout] 187 | | tanistry_token: &'a Pubkey, [INFO] [stdout] 188 | | ) -> [&'a [u8]; 3] { [INFO] [stdout] ... | [INFO] [stdout] 195 | | ] [INFO] [stdout] 196 | | } [INFO] [stdout] | |_- similarly named function `get_token_tanistry_address_seeds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TanistryConfig` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | tanistry_config: &TanistryConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_is_valid_bc_token` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 259 | assert_is_valid_bc_token(program_id, bc_token_info)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/tools/src/account.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / pub fn assert_is_valid_account2( [INFO] [stdout] 237 | | account_info: &AccountInfo, [INFO] [stdout] 238 | | expected_account_types: &[T], [INFO] [stdout] 239 | | owner_program_id: &Pubkey, [INFO] [stdout] 240 | | ) -> Result<(), ProgramError> { [INFO] [stdout] | |_____________________________- similarly named function `assert_is_valid_account2` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 259 | assert_is_valid_account2(program_id, bc_token_info)?; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::bc_token::assert_is_valid_bc_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_is_valid_tanistry_config` in this scope [INFO] [stdout] --> program/src/state/tanistry.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 237 | / pub fn assert_is_valid_tanistry( [INFO] [stdout] 238 | | program_id: &Pubkey, [INFO] [stdout] 239 | | tanistry_info: &AccountInfo, [INFO] [stdout] 240 | | ) -> Result<(), ProgramError> { [INFO] [stdout] ... | [INFO] [stdout] 250 | | ) [INFO] [stdout] 251 | | } [INFO] [stdout] | |_- similarly named function `assert_is_valid_tanistry` defined here [INFO] [stdout] ... [INFO] [stdout] 261 | assert_is_valid_tanistry_config(tanistry_config)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `assert_is_valid_tanistry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BcToken`, `tools::bpf_loader_upgradeable::get_program_data_address` [INFO] [stdout] --> program/src/instruction.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | bc_token::{get_bc_token_address, get_bc_token_holding_address, BcToken}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | tools::bpf_loader_upgradeable::get_program_data_address, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bpf_loader_upgradeable` [INFO] [stdout] --> program/src/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | bpf_loader_upgradeable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_approve_kicker_coin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_bump_self_rate.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_buy_exceeded_rate_token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_candidate.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_crowning.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> program/src/processor/process_crowning.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// 0. `[signer]` The account of the person as Coordinator taking the Tanistry. [INFO] [stdout] 19 | | /// 1. `[writable]` The Coordinator's token account for send his input [INFO] [stdout] 20 | | /// 2. `[writable]` The Coordinator's token account for receive the NFT as Refund when he drop the game [INFO] [stdout] 21 | | /// 3. `[writable]` KickerCoin Owner Record(from Coordinator to Candidate as next Crown) [INFO] [stdout] ... | [INFO] [stdout] 25 | | /// 7. `[]` System program [INFO] [stdout] 26 | | /// 8. `[]` Sysvar Rent [INFO] [stdout] | |___________________________^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rent::Rent`, `sysvar::Sysvar` [INFO] [stdout] --> program/src/processor/process_deny_kicker_coin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | sysvar::Sysvar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_deny_kicker_coin.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rent::Rent`, `sysvar::Sysvar` [INFO] [stdout] --> program/src/processor/process_discard_bc_token.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | sysvar::Sysvar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_discard_bc_token.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> program/src/processor/process_discard_bc_token.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | / /// 0. `[writable]` bcToken account. PDA seeds:['bcToken', config] [INFO] [stdout] 15 | | /// 1. `[signer]` bcToken authority [INFO] [stdout] 16 | | /// 2. `[]` bcToken Mint [INFO] [stdout] 17 | | /// 3. `[signer]` Payer [INFO] [stdout] | |___________________________^ [INFO] [stdout] 18 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rent::Rent`, `sysvar::Sysvar` [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | sysvar::Sysvar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `rent::Rent`, `sysvar::Sysvar` [INFO] [stdout] --> program/src/processor/process_kick_to_coordinator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | sysvar::Sysvar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_kick_to_coordinator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> program/src/processor/process_kick_to_coordinator.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// 2. `[signer]` The account of the person as first kicker initializing the two BcToken into Tanistry Ring [INFO] [stdout] 22 | | /// 3. `[writable]` KickerCoin Owner Record PDA seeds: ['KickerCoinOwnerRecord', coordinator ] [INFO] [stdout] 23 | | /// 4. `[writable]` Coordinator's bcToken account to flag as received KickerCoin from first kicker [INFO] [stdout] 24 | | /// 5. `[]` Clock sysvar [INFO] [stdout] | |______________________________^ [INFO] [stdout] 25 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_mix_content.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_rate_other.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `next_account_info`, `rent::Rent`, `sysvar::Sysvar` [INFO] [stdout] --> program/src/processor/process_vote_for_cc.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | rent::Rent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 8 | sysvar::Sysvar, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_governance_tools::account::create_and_serialize_account_signed` [INFO] [stdout] --> program/src/processor/process_vote_for_cc.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use spl_governance_tools::account::create_and_serialize_account_signed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_approve_kicker_coin::*` [INFO] [stdout] --> program/src/processor/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use process_approve_kicker_coin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_bump_self_rate::*` [INFO] [stdout] --> program/src/processor/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use process_bump_self_rate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_buy_exceeded_rate_token::*` [INFO] [stdout] --> program/src/processor/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use process_buy_exceeded_rate_token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_candidate::*` [INFO] [stdout] --> program/src/processor/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use process_candidate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_create_bc_token::*` [INFO] [stdout] --> program/src/processor/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use process_create_bc_token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_crowning::*` [INFO] [stdout] --> program/src/processor/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use process_crowning::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_deny_kicker_coin::*` [INFO] [stdout] --> program/src/processor/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use process_deny_kicker_coin::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_discard_bc_token::*` [INFO] [stdout] --> program/src/processor/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use process_discard_bc_token::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_draft_blank_check::*` [INFO] [stdout] --> program/src/processor/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use process_draft_blank_check::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_kick_to_coordinator::*` [INFO] [stdout] --> program/src/processor/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use process_kick_to_coordinator::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_mix_content::*` [INFO] [stdout] --> program/src/processor/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use process_mix_content::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_rate_other::*` [INFO] [stdout] --> program/src/processor/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use process_rate_other::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process_vote_for_cc::*` [INFO] [stdout] --> program/src/processor/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use process_vote_for_cc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> program/src/state/bc_token.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | ///TODO: create get_bc_token_account_on_tanistry func on tanistry.rs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | // If the deposit is for the bcToken and the token same as on Tanistry using twice then panic [INFO] [stdout] 99 | / if self.get_bc_token_account_on_tanistry() && self.bc_token_mint == *bc_token_mint { [INFO] [stdout] 100 | | return Err(ShihonError::BcTokenDepositsNotAllowed.into()); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `next_account_info` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountMeta`, `Instruction`, `UnixTimestamp` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | clock::{Slot, UnixTimestamp}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | instruction::{AccountMeta, Instruction}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> program/src/state/mix_content_record.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::borsh::try_from_slice_unchecked` [INFO] [stdout] --> program/src/state/mix_content_record.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::borsh::try_from_slice_unchecked; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Slot`, `UnixTimestamp` [INFO] [stdout] --> program/src/state/mix_content_record.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use solana_program::clock::{Slot, UnixTimestamp}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_account_data` [INFO] [stdout] --> program/src/state/mix_content_record.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | use spl_governance_tools::account::{get_account_data, AccountMaxSize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `next_account_info` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | account_info::{next_account_info, AccountInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Slot` [INFO] [stdout] --> program/src/state/rate_other_record.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | clock::{Slot, UnixTimestamp}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_le_bytes` found for reference `&Pubkey` in the current scope [INFO] [stdout] --> program/src/instruction.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | &tanistry_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^ help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/instruction.rs:334:26 [INFO] [stdout] | [INFO] [stdout] 334 | AccountMeta::new(tanistry_index, false), [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `Pubkey`, found `&Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 334 | AccountMeta::new(*tanistry_index, false), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `coordinator` in initializer of `ShihonInstruction` [INFO] [stdout] --> program/src/instruction.rs:426:23 [INFO] [stdout] | [INFO] [stdout] 426 | let instruction = ShihonInstruction::Candidate { amount }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `coordinator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/instruction.rs:462:35 [INFO] [stdout] | [INFO] [stdout] 462 | AccountMeta::new_readonly(coordinator, false), [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Pubkey`, found `&Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 462 | AccountMeta::new_readonly(*coordinator, false), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ShihonInstruction::RateOtherContent` has no field named `amount` [INFO] [stdout] --> program/src/instruction.rs:469:61 [INFO] [stdout] | [INFO] [stdout] 469 | let instruction = ShihonInstruction::RateOtherContent { amount }; [INFO] [stdout] | ^^^^^^ `ShihonInstruction::RateOtherContent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/instruction.rs:504:35 [INFO] [stdout] | [INFO] [stdout] 504 | AccountMeta::new_readonly(coordinator, false), [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Pubkey`, found `&Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 504 | AccountMeta::new_readonly(*coordinator, false), [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0559]: variant `ShihonInstruction::RateOtherContent` has no field named `amount` [INFO] [stdout] --> program/src/instruction.rs:511:61 [INFO] [stdout] | [INFO] [stdout] 511 | let instruction = ShihonInstruction::RateOtherContent { amount }; [INFO] [stdout] | ^^^^^^ `ShihonInstruction::RateOtherContent` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rating` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/instruction.rs:593:65 [INFO] [stdout] | [INFO] [stdout] 593 | let instruction = ShihonInstruction::BuyExceededRateToken { token, amount }; [INFO] [stdout] | ^^^^^ expected struct `Pubkey`, found `&Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 593 | let instruction = ShihonInstruction::BuyExceededRateToken { token: *token, amount }; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/instruction.rs:626:53 [INFO] [stdout] | [INFO] [stdout] 626 | let instruction = ShihonInstruction::Crowning { crown }; [INFO] [stdout] | ^^^^^ expected struct `Pubkey`, found `&Pubkey` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 626 | let instruction = ShihonInstruction::Crowning { crown: *crown }; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> program/src/processor/process_approve_kicker_coin.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 14 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 21 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_bump_self_rate.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_bump_self_rate(program_id: &Pubkey, accounts: &[AccountInfo], amount: u64) -> ProgramResult { [INFO] [stdout] | ---------------------- ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_buy_exceeded_rate_token.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_buy_exceeded_rate_token( [INFO] [stdout] | ------------------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 18 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_candidate.rs:13:109 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_candidate(program_id: &Pubkey, accounts: &[AccountInfo],coordinator: Pubkey, amount: u64) -> ProgramResult { [INFO] [stdout] | ----------------- implicitly returns `()` as its body has no tail or `return` expression ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> program/src/processor/process_create_bc_token.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | create_and_serialize_account_signed::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 46 | payer_info, [INFO] [stdout] | ---------- [INFO] [stdout] 47 | bc_token_info, [INFO] [stdout] | ------------- [INFO] [stdout] 48 | / &get_proposal_instruction_address_seeds( [INFO] [stdout] 49 | | proposal_info.key, [INFO] [stdout] 50 | | &option_index.to_le_bytes(), [INFO] [stdout] 51 | | &instruction_index.to_le_bytes(), [INFO] [stdout] 52 | | ), [INFO] [stdout] | |_________- [INFO] [stdout] 53 | program_id, [INFO] [stdout] | ---------- [INFO] [stdout] 54 | system_info, [INFO] [stdout] | ----------- [INFO] [stdout] 55 | rent, [INFO] [stdout] | ---- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/tools/src/account.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn create_and_serialize_account_signed<'a, T: BorshSerialize + AccountMaxSize>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_crowning.rs:13:89 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_crowning(program_id: &Pubkey, accounts: &[AccountInfo],crown: Pubkey) -> ProgramResult { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_deny_kicker_coin.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_deny_kicker_coin(program_id: &Pubkey, accounts: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_discard_bc_token.rs:13:83 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_discard_bc_token(program_id: &Pubkey, accounts: &[AccountInfo]) -> ProgramResult { [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] ... [INFO] [stdout] 26 | assert_can_discard_bc_token()?; [INFO] [stdout] | - help: consider removing this semicolon [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> program/src/processor/process_draft_blank_check.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | create_and_serialize_account_signed::( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 33 | payer_info, [INFO] [stdout] | ---------- [INFO] [stdout] 34 | bc_data_info, [INFO] [stdout] | ------------ [INFO] [stdout] 35 | &get_program_governance_address_seeds(bc_data_info.key), [INFO] [stdout] | ------------------------------------------------------- [INFO] [stdout] 36 | program_id, [INFO] [stdout] | ---------- [INFO] [stdout] 37 | system_info, [INFO] [stdout] | ----------- [INFO] [stdout] 38 | rent, [INFO] [stdout] | ---- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/tools/src/account.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn create_and_serialize_account_signed<'a, T: BorshSerialize + AccountMaxSize>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_kick_to_coordinator.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_kick_to_coordinator(program_id: &Pubkey, accounts: &[AccountInfo],coordinator: Pubkey, amount: u64) -> ProgramResult { [INFO] [stdout] | --------------------------- implicitly returns `()` as its body has no tail or `return` expression ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/processor/process_mix_content.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn process_mix_content(program_id: &Pubkey, accounts: &[AccountInfo],time_shift_a: u64, [INFO] [stdout] | ------------------- implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 14 | time_shift_b: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> program/src/processor/process_rate_other.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 14 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 28 | let account_info_iter = &mut accounts.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_bc_token_account_on_tanistry` found for reference `&BcToken` in the current scope [INFO] [stdout] --> program/src/state/bc_token.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | if self.get_bc_token_account_on_tanistry() && self.bc_token_mint == *bc_token_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&BcToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governing_token_mint` on type `&CandidateLimitRecord` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | if self.governing_token_mint == realm_data.community_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `belonging_tanistry`, `number_of_candidate_count`, `candidate_token_mint`, `candidate_token_owner`, `candidate_token_deposit_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governing_token_mint` on type `&CandidateLimitRecord` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | } else if Some(self.governing_token_mint) == realm_data.config.council_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `belonging_tanistry`, `number_of_candidate_count`, `candidate_token_mint`, `candidate_token_owner`, `candidate_token_deposit_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidGoverningTokenMint` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:83:41 [INFO] [stdout] | [INFO] [stdout] 83 | return Err(ShihonError::InvalidGoverningTokenMint.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidGoverningTokenMint` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `outstanding_proposal_count` on type `&CandidateLimitRecord` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | if self.outstanding_proposal_count >= 10 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `belonging_tanistry`, `number_of_candidate_count`, `candidate_token_mint`, `candidate_token_owner`, `candidate_token_deposit_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governing_token_mint` on type `&CandidateLimitRecord` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | if self.governing_token_mint == realm_data.community_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `belonging_tanistry`, `number_of_candidate_count`, `candidate_token_mint`, `candidate_token_owner`, `candidate_token_deposit_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governing_token_mint` on type `&CandidateLimitRecord` [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 119 | } else if Some(self.governing_token_mint) == realm_data.config.council_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `belonging_tanistry`, `number_of_candidate_count`, `candidate_token_mint`, `candidate_token_owner`, `candidate_token_deposit_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidGoverningTokenMint` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/candidate_limit_record.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | return Err(ShihonError::InvalidGoverningTokenMint.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidGoverningTokenMint` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `VoteRecordV1` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/cc_vote_record.rs:98:59 [INFO] [stdout] | [INFO] [stdout] 98 | } else if self.account_type == ShihonAccountType::VoteRecordV1 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | help: there is a variant with a similar name: `CCVoteRecord` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `VoteRecordV1` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/state/cc_vote_record.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 100 | let vote_weight = match &self.vote { [INFO] [stdout] | ---------- this expression has type `&VoteSource` [INFO] [stdout] 101 | Vote::Pull(_options) => VoteWeightV1::Yes(self.voter_weight), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected enum `VoteSource`, found enum `Vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> program/src/state/cc_vote_record.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 40 | Push, [INFO] [stdout] | ---- unit variant defined here [INFO] [stdout] ... [INFO] [stdout] 100 | let vote_weight = match &self.vote { [INFO] [stdout] | ---------- this expression has type `&VoteSource` [INFO] [stdout] 101 | Vote::Pull(_options) => VoteWeightV1::Yes(self.voter_weight), [INFO] [stdout] 102 | Vote::Push => VoteWeightV1::No(self.voter_weight), [INFO] [stdout] | ^^^^^^^^^^ expected enum `VoteSource`, found enum `Vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `proposal` on type `CCVoteRecord` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | proposal: self.proposal, [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `governing_token_owner`, `counting_time`, `is_relinquished`, `voter_weight`, `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `vote_weight` on type `CCVoteRecord` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:132:62 [INFO] [stdout] | [INFO] [stdout] 132 | let (vote, voter_weight) = match vote_record_data_v1.vote_weight { [INFO] [stdout] | ^^^^^^^^^^^ help: a field with a similar name exists: `voter_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CCVoteChoice` has no field named `rank` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | rank: 0, [INFO] [stdout] | ^^^^ `CCVoteChoice` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `challenger_ring`, `target_ring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CCVoteChoice` has no field named `weight_percentage` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | weight_percentage: 100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `CCVoteChoice` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `challenger_ring`, `target_ring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CCVoteRecord` has no field named `proposal` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | proposal: vote_record_data_v1.proposal, [INFO] [stdout] | ^^^^^^^^ `CCVoteRecord` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `governing_token_owner`, `counting_time`, `is_relinquished`, `voter_weight`, `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `proposal` on type `CCVoteRecord` [INFO] [stdout] --> program/src/state/cc_vote_record.rs:145:43 [INFO] [stdout] | [INFO] [stdout] 145 | proposal: vote_record_data_v1.proposal, [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `governing_token_owner`, `counting_time`, `is_relinquished`, `voter_weight`, `vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&AccountInfo<'_>` [INFO] [stdout] --> program/src/state/kicker_coin_owner_record.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | if !kicker_coin_info == self.kicker_coin_holder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `community_mint` on type `&BcToken` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | == bc_token_data.community_mint [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `bc_token_owner_pubkey`, `amount_of_coin`, `issue_at`, `reserved` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `outside_buyer_mint` on type `BcTokenMetadata` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:86:79 [INFO] [stdout] | [INFO] [stdout] 86 | } else if Some(self.outside_buyer_token_mint) == bc_token_data.config.outside_buyer_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `content_type`, `updated_at`, `version`, `reserved` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidGoverningTokenMint` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | return Err(ShihonError::InvalidGoverningTokenMint.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidGoverningTokenMint` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `outstanding_proposal_count` on type `&OutsideBuyerRecord` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | if self.outstanding_proposal_count >= 10 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `tanistry`, `outside_buyer_token_mint`, `outside_buyer_token_owner`, `outside_buyer_token_deposit_amount`, `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `community_mint` on type `&BcToken` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:112:63 [INFO] [stdout] | [INFO] [stdout] 112 | if self.outside_buyer_token_mint == bc_token_data.community_mint { [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `bc_token_owner_pubkey`, `amount_of_coin`, `issue_at`, `reserved` ... and 5 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `min_community_tokens_to_create_governance` on type `BcTokenMetadata` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | .min_community_tokens_to_create_governance [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `content_type`, `updated_at`, `version`, `reserved` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `council_mint` on type `BcTokenMetadata` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | } else if Some(self.outside_buyer_token_mint) == bc_token_data.config.council_mint { [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `content_type`, `updated_at`, `version`, `reserved` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidGoverningTokenMint` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | return Err(ShihonError::InvalidGoverningTokenMint.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidGoverningTokenMint` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `unrelinquished_votes_count` on type `&OutsideBuyerRecord` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | if self.unrelinquished_votes_count > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `tanistry`, `outside_buyer_token_mint`, `outside_buyer_token_owner`, `outside_buyer_token_deposit_amount`, `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `outstanding_proposal_count` on type `&OutsideBuyerRecord` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | if self.outstanding_proposal_count > 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `tanistry`, `outside_buyer_token_mint`, `outside_buyer_token_owner`, `outside_buyer_token_deposit_amount`, `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidOutsideBuyerRecordAccountAddress` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:203:33 [INFO] [stdout] | [INFO] [stdout] 203 | return Err(ShihonError::InvalidOutsideBuyerRecordAccountAddress.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `ShihonError` [INFO] [stdout] | help: there is a variant with a similar name: `InvalidTokenOwnerRecordAccountAddress` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidOutsideBuyerRecordAccountAddress` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rater_pubkey` on type `OutsideBuyerRecord` [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | if outside_buyer_token_owner_record_data.rater_pubkey != *rater_pubkey { [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `tanistry`, `outside_buyer_token_mint`, `outside_buyer_token_owner`, `outside_buyer_token_deposit_amount`, `reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidRealmForOutsideBuyerRecord` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | return Err(ShihonError::InvalidRealmForOutsideBuyerRecord.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `ShihonError` [INFO] [stdout] | help: there is a variant with a similar name: `InvalidRealmForTokenOwnerRecord` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidRealmForOutsideBuyerRecord` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `InvalidGoverningMintForOutsideBuyerRecord` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/outside_buyer_record.rs:242:33 [INFO] [stdout] | [INFO] [stdout] 242 | return Err(ShihonError::InvalidGoverningMintForOutsideBuyerRecord.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `ShihonError` [INFO] [stdout] | help: there is a variant with a similar name: `InvalidGoverningMintForTokenOwnerRecord` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `InvalidGoverningMintForOutsideBuyerRecord` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `signed_off` on type `&RateOption` [INFO] [stdout] --> program/src/state/rate_option.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if self.signed_off { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `issuer_roydamna`, `mix_content_record`, `rate_other_record`, `number_of_issue` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryAlreadySignedOff` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_option.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | return Err(ShihonError::SignatoryAlreadySignedOff.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryAlreadySignedOff` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryMustSign` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_option.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | return Err(ShihonError::SignatoryMustSign.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryMustSign` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `signed_off` on type `&RateOption` [INFO] [stdout] --> program/src/state/rate_option.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | if self.signed_off { [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `issuer_roydamna`, `mix_content_record`, `rate_other_record`, `number_of_issue` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryAlreadySignedOff` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_option.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | return Err(ShihonError::SignatoryAlreadySignedOff.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryAlreadySignedOff` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `is_initialized` on type `&RateOtherRecord` [INFO] [stdout] --> program/src/state/rate_other_record.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | if self.is_initialized { [INFO] [stdout] | ^^^^^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 52 | if self.is_initialized() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryAlreadySignedOff` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_other_record.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | return Err(ShihonError::SignatoryAlreadySignedOff.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryAlreadySignedOff` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `rater_pubkey` on type `&AccountInfo<'_>` [INFO] [stdout] --> program/src/state/rate_other_record.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | if !rating_info.rater_pubkey { [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `key`, `is_signer`, `is_writable`, `lamports`, `data` ... and 3 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryMustSign` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_other_record.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | return Err(ShihonError::SignatoryMustSign.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryMustSign` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `is_initialized` on type `&RateOtherRecord` [INFO] [stdout] --> program/src/state/rate_other_record.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | if self.is_initialized { [INFO] [stdout] | ^^^^^^^^^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 65 | if self.is_initialized() { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `SignatoryAlreadySignedOff` found for enum `ShihonError` in the current scope [INFO] [stdout] --> program/src/state/rate_other_record.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | return Err(ShihonError::SignatoryAlreadySignedOff.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonError` [INFO] [stdout] | [INFO] [stdout] ::: program/src/error.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum ShihonError { [INFO] [stdout] | -------------------- variant or associated item `SignatoryAlreadySignedOff` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `AccountGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | ShihonAccountType::AccountGovernance => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `AccountGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ProgramGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | ShihonAccountType::ProgramGovernance => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `ProgramGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MintGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | ShihonAccountType::MintGovernance => { [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `MintGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TokenGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | ShihonAccountType::TokenGovernance => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `TokenGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `realm` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:55:60 [INFO] [stdout] | [INFO] [stdout] 55 | get_account_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governed_account` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:55:73 [INFO] [stdout] | [INFO] [stdout] 55 | get_account_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `realm` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | get_program_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governed_account` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:58:73 [INFO] [stdout] | [INFO] [stdout] 58 | get_program_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `realm` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:61:57 [INFO] [stdout] | [INFO] [stdout] 61 | get_mint_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governed_account` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:61:70 [INFO] [stdout] | [INFO] [stdout] 61 | get_mint_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `realm` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:64:58 [INFO] [stdout] | [INFO] [stdout] 64 | get_token_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `governed_account` on type `&Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:64:71 [INFO] [stdout] | [INFO] [stdout] 64 | get_token_governance_address_seeds(&self.realm, &self.governed_account) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `bc_token` on type `Tanistry` [INFO] [stdout] --> program/src/state/tanistry.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | if tanistry_data.bc_token != *bc_token { [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `account_type`, `next_tanistry_id`, `previous_tanistry_id`, `reserved`, `kicker_coin_owner_record`, `candidate_limit_record_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `AccountGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | ShihonAccountType::AccountGovernance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `AccountGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `ProgramGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:245:32 [INFO] [stdout] | [INFO] [stdout] 245 | ShihonAccountType::ProgramGovernance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `ProgramGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `TokenGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 246 | ShihonAccountType::TokenGovernance, [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `TokenGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MintGovernance` found for enum `ShihonAccountType` in the current scope [INFO] [stdout] --> program/src/state/tanistry.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | ShihonAccountType::MintGovernance, [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `ShihonAccountType` [INFO] [stdout] | [INFO] [stdout] ::: program/src/state/enums.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShihonAccountType { [INFO] [stdout] | -------------------------- variant or associated item `MintGovernance` not found here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borsh::maybestd::io::Write` [INFO] [stdout] --> program/src/state/mix_content_record.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use borsh::maybestd::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 146 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0412, E0422, E0425, E0433, E0559, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shihon` due to 147 previous errors; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a23ee2bd3372f599f5c93cec3c48da312a0fd2c59d3084b77871728c012aacb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23ee2bd3372f599f5c93cec3c48da312a0fd2c59d3084b77871728c012aacb2", kill_on_drop: false }` [INFO] [stdout] a23ee2bd3372f599f5c93cec3c48da312a0fd2c59d3084b77871728c012aacb2