[INFO] cloning repository https://github.com/mtdamir/Voting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtdamir/Voting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d7a303a78431ed3c75b72915588d1f5ce074356 [INFO] testing mtdamir/Voting against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtdamir/Voting on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mtdamir/Voting [INFO] finished tweaking git repo https://github.com/mtdamir/Voting [INFO] tweaked toml for git repo https://github.com/mtdamir/Voting written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/mtdamir/Voting already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.9.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.9.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.9.0 [INFO] [stderr] Downloaded solana-logger v1.9.0 [INFO] [stderr] Downloaded solana-program v1.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1218015022a752e2ab12ec6c7c4ab4f55aebea51c32f22838da32fb49c1b1d7 [INFO] running `Command { std: "docker" "start" "-a" "e1218015022a752e2ab12ec6c7c4ab4f55aebea51c32f22838da32fb49c1b1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1218015022a752e2ab12ec6c7c4ab4f55aebea51c32f22838da32fb49c1b1d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1218015022a752e2ab12ec6c7c4ab4f55aebea51c32f22838da32fb49c1b1d7", kill_on_drop: false }` [INFO] [stdout] e1218015022a752e2ab12ec6c7c4ab4f55aebea51c32f22838da32fb49c1b1d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6817029a8495397890201e7dc80c0d7a787377cea643b5d72ae101be3ef699b6 [INFO] running `Command { std: "docker" "start" "-a" "6817029a8495397890201e7dc80c0d7a787377cea643b5d72ae101be3ef699b6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling blake3 v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling memmap2 v0.5.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.0 [INFO] [stderr] Compiling solana-frozen-abi v1.9.0 [INFO] [stderr] Compiling solana-program v1.9.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling solana-logger v1.9.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.9.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.18.2 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling Voting v0.1.0 (/opt/rustwide/workdir/programs/Voting) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> programs/Voting/src/error.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 37 | impl From for ProgramError { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 38 | fn from(e: VotingError) -> Self { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] 39 | Self::Custom(e as u32) [INFO] [stdout] 40 | [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, msg, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/processor.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, msg, pubkey::Pubkey}; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use borsh::BorshSerialize; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::program_error::ProgramError; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> programs/Voting/src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ help: a similar path exists: `crate::thiserror` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> programs/Voting/src/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/state/party.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/state/party.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::borsh` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `entrypoint` [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> programs/Voting/src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Error, Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("invalid Instruction")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[error("illegal voting owner")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[error("illegal voter")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[error("illegal voting state")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[error("the vote is over")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[error("the voter is not eligible for voting")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[error("the voter already voted for the selected party")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[error("no positive votes left")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[error("no negative votes left")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[error("positive votes have to be spent before the negative ones")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] anchor_lang::error [INFO] [stdout] crate::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> programs/Voting/src/instruction.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> programs/Voting/src/instruction.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/instruction.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | msg!(&error.to_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | msg!("Party account created."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | msg!("Party account initialized."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | msg!("VoterVotes account created."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | msg!("VoterVotes account initialized."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | msg!("VotingState initialized."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | msg!("VoterVoted account created."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | msg!("Voted."); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | msg!("Instruction: InitVoting"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | msg!("Instruction: AddVoter"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | msg!("Instruction: AddParty"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> programs/Voting/src/processor.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | msg!("Instruction: Vote"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> programs/Voting/src/state/party.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> programs/Voting/src/state/party.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `create` [INFO] [stdout] --> programs/Voting/src/instruction.rs:40:68 [INFO] [stdout] | [INFO] [stdout] 40 | Pubkey::create_with_seed(voting_owner_pubkey, "voting_state", &create::id()) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> programs/Voting/src/instruction.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | Instruction::new_with_borsh(crate::id(), &VotingInstruction::InitVoting, account_metas) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> programs/Voting/src/instruction.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | let ix = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> programs/Voting/src/instruction.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | let ix = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instruction` [INFO] [stdout] --> programs/Voting/src/instruction.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let ix = Instruction::new_with_borsh( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Instruction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Err(ProgramError::MissingRequiredSignature)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(ProgramError::AccountAlreadyInitialized)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Err(ProgramError::MissingRequiredSignature)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Err(ProgramError::IllegalOwner)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | Err(ProgramError::AccountAlreadyInitialized)? [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | Err(ProgramError::MissingRequiredSignature)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Err(ProgramError::AccountAlreadyInitialized)? [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Err(ProgramError::MissingRequiredSignature)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(ProgramError::IllegalOwner)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Err(ProgramError::UninitializedAccount)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/entrypoint.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> programs/Voting/src/error.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | impl From for ProgramError { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramError; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | voter_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramError` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:31:49 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn unpack(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::ProgramError; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:39:46 [INFO] [stdout] | [INFO] [stdout] 39 | fn voting_state_pubkey(voting_owner_pubkey: &Pubkey) -> Pubkey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:39:57 [INFO] [stdout] | [INFO] [stdout] 39 | fn voting_state_pubkey(voting_owner_pubkey: &Pubkey) -> Pubkey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> programs/Voting/src/instruction.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Pubkey::create_with_seed(voting_owner_pubkey, "voting_state", &create::id()) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn init_voting(voting_owner_pubkey: &Pubkey) -> Instructions { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instructions` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn init_voting(voting_owner_pubkey: &Pubkey) -> Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Instructions; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Instructions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | AccountMeta::new(*voting_owner_pubkey, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | AccountMeta::new(voting_state_pubkey(voting_owner_pubkey), false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_voter(voting_owner_pubkey: &Pubkey, voter_pubkey: &Pubkey) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:53:63 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_voter(voting_owner_pubkey: &Pubkey, voter_pubkey: &Pubkey) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:53:75 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_voter(voting_owner_pubkey: &Pubkey, voter_pubkey: &Pubkey) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:53:88 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn add_voter(voting_owner_pubkey: &Pubkey, voter_pubkey: &Pubkey) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> programs/Voting/src/instruction.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | Pubkey::find_program_address(seeds, &crate::id()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | AccountMeta::new(*voting_owner_pubkey, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | AccountMeta::new_readonly(voting_state_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | AccountMeta::new(voter_votes_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | AccountMeta::new_readonly(system_program::id(), false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | fee_payer: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | voting_state_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> (Instruction, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> programs/Voting/src/instruction.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | let (party_pubkey, party_bump_seed) = Pubkey::find_program_address(seeds, &crate::id()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | AccountMeta::new(*fee_payer, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | AccountMeta::new(party_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | AccountMeta::new(*voting_state_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | AccountMeta::new_readonly(system_program::id(), false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | voter_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | voting_state_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | party_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Instruction` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> (Instruction, Pubkey, Pubkey) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> (Instruction, Pubkey, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> (Instruction, Pubkey, Pubkey) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> programs/Voting/src/instruction.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let voter_votes_pubkey = Pubkey::find_program_address(seeds, &crate::id()).0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey` [INFO] [stdout] --> programs/Voting/src/instruction.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Pubkey::find_program_address(seeds, &crate::id()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | AccountMeta::new(*voter_pubkey, true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | AccountMeta::new_readonly(*voting_state_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | AccountMeta::new(voter_voted_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | AccountMeta::new(voter_votes_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | AccountMeta::new(*party_pubkey, false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AccountMeta` [INFO] [stdout] --> programs/Voting/src/instruction.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | AccountMeta::new_readonly(system_program::id(), false), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::prelude::AccountMeta; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::AccountMeta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | let fee_payer_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let party_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let voting_state_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | if voting_state.deadline < Clock::get()?.unix_timestamp { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Clock; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Rent::get()?.minimum_balance(party_size), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Rent; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | invoke_signed(&create_party_account_ix, accounts, &[signers_seeds])?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | voter_pubkey: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let voting_owner_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let voting_state_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let voter_votes_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Rent::get()?.minimum_balance(voter_votes_size), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Rent; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | invoke_signed(&create_voter_votes_account_ix, accounts, &[signers_seeds])?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn process(accounts: &[AccountInfo], _program_id: &Pubkey) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:12:56 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn process(accounts: &[AccountInfo], _program_id: &Pubkey) -> ProgramResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:12:67 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn process(accounts: &[AccountInfo], _program_id: &Pubkey) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | let voting_owner_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | let voting_state_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | deadline: Clock::get()?.unix_timestamp + 7 * 86_400, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Clock; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | let voter_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | let voting_state_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Clock` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | if voting_state.deadline < Clock::get()?.unix_timestamp { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Clock; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Clock; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:44:31 [INFO] [stdout] | [INFO] [stdout] 44 | let voter_voted_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let voter_votes_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let party_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::next_account_info; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | Rent::get()?.minimum_balance(voter_voted_size), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Rent; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | invoke_signed(&create_voter_voted_account_ix, accounts, &[signers_seeds])?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/processor.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | program_id: &Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> programs/Voting/src/processor.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | accounts: &[AccountInfo], [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::AccountInfo; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::AccountInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> programs/Voting/src/processor.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::ProgramResult; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ProgramResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub voting_owner: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub voter_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub voting_state_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/party.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | pub voting_state_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub voter_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub voting_state_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::Pubkey; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `try_from_slice` found for enum `VotingInstruction` in the current scope [INFO] [stdout] --> programs/Voting/src/instruction.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum VotingInstruction { [INFO] [stdout] | -------------------------- variant or associated item `try_from_slice` not found here [INFO] [stdout] ... [INFO] [stdout] 32 | Self::try_from_slice(input).map_err(|error| { [INFO] [stdout] | ^^^^^^^^^^^^^^ variant or associated item not found in `VotingInstruction` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `VotingState` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | let mut voting_state = VotingState::try_from_slice(&voting_state_account_data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `VotingState` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voting_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VotingState { [INFO] [stdout] | ---------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for struct `Party` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/add_party.rs:62:42 [INFO] [stdout] | [INFO] [stdout] 62 | let new_party_serialized = new_party.try_to_vec()?; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Party` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/party.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Party { [INFO] [stdout] | ---------------- method `try_to_vec` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_to_vec`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `VotingState` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | let voting_state = VotingState::try_from_slice(&voting_state_data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `VotingState` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voting_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VotingState { [INFO] [stdout] | ---------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `VoterVotes` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/add_voter.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | new_voter_votes.serialize(&mut *voter_votes_account.try_borrow_mut_data()?)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `VoterVotes` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voter_votes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VoterVotes { [INFO] [stdout] | --------------------- method `serialize` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `serde::ser::Serialize` [INFO] [stdout] candidate #4: `serde_bytes::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `VotingState` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/init_voting.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | voting_state.serialize(&mut *voting_state_account.try_borrow_mut_data()?)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `VotingState` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voting_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VotingState { [INFO] [stdout] | ---------------------- method `serialize` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `serde::ser::Serialize` [INFO] [stdout] candidate #4: `serde_bytes::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `VotingState` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | let voting_state = VotingState::try_from_slice(&voting_state_account_data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `VotingState` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voting_state.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VotingState { [INFO] [stdout] | ---------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `VoterVotes` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | let mut voter_votes = VoterVotes::try_from_slice(&voter_votes_account_data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `VoterVotes` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voter_votes.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VoterVotes { [INFO] [stdout] | --------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `Party` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let mut party = Party::try_from_slice(&party_account_data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Party` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/party.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Party { [INFO] [stdout] | ---------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_from_slice`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorDeserialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `VoterVoted` in the current scope [INFO] [stdout] --> programs/Voting/src/processor/vote.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | voter_voted.serialize(&mut *voter_voted_account.try_borrow_mut_data()?)?; [INFO] [stdout] | ^^^^^^^^^ method not found in `VoterVoted` [INFO] [stdout] | [INFO] [stdout] ::: programs/Voting/src/state/voter_voted.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VoterVoted { [INFO] [stdout] | --------------------- method `serialize` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `serde::ser::Serialize` [INFO] [stdout] candidate #4: `serde_bytes::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for struct `VotingState` in the current scope [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VotingState { [INFO] [stdout] | ---------------------- method `try_to_vec` not found for this [INFO] [stdout] ... [INFO] [stdout] 15 | .try_to_vec() [INFO] [stdout] | ^^^^^^^^^^ method not found in `VotingState` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_to_vec`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for struct `VoterVotes` in the current scope [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VoterVotes { [INFO] [stdout] | --------------------- method `try_to_vec` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | .try_to_vec() [INFO] [stdout] | ^^^^^^^^^^ method not found in `VoterVotes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_to_vec`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for struct `Party` in the current scope [INFO] [stdout] --> programs/Voting/src/state/party.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Party { [INFO] [stdout] | ---------------- method `try_to_vec` not found for this [INFO] [stdout] ... [INFO] [stdout] 16 | .try_to_vec() [INFO] [stdout] | ^^^^^^^^^^ method not found in `Party` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_to_vec`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_to_vec` found for struct `VoterVoted` in the current scope [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VoterVoted { [INFO] [stdout] | --------------------- method `try_to_vec` not found for this [INFO] [stdout] ... [INFO] [stdout] 14 | .try_to_vec() [INFO] [stdout] | ^^^^^^^^^^ method not found in `VoterVoted` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_to_vec`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `AnchorSerialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> programs/Voting/src/state/voting_state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | pub voting_owner: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> programs/Voting/src/state/voter_votes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 9 | pub voter_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> programs/Voting/src/state/party.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | pub voting_state_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> programs/Voting/src/state/voter_voted.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 7 | pub voter_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 186 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Voting` due to 187 previous errors [INFO] running `Command { std: "docker" "inspect" "6817029a8495397890201e7dc80c0d7a787377cea643b5d72ae101be3ef699b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6817029a8495397890201e7dc80c0d7a787377cea643b5d72ae101be3ef699b6", kill_on_drop: false }` [INFO] [stdout] 6817029a8495397890201e7dc80c0d7a787377cea643b5d72ae101be3ef699b6