[INFO] cloning repository https://github.com/asktree/drift-vote-plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asktree/drift-vote-plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasktree%2Fdrift-vote-plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasktree%2Fdrift-vote-plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87ddacc2cd1c8a205f335d9d5653d9e2e2d7fa18 [INFO] checking asktree/drift-vote-plugin against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasktree%2Fdrift-vote-plugin" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asktree/drift-vote-plugin on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asktree/drift-vote-plugin [INFO] finished tweaking git repo https://github.com/asktree/drift-vote-plugin [INFO] tweaked toml for git repo https://github.com/asktree/drift-vote-plugin written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/asktree/drift-vote-plugin already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating git repository `https://github.com/drift-labs/protocol-v2.git` [INFO] [stderr] Updating git submodule `https://github.com/project-serum/serum-dex.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/drift-labs/phoenix-v1` [INFO] [stderr] Updating git repository `https://github.com/project-serum/serum-dex` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-measure v1.14.16 [INFO] [stderr] Downloaded spl-governance-addin-api v0.1.3 [INFO] [stderr] Downloaded solana-vote-program v1.14.16 [INFO] [stderr] Downloaded solana-zk-token-proof-program v1.14.16 [INFO] [stderr] Downloaded solana-program-test v1.14.16 [INFO] [stderr] Downloaded spl-governance-tools v0.1.3 [INFO] [stderr] Downloaded solana-banks-interface v1.14.16 [INFO] [stderr] Downloaded solana-metrics v1.14.16 [INFO] [stderr] Downloaded unsize v1.1.0 [INFO] [stderr] Downloaded pyth-client v0.2.2 [INFO] [stderr] Downloaded spl-governance v3.1.1 [INFO] [stderr] Downloaded without-alloc v0.2.2 [INFO] [stderr] Downloaded solana-clap-utils v1.14.16 [INFO] [stderr] Downloaded solana-runtime v1.14.16 [INFO] [stderr] Downloaded solana-faucet v1.14.16 [INFO] [stderr] Downloaded solana-net-utils v1.14.16 [INFO] [stderr] Downloaded solana-perf v1.14.16 [INFO] [stderr] Downloaded solana-streamer v1.14.16 [INFO] [stderr] Downloaded solana-transaction-status v1.14.16 [INFO] [stderr] Downloaded solana-bpf-loader-program v1.14.16 [INFO] [stderr] Downloaded solana-account-decoder v1.14.16 [INFO] [stderr] Downloaded solana-program-runtime v1.14.16 [INFO] [stderr] Downloaded solana-version v1.14.16 [INFO] [stderr] Downloaded solana-address-lookup-table-program v1.14.16 [INFO] [stderr] Downloaded solana-compute-budget-program v1.14.16 [INFO] [stderr] Downloaded solana-rayon-threadlimit v1.14.16 [INFO] [stderr] Downloaded solana-config-program v1.14.16 [INFO] [stderr] Downloaded solana-send-transaction-service v1.14.16 [INFO] [stderr] Downloaded solana-bucket-map v1.14.16 [INFO] [stderr] Downloaded solana-cli-config v1.14.16 [INFO] [stderr] Downloaded solana-banks-server v1.14.16 [INFO] [stderr] Downloaded solana-client v1.14.16 [INFO] [stderr] Downloaded solana-stake-program v1.14.16 [INFO] [stderr] Downloaded solana-banks-client v1.14.16 [INFO] [stderr] Downloaded solana-remote-wallet v1.14.16 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.14.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 585aac9a2b0325bcaec762f7e1a73eecebd6ff5f5e8badad4fccb59bd02148d2 [INFO] running `Command { std: "docker" "start" "-a" "585aac9a2b0325bcaec762f7e1a73eecebd6ff5f5e8badad4fccb59bd02148d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "585aac9a2b0325bcaec762f7e1a73eecebd6ff5f5e8badad4fccb59bd02148d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585aac9a2b0325bcaec762f7e1a73eecebd6ff5f5e8badad4fccb59bd02148d2", kill_on_drop: false }` [INFO] [stdout] 585aac9a2b0325bcaec762f7e1a73eecebd6ff5f5e8badad4fccb59bd02148d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15493bc702e1ec9745b87cd7cf34f48da2f4f20e226babb2b4554faadb0e948f [INFO] running `Command { std: "docker" "start" "-a" "15493bc702e1ec9745b87cd7cf34f48da2f4f20e226babb2b4554faadb0e948f", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.14.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling solana-frozen-abi v1.14.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling tokio v1.14.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling solana-sdk v1.14.16 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Compiling solana-program-runtime v1.14.16 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking eager v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling solana-program v1.14.16 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Compiling solana-vote-program v1.14.16 [INFO] [stderr] Checking solana-logger v1.14.16 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking solana-rayon-threadlimit v1.14.16 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling solana-perf v1.14.16 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling solana-address-lookup-table-program v1.14.16 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.14.16 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.13.0 [INFO] [stderr] Compiling enum-iterator-derive v0.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling solana-version v1.14.16 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Checking enum-iterator v0.8.1 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling lz4-sys v1.9.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling modular-bitfield-impl v0.11.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling solana-stake-program v1.14.16 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking quinn-proto v0.8.4 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking rcgen v0.9.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling ouroboros_macro v0.15.6 [INFO] [stderr] Checking x509-parser v0.14.0 [INFO] [stderr] Checking tracing-opentelemetry v0.17.4 [INFO] [stderr] Checking percentage v0.1.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking modular-bitfield v0.11.2 [INFO] [stderr] Compiling solana-runtime v1.14.16 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking histogram v0.6.9 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking quinn-udp v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes-gcm-siv v0.10.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Compiling anchor-syn v0.27.0 [INFO] [stderr] Checking rpassword v6.0.1 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling shank_macro_impl v0.0.12 [INFO] [stderr] Checking ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking quinn v0.8.5 [INFO] [stderr] Compiling shank_render v0.0.1 [INFO] [stderr] Checking tarpc v0.29.0 [INFO] [stderr] Checking tokio-tungstenite v0.17.2 [INFO] [stderr] Checking ouroboros v0.15.6 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking dir-diff v0.3.3 [INFO] [stderr] Checking tokio-stream v0.1.12 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling anchor-derive-space v0.27.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling shank_macro v0.0.12 [INFO] [stderr] Checking lru v0.7.8 [INFO] [stderr] Checking symlink v0.1.0 [INFO] [stderr] Checking index_list v0.2.11 [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking without-alloc v0.2.2 [INFO] [stderr] Checking goblin v0.5.4 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking lib-sokoban v0.3.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking num_enum v0.5.9 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking solana-security-txt v1.1.0 [INFO] [stderr] Checking safe-transmute v0.11.2 [INFO] [stderr] Checking pyth-client v0.2.2 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking shank v0.0.12 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Compiling anchor-attribute-event v0.27.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.27.0 [INFO] [stderr] Compiling anchor-attribute-error v0.27.0 [INFO] [stderr] Compiling anchor-attribute-program v0.27.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.27.0 [INFO] [stderr] Compiling anchor-attribute-account v0.27.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.27.0 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking hyper-rustls v0.23.2 [INFO] [stderr] Checking reqwest v0.11.17 [INFO] [stderr] Checking solana_rbpf v0.2.31 [INFO] [stderr] Checking lz4 v1.24.0 [INFO] [stderr] Checking spl-token v3.5.0 [INFO] [stderr] Checking spl-memo v3.0.1 [INFO] [stderr] Checking anchor-lang v0.27.0 [INFO] [stderr] Checking spl-governance-tools v0.1.3 [INFO] [stderr] Checking serum_dex v0.5.6 (https://github.com/project-serum/serum-dex?rev=85b4f14#85b4f149) [INFO] [stderr] Checking spl-governance-addin-api v0.1.3 [INFO] [stderr] Checking spl-governance v3.1.1 [INFO] [stderr] Checking solana-measure v1.14.16 [INFO] [stderr] Checking solana-metrics v1.14.16 [INFO] [stderr] Checking solana-zk-token-sdk v1.14.16 [INFO] [stderr] Checking solana-remote-wallet v1.14.16 [INFO] [stderr] Checking solana-banks-interface v1.14.16 [INFO] [stderr] Checking solana-bucket-map v1.14.16 [INFO] [stderr] Checking solana-net-utils v1.14.16 [INFO] [stderr] Checking solana-banks-client v1.14.16 [INFO] [stderr] Compiling ellipsis-macros v0.1.1 [INFO] [stderr] Checking solana-config-program v1.14.16 [INFO] [stderr] Checking solana-compute-budget-program v1.14.16 [INFO] [stderr] Checking spl-token-2022 v0.5.0 [INFO] [stderr] Checking solana-zk-token-proof-program v1.14.16 [INFO] [stderr] Checking solana-bpf-loader-program v1.14.16 [INFO] [stderr] Checking solana-clap-utils v1.14.16 [INFO] [stderr] Checking solana-streamer v1.14.16 [INFO] [stderr] Checking spl-associated-token-account v1.1.2 [INFO] [stderr] Checking solana-account-decoder v1.14.16 [INFO] [stderr] Checking phoenix-v1 v0.2.4 (https://github.com/drift-labs/phoenix-v1?rev=4c65c9#4c65c97c) [INFO] [stderr] Checking anchor-spl v0.27.0 [INFO] [stderr] Checking solana-cli-config v1.14.16 [INFO] [stderr] Checking solana-faucet v1.14.16 [INFO] [stderr] Checking drift v2.40.0 (https://github.com/drift-labs/protocol-v2.git?rev=65a4386#65a4386b) [INFO] [stderr] Checking solana-transaction-status v1.14.16 [INFO] [stderr] Checking solana-client v1.14.16 [INFO] [stderr] Checking solana-send-transaction-service v1.14.16 [INFO] [stderr] Checking solana-banks-server v1.14.16 [INFO] [stderr] Checking solana-program-test v1.14.16 [INFO] [stderr] Checking drift-stake-voter v0.0.1 (/opt/rustwide/workdir/programs/drift-stake-voter) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/configure_voter_weights.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/configure_voter_weights.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::state::CollectionItemChangeType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/create_registrar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/update_voter_weight_record.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::{error::RealmVoterError, state::CollectionItemChangeType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/configure_governance_program.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gpl_realm_voter::{error::RealmVoterError, state::CollectionItemChangeType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gpl_realm_voter::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use gpl_realm_voter::error::RealmVoterError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gpl_realm_voter::state::max_voter_weight_record::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `spl_governance::state::enums::MintMaxVoteWeightSource`, `spl_governance::state::enums::VoteThresholdPercentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | GovernanceAccountType, MintMaxVoteWeightSource, ProposalState, VoteThresholdPercentage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `VoteThresholdPercentage` in `state::enums` [INFO] [stdout] | | [INFO] [stdout] | no `MintMaxVoteWeightSource` in `state::enums` [INFO] [stdout] | help: a similar name exists in the module: `MintMaxVoterWeightSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:356:14 [INFO] [stdout] | [INFO] [stdout] 356 | &gpl_realm_voter::instruction::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:362:24 [INFO] [stdout] | [INFO] [stdout] 362 | let accounts = gpl_realm_voter::accounts::ConfigureVoterWeights { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:413:14 [INFO] [stdout] | [INFO] [stdout] 413 | &gpl_realm_voter::instruction::ConfigureGovernanceProgram { change_type }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:416:24 [INFO] [stdout] | [INFO] [stdout] 416 | let accounts = gpl_realm_voter::accounts::ConfigureGovernanceProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub account: Registrar, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub account: VoterWeightRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | pub program_config: GovernanceProgramConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_registrar_address` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | get_registrar_address(&realm_cookie.address, &realm_cookie.account.community_mint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::get_registrar_address; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:120:49 [INFO] [stdout] | [INFO] [stdout] 120 | anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 120 - anchor_lang::InstructionData::data(&gpl_realm_voter::instruction::CreateRegistrar { [INFO] [stdout] 120 + anchor_lang::InstructionData::data(&instruction::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - &gpl_realm_voter::accounts::CreateRegistrar { [INFO] [stdout] 125 + &accounts::CreateRegistrar { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let account = Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 200 - &gpl_realm_voter::instruction::CreateVoterWeightRecord { [INFO] [stdout] 200 + &instruction::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 205 - let accounts = gpl_realm_voter::accounts::CreateVoterWeightRecord { [INFO] [stdout] 205 + let accounts = accounts::CreateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let account = VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 262 - &gpl_realm_voter::instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] 262 + &instruction::CreateMaxVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:265:24 [INFO] [stdout] | [INFO] [stdout] 265 | let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 265 - let accounts = gpl_realm_voter::accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] 265 + let accounts = accounts::CreateMaxVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:306:14 [INFO] [stdout] | [INFO] [stdout] 306 | &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::instruction; [INFO] [stdout] | [INFO] [stdout] help: if you import `instruction`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - &gpl_realm_voter::instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] 306 + &instruction::UpdateVoterWeightRecord {}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::accounts; [INFO] [stdout] | [INFO] [stdout] help: if you import `accounts`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let accounts = gpl_realm_voter::accounts::UpdateVoterWeightRecord { [INFO] [stdout] 309 + let accounts = accounts::UpdateVoterWeightRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollectionItemChangeType` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | change_type: CollectionItemChangeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::CollectionItemChangeType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GovernanceProgramConfig` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct GovernanceProgramCookie { [INFO] [stdout] | ---------------------------------- similarly named struct `GovernanceProgramCookie` defined here [INFO] [stdout] ... [INFO] [stdout] 438 | let governance_program_config = GovernanceProgramConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `GovernanceProgramCookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:449:74 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn get_registrar_account(&mut self, registrar: &Pubkey) -> Registrar { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Registrar` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | self.bench.get_anchor_account::(*registrar).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::Registrar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VoterWeightRecord` in this scope [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:464:82 [INFO] [stdout] | [INFO] [stdout] 464 | pub async fn get_voter_weight_record(&self, voter_weight_record: &Pubkey) -> VoterWeightRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use drift_stake_voter::state::VoterWeightRecord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | let create_realm_ix = create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | self.community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: expected `Option`, found `Option` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | self.max_community_voter_weight_addin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:541:8 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn create_realm( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `community_mint_max_vote_weight_source` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_vote_weight_source, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 128 | community_mint_max_voter_weight_source, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | use_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmConfig` has no field named `use_max_community_voter_weight_addin` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | use_max_community_voter_weight_addin: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1`, `legacy2`, `community_mint_max_voter_weight_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::realm::RealmV2` has no field named `voting_proposal_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | voting_proposal_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::realm::RealmV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `legacy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | vote_threshold_percentage: VoteThresholdPercentage::YesVote(60), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `max_voting_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | max_voting_time: 600, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `vote_tipping` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | vote_tipping: VoteTipping::Disabled, [INFO] [stdout] | ^^^^^^^^^^^^ `GovernanceConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `community_vote_threshold`, `voting_base_time`, `community_vote_tipping`, `council_vote_threshold`, `council_veto_vote_threshold` ... and 4 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `GovernanceConfig` has no field named `proposal_cool_off_time` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | proposal_cool_off_time: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 216 | voting_cool_off_time: 0, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 231 | let proposal_key = get_proposal_address( [INFO] [stdout] | -------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 235 | &proposal_index.to_le_bytes(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Pubkey`, found `&[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Pubkey` [INFO] [stdout] found reference `&[u8; 4]` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/state/proposal.rs:1152:8 [INFO] [stdout] | [INFO] [stdout] 1152 | pub fn get_proposal_address<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 238 | let create_proposal_ix = create_proposal( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 252 | 0_u32, [INFO] [stdout] | ^^^^^ expected `&Pubkey`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 913 | pub fn create_proposal( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:279:31 [INFO] [stdout] | [INFO] [stdout] 279 | veto_vote_weight: None, [INFO] [stdout] | ^^^^ expected `u64`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::proposal::ProposalV2` has no field named `vote_threshold_percentage` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | vote_threshold_percentage: None, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `spl_governance::state::proposal::ProposalV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `reserved1`, `vote_threshold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `spl_governance::state::token_owner_record::TokenOwnerRecordV2` has no field named `total_votes_count` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | total_votes_count: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `spl_governance::state::token_owner_record::TokenOwnerRecordV2` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | reserved: [0; 7], [INFO] [stdout] | ^^^^^^ expected an array with a fixed size of 6 elements, found one with 7 elements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/governance_test.rs:356:34 [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | Some(token_owner_record_cookie.account.governing_token_owner), [INFO] [stdout] | ------------------------------------------------------------- an argument of type `&Pubkey` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spl-governance-3.1.1/src/instruction.rs:1156:8 [INFO] [stdout] | [INFO] [stdout] 1156 | pub fn relinquish_vote( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 356 | let relinquish_vote_ix = relinquish_vote(&self.program_id, &proposal_cookie.account.governance, &proposal_cookie.address, &token_owner_record_cookie.address, &proposal_cookie.account.governing_token_mint, /* &Pubkey */, Some(self.bench.payer.pubkey()), Some(token_owner_record_cookie.account.governing_token_owner)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/program_test_bench.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / context [INFO] [stdout] 85 | | .banks_client [INFO] [stdout] 86 | | .process_transaction_with_commitment( [INFO] [stdout] 87 | | transaction, [INFO] [stdout] 88 | | solana_sdk::commitment_config::CommitmentLevel::Processed, [INFO] [stdout] 89 | | ) [INFO] [stdout] 90 | | .await [INFO] [stdout] | |__________________^ expected `Result<(), TransportError>`, found `Result<(), BanksClientError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, TransportError>` [INFO] [stdout] found enum `Result<_, BanksClientError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/configure_governance_program.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | .with_governance_program(Some(gpl_realm_voter::id())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | let program_id = gpl_realm_voter::id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | &gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 273 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:318:25 [INFO] [stdout] | [INFO] [stdout] 318 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:424:25 [INFO] [stdout] | [INFO] [stdout] 424 | program_id: gpl_realm_voter::id(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] --> programs/drift-stake-voter/tests/program_test/realm_voter_test.rs:62:53 [INFO] [stdout] | [INFO] [stdout] 62 | program_test.add_program("gpl_realm_voter", gpl_realm_voter::id(), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `gpl_realm_voter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drift-stake-voter` (test "configure_governance_program") due to 57 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `drift-stake-voter` (test "create_voter_weight_record") due to 55 previous errors [INFO] [stderr] error: could not compile `drift-stake-voter` (test "update_voter_weight_record") due to 56 previous errors [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drift-stake-voter` (test "create_max_voter_weight_record") due to 55 previous errors [INFO] [stderr] error: could not compile `drift-stake-voter` (test "create_registrar") due to 56 previous errors [INFO] [stdout] error: aborting due to 56 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0412, E0422, E0425, E0432, E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drift-stake-voter` (test "configure_voter_weights") due to 57 previous errors [INFO] running `Command { std: "docker" "inspect" "15493bc702e1ec9745b87cd7cf34f48da2f4f20e226babb2b4554faadb0e948f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15493bc702e1ec9745b87cd7cf34f48da2f4f20e226babb2b4554faadb0e948f", kill_on_drop: false }` [INFO] [stdout] 15493bc702e1ec9745b87cd7cf34f48da2f4f20e226babb2b4554faadb0e948f [INFO] checking asktree/drift-vote-plugin against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasktree%2Fdrift-vote-plugin" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asktree/drift-vote-plugin on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asktree/drift-vote-plugin [INFO] finished tweaking git repo https://github.com/asktree/drift-vote-plugin [INFO] tweaked toml for git repo https://github.com/asktree/drift-vote-plugin written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asktree/drift-vote-plugin already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb05562197865755216b7721a1f3866f092206678bb8383b442ee29e9c0df383 [INFO] running `Command { std: "docker" "start" "-a" "fb05562197865755216b7721a1f3866f092206678bb8383b442ee29e9c0df383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb05562197865755216b7721a1f3866f092206678bb8383b442ee29e9c0df383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb05562197865755216b7721a1f3866f092206678bb8383b442ee29e9c0df383", kill_on_drop: false }` [INFO] [stdout] fb05562197865755216b7721a1f3866f092206678bb8383b442ee29e9c0df383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5c918d7b31cb6e8cd6f88716ffabcab32d981c44081922fa3e1c23360b5aae0 [INFO] running `Command { std: "docker" "start" "-a" "c5c918d7b31cb6e8cd6f88716ffabcab32d981c44081922fa3e1c23360b5aae0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "c5c918d7b31cb6e8cd6f88716ffabcab32d981c44081922fa3e1c23360b5aae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c918d7b31cb6e8cd6f88716ffabcab32d981c44081922fa3e1c23360b5aae0", kill_on_drop: false }` [INFO] [stdout] c5c918d7b31cb6e8cd6f88716ffabcab32d981c44081922fa3e1c23360b5aae0