[INFO] fetching crate gauge 0.4.1... [INFO] testing gauge-0.4.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gauge 0.4.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gauge 0.4.1 [INFO] finished tweaking crates.io crate gauge 0.4.1 [INFO] tweaked toml for crates.io crate gauge 0.4.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gauge 0.4.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 337 packages to latest compatible versions [INFO] [stderr] Adding anchor-lang v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding anchor-spl v0.24.2 (available: v0.31.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding solana-frozen-abi v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-frozen-abi-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-logger v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-program v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding solana-sdk-macro v1.9.29 (available: v1.18.26) [INFO] [stderr] Adding spl-associated-token-account v1.0.5 (available: v1.1.3) [INFO] [stderr] Adding spl-token v3.3.0 (available: v3.5.0) [INFO] [stderr] Adding uint v0.9.1 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vipers v2.0.6 [INFO] [stderr] Downloaded quarry-mint-wrapper v5.2.0 [INFO] [stderr] Downloaded govern v0.5.8 [INFO] [stderr] Downloaded u128 v0.1.0 [INFO] [stderr] Downloaded quarry-operator v5.2.0 [INFO] [stderr] Downloaded quarry-mine v5.2.0 [INFO] [stderr] Downloaded solana-signature v2.3.0 [INFO] [stderr] Downloaded spl-associated-token-account v1.0.5 [INFO] [stderr] Downloaded anchor-spl v0.24.2 [INFO] [stderr] Downloaded anchor-spl v0.31.1 [INFO] [stderr] Downloaded smart-wallet v0.11.1 [INFO] [stderr] Downloaded solana-curve25519 v2.3.2 [INFO] [stderr] Downloaded solana-zk-sdk v2.3.2 [INFO] [stderr] Downloaded locked-voter v0.5.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc8ce62a2f336df1727555ef8095062834702c424330b16eb4af0b232d219c01 [INFO] running `Command { std: "docker" "start" "-a" "dc8ce62a2f336df1727555ef8095062834702c424330b16eb4af0b232d219c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc8ce62a2f336df1727555ef8095062834702c424330b16eb4af0b232d219c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8ce62a2f336df1727555ef8095062834702c424330b16eb4af0b232d219c01", kill_on_drop: false }` [INFO] [stdout] dc8ce62a2f336df1727555ef8095062834702c424330b16eb4af0b232d219c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6574b9d4ccbb9c81c7329c2d7008e931b95c5bf0017f518986da283ca8a9fdd0 [INFO] running `Command { std: "docker" "start" "-a" "6574b9d4ccbb9c81c7329c2d7008e931b95c5bf0017f518986da283ca8a9fdd0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling solana-signature v2.3.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling u128 v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-sha256-hasher v2.2.1 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling solana-curve25519 v2.3.2 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.5 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling spl-discriminator v0.4.1 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Compiling solana-zk-sdk v2.3.2 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling spl-memo v6.0.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling spl-associated-token-account-client v2.0.0 [INFO] [stderr] Compiling solana-sysvar v2.2.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling spl-program-error v0.6.0 [INFO] [stderr] Compiling spl-token v7.0.0 [INFO] [stderr] Compiling anchor-lang v0.31.1 [INFO] [stderr] Compiling spl-pod v0.5.1 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.2.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.2.1 [INFO] [stderr] Compiling spl-type-length-value v0.7.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.2.1 [INFO] [stderr] Compiling spl-token-group-interface v0.5.0 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.9.0 [INFO] [stderr] Compiling spl-token-metadata-interface v0.6.0 [INFO] [stderr] Compiling spl-elgamal-registry v0.1.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.9.0 [INFO] [stderr] Compiling spl-token-2022 v6.0.0 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling anchor-lang v0.24.2 [INFO] [stderr] Compiling spl-math v0.1.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.24.2 [INFO] [stderr] Compiling vipers v2.0.6 [INFO] [stderr] Compiling quarry-mint-wrapper v5.2.0 [INFO] [stderr] Compiling smart-wallet v0.11.1 [INFO] [stderr] Compiling spl-associated-token-account v6.0.0 [INFO] [stderr] Compiling anchor-spl v0.31.1 [INFO] [stderr] Compiling quarry-mine v5.2.0 [INFO] [stderr] Compiling govern v0.5.8 [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `index` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/events.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[index] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::CreateGovernor<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::CreateGovernor<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 7 - fn validate(&self) -> Result<()> { [INFO] [stdout] 7 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::CreateProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::CreateProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 18 - fn validate(&self) -> Result<()> { [INFO] [stdout] 18 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::ActivateProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::ActivateProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 24 - fn validate(&self) -> Result<()> { [INFO] [stdout] 24 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::CancelProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::CancelProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 52 - fn validate(&self) -> Result<()> { [INFO] [stdout] 52 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::QueueProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::QueueProposal<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 72 - fn validate(&self) -> Result<()> { [INFO] [stdout] 72 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::NewVote<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::NewVote<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 103 - fn validate(&self) -> Result<()> { [INFO] [stdout] 103 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::SetVote<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::SetVote<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 109 - fn validate(&self) -> Result<()> { [INFO] [stdout] 109 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::CreateProposalMeta<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::CreateProposalMeta<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 130 - fn validate(&self) -> Result<()> { [INFO] [stdout] 130 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `validate` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ expected `anchor_lang::error::Error`, found a different `anchor_lang::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&account_structs::SetGovernanceParams<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] found signature `fn(&account_structs::SetGovernanceParams<'_>) -> std::result::Result<_, anchor_lang::error::Error>` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 137 - fn validate(&self) -> Result<()> { [INFO] [stdout] 137 + fn validate(&self) -> std::result::Result<(), anchor_lang::error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>` to implement `anchor_lang::Accounts<'_, CreateGovernorBumps>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountMetas` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>` to implement `anchor_lang::Accounts<'_, QueueProposalBumps>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::program::SmartWallet: anchor_lang::Id` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Id` is not implemented for `smart_wallet::program::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:366:1 [INFO] [stdout] | [INFO] [stdout] 366 | pub trait Id { [INFO] [stdout] | ^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | #[program] [INFO] [stdout] | ---------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Program<'_, smart_wallet::program::SmartWallet>` to implement `anchor_lang::Accounts<'_, QueueProposalBumps>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub smart_wallet: Account<'info, SmartWallet>, [INFO] [stdout] | ^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_infos` exists for struct `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountInfos<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountInfos<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_metas` exists for struct `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: ToAccountMetas` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountMetas` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountMetas` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>` to implement `anchor_lang::ToAccountMetas` [INFO] [stdout] note: required by a bound in `anchor_lang::AccountsExit::exit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `AccountsExit::exit` [INFO] [stdout] 138 | /// `program_id` is the currently executing program. [INFO] [stdout] 139 | fn exit(&self, _program_id: &Pubkey) -> Result<()> { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>` to implement `anchor_lang::ToAccountMetas` [INFO] [stdout] note: required by a bound in `anchor_lang::AccountsExit::exit` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait AccountsExit<'info>: ToAccountMetas + ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `AccountsExit::exit` [INFO] [stdout] 138 | /// `program_id` is the currently executing program. [INFO] [stdout] 139 | fn exit(&self, _program_id: &Pubkey) -> Result<()> { [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::Owner` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ the trait `anchor_lang::Owner` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:338:1 [INFO] [stdout] | [INFO] [stdout] 338 | pub trait Owner { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>` to implement `anchor_lang::AccountsExit<'_>` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quarry-operator v5.2.0 [INFO] [stdout] error[E0609]: no field `owners` on type `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | self.smart_wallet.owners.contains(&self.governor.key()), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, state::Governor>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | assert_keys_eq!(self.governor, self.proposal.governor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, state::Governor>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | assert_keys_eq!(self.governor, self.proposal.governor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Signer<'info>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | assert_keys_eq!(self.electorate, self.governor.electorate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Signer<'info>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | assert_keys_eq!(self.electorate, self.governor.electorate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Signer<'info>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / assert_keys_eq!( [INFO] [stdout] 54 | | self.proposer, [INFO] [stdout] 55 | | self.proposal.proposer, [INFO] [stdout] 56 | | "proposer should match recorded" [INFO] [stdout] 57 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Signer<'info>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / assert_keys_eq!( [INFO] [stdout] 54 | | self.proposer, [INFO] [stdout] 55 | | self.proposal.proposer, [INFO] [stdout] 56 | | "proposer should match recorded" [INFO] [stdout] 57 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, state::Governor>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / assert_keys_eq!( [INFO] [stdout] 59 | | self.governor, [INFO] [stdout] 60 | | self.proposal.governor, [INFO] [stdout] 61 | | "proposal should be under the governor" [INFO] [stdout] 62 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, state::Governor>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / assert_keys_eq!( [INFO] [stdout] 59 | | self.governor, [INFO] [stdout] 60 | | self.proposal.governor, [INFO] [stdout] 61 | | "proposal should be under the governor" [INFO] [stdout] 62 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, state::Governor>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | assert_keys_eq!(self.governor, self.proposal.governor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, state::Governor>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | assert_keys_eq!(self.governor, self.proposal.governor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_keys_eq!(self.smart_wallet, self.governor.smart_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_keys_eq!(self.smart_wallet, self.governor.smart_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountSerialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub trait AccountSerialize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:30 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_keys_eq!(self.smart_wallet, self.governor.smart_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::AccountDeserialize` is not implemented for `smart_wallet::SmartWallet` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub trait AccountDeserialize: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::prelude::Account` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Account` [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the attribute macro `account` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | assert_keys_eq!(self.smart_wallet, self.governor.smart_wallet); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | assert_keys_eq!(self.governor.electorate, self.electorate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Signer<'info>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | assert_keys_eq!(self.governor.electorate, self.electorate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Signer<'info>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, state::Governor>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / assert_keys_eq!( [INFO] [stdout] 112 | | self.governor, [INFO] [stdout] 113 | | self.proposal.governor, [INFO] [stdout] 114 | | "proposal should be under the governor" [INFO] [stdout] 115 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, state::Governor>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | / assert_keys_eq!( [INFO] [stdout] 112 | | self.governor, [INFO] [stdout] 113 | | self.proposal.governor, [INFO] [stdout] 114 | | "proposal should be under the governor" [INFO] [stdout] 115 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | / assert_keys_eq!( [INFO] [stdout] 117 | | self.vote.proposal, [INFO] [stdout] 118 | | self.proposal, [INFO] [stdout] 119 | | "vote proposal should match" [INFO] [stdout] 120 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Account<'info, state::Proposal>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | / assert_keys_eq!( [INFO] [stdout] 117 | | self.vote.proposal, [INFO] [stdout] 118 | | self.proposal, [INFO] [stdout] 119 | | "vote proposal should match" [INFO] [stdout] 120 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Account<'info, state::Proposal>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Signer<'info>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | assert_keys_eq!(self.proposer, self.proposal.proposer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Signer<'info>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | assert_keys_eq!(self.proposer, self.proposal.proposer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `anchor_lang::prelude::Signer<'info>: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / assert_keys_eq!( [INFO] [stdout] 139 | | self.smart_wallet, [INFO] [stdout] 140 | | self.governor.smart_wallet, [INFO] [stdout] 141 | | "smart wallet should match" [INFO] [stdout] 142 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `anchor_lang::prelude::Signer<'info>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `__Pubkey: vipers::AsKeyRef` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_validators.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | / assert_keys_eq!( [INFO] [stdout] 139 | | self.smart_wallet, [INFO] [stdout] 140 | | self.governor.smart_wallet, [INFO] [stdout] 141 | | "smart wallet should match" [INFO] [stdout] 142 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the trait `vipers::AsKeyRef` is not implemented for `__Pubkey` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `vipers::AsKeyRef`: [INFO] [stdout] Box> [INFO] [stdout] anchor_lang::accounts::account::Account<'info, T> [INFO] [stdout] anchor_lang::accounts::account_loader::AccountLoader<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_account::CpiAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::cpi_state::CpiState<'info, T> [INFO] [stdout] anchor_lang::accounts::loader::Loader<'info, T> [INFO] [stdout] anchor_lang::accounts::program_account::ProgramAccount<'info, T> [INFO] [stdout] anchor_lang::accounts::signer::Signer<'info> [INFO] [stdout] and 6 others [INFO] [stdout] = note: this error originates in the macro `$crate::assert_keys_eq` which comes from the expansion of the macro `assert_keys_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | program_id: *program_id, [INFO] [stdout] | ^^^^^^^^^^^ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | ... pubkey, [INFO] [stdout] | ^^^^^^ expected `solana_program::pubkey::Pubkey`, found `__Pubkey` [INFO] [stdout] | [INFO] [stdout] = note: `__Pubkey` and `solana_program::pubkey::Pubkey` have similar names, but are actually distinct types [INFO] [stdout] note: `__Pubkey` is defined in crate `solana_pubkey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-pubkey-2.4.0/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `solana_program::pubkey::Pubkey` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/pubkey.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Pubkey(pub(crate) [u8; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_account_info` exists for struct `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | smart_wallet: self.smart_wallet.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: AsRef>` or `_: ToAccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: AsRef<__AccountInfo<'_>>` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'info, smart_wallet::SmartWallet>: anchor_lang::ToAccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | transaction: self.transaction.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `__AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `__AccountInfo<'_>` and `AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `__AccountInfo<'_>` is defined in crate `solana_account_info` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | proposer: self.governor.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `__AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `__AccountInfo<'_>` and `AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `__AccountInfo<'_>` is defined in crate `solana_account_info` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 207 | payer: self.payer.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `__AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `__AccountInfo<'_>` and `AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `__AccountInfo<'_>` is defined in crate `solana_account_info` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | system_program: self.system_program.to_account_info(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `AccountInfo<'_>`, found `__AccountInfo<'_>` [INFO] [stdout] | [INFO] [stdout] = note: `__AccountInfo<'_>` and `AccountInfo<'_>` have similar names, but are actually distinct types [INFO] [stdout] note: `__AccountInfo<'_>` is defined in crate `solana_account_info` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-account-info-2.3.0/src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `AccountInfo<'_>` is defined in crate `solana_program` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-program-1.9.29/src/account_info.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AccountInfo<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::cpi::accounts::CreateTransaction<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 201 | let cpi_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 202 | self.smart_wallet_program.to_account_info(), [INFO] [stdout] 203 | / smart_wallet::cpi::accounts::CreateTransaction { [INFO] [stdout] 204 | | smart_wallet: self.smart_wallet.to_account_info(), [INFO] [stdout] 205 | | transaction: self.transaction.to_account_info(), [INFO] [stdout] 206 | | proposer: self.governor.to_account_info(), [INFO] [stdout] 207 | | payer: self.payer.to_account_info(), [INFO] [stdout] 208 | | system_program: self.system_program.to_account_info(), [INFO] [stdout] 209 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `smart_wallet::cpi::accounts::CreateTransaction<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::cpi::accounts::CreateTransaction<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let cpi_ctx = CpiContext::new_with_signer( [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `smart_wallet::cpi::accounts::CreateTransaction<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::cpi::accounts::CreateTransaction<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 201 | let cpi_ctx = CpiContext::new_with_signer( [INFO] [stdout] | --------------------------- required by a bound introduced by this call [INFO] [stdout] 202 | self.smart_wallet_program.to_account_info(), [INFO] [stdout] 203 | / smart_wallet::cpi::accounts::CreateTransaction { [INFO] [stdout] 204 | | smart_wallet: self.smart_wallet.to_account_info(), [INFO] [stdout] 205 | | transaction: self.transaction.to_account_info(), [INFO] [stdout] 206 | | proposer: self.governor.to_account_info(), [INFO] [stdout] 207 | | payer: self.payer.to_account_info(), [INFO] [stdout] 208 | | system_program: self.system_program.to_account_info(), [INFO] [stdout] 209 | | }, [INFO] [stdout] | |_____________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `smart_wallet::cpi::accounts::CreateTransaction<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext::<'a, 'b, 'c, 'info, T>::new_with_signer` [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn new_with_signer( [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::cpi::accounts::CreateTransaction<'_>: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let cpi_ctx = CpiContext::new_with_signer( [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | self.smart_wallet_program.to_account_info(), [INFO] [stdout] 203 | | smart_wallet::cpi::accounts::CreateTransaction { [INFO] [stdout] 204 | | smart_wallet: self.smart_wallet.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | signer_seeds, [INFO] [stdout] 211 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountMetas` is not implemented for `smart_wallet::cpi::accounts::CreateTransaction<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub trait ToAccountMetas { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `smart_wallet::cpi::accounts::CreateTransaction<'_>: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:201:23 [INFO] [stdout] | [INFO] [stdout] 201 | let cpi_ctx = CpiContext::new_with_signer( [INFO] [stdout] | _______________________^ [INFO] [stdout] 202 | | self.smart_wallet_program.to_account_info(), [INFO] [stdout] 203 | | smart_wallet::cpi::accounts::CreateTransaction { [INFO] [stdout] 204 | | smart_wallet: self.smart_wallet.to_account_info(), [INFO] [stdout] ... | [INFO] [stdout] 210 | | signer_seeds, [INFO] [stdout] 211 | | ); [INFO] [stdout] | |_________^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `smart_wallet::cpi::accounts::CreateTransaction<'_>` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `anchor_lang` are being used? [INFO] [stdout] note: there are multiple different versions of crate `anchor_lang` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub trait ToAccountInfos<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:407:10 [INFO] [stdout] | [INFO] [stdout] 407 | #[derive(Accounts)] [INFO] [stdout] | -------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub trait Accounts<'info>: ToAccountMetas + ToAccountInfos<'info> + Sized { [INFO] [stdout] | ------------------------------------------------------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `anchor_lang::context::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] 172 | where [INFO] [stdout] 173 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `CpiContext` [INFO] [stdout] = note: this error originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 215 | smart_wallet::cpi::create_transaction( [INFO] [stdout] | ------------------------------------- arguments to this function are incorrect [INFO] [stdout] 216 | cpi_ctx, [INFO] [stdout] | ^^^^^^^ expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn create_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 215 | / smart_wallet::cpi::create_transaction( [INFO] [stdout] 216 | | cpi_ctx, [INFO] [stdout] 217 | | tx_bump, [INFO] [stdout] 218 | | self.proposal.to_smart_wallet_instructions(), [INFO] [stdout] 219 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 222 | smart_wallet::cpi::create_transaction_with_timelock( [INFO] [stdout] | --------------------------------------------------- arguments to this function are incorrect [INFO] [stdout] 223 | cpi_ctx, [INFO] [stdout] | ^^^^^^^ expected `CpiContext<'_, '_, '_, '_, ...>`, found a different `CpiContext<'_, '_, '_, '_, ...>` [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `anchor_lang` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.24.2/src/context.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct CpiContext<'a, 'b, 'c, 'info, T> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `anchor_lang::context::CpiContext` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use anchor_lang::prelude::*; [INFO] [stdout] | ----------- one version of crate `anchor_lang` used here, as a direct dependency of the current crate [INFO] [stdout] 6 | use num_traits::cast::ToPrimitive; [INFO] [stdout] 7 | use smart_wallet::SmartWallet; [INFO] [stdout] | ------------ one version of crate `anchor_lang` used here, as a dependency of crate `smart_wallet` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/lib.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn create_transaction_with_timelock( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/proposal.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 222 | / smart_wallet::cpi::create_transaction_with_timelock( [INFO] [stdout] 223 | | cpi_ctx, [INFO] [stdout] 224 | | tx_bump, [INFO] [stdout] 225 | | self.proposal.to_smart_wallet_instructions(), [INFO] [stdout] ... | [INFO] [stdout] 228 | | .checked_add(self.governor.params.timelock_delay_seconds)), [INFO] [stdout] 229 | | )?; [INFO] [stdout] | | -^ the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | |_____________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:31:46 [INFO] [stdout] | [INFO] [stdout] 31 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] ... [INFO] [stdout] 37 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `CreateGovernorBumps` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | governor.bump = unwrap_bump!(ctx, "governor"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `CreateGovernorBumps::get("governor")` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.2.2/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::__private::ZeroCopyAccessor` [INFO] [stdout] candidate #4: `solana_program::account_info::Account` [INFO] [stdout] candidate #5: `solana_program::sysvar::Sysvar` [INFO] [stdout] candidate #6: `spl_type_length_value::solana_account_info::Account` [INFO] [stdout] = note: this error originates in the macro `unwrap_bump` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | governor.smart_wallet = ctx.accounts.smart_wallet.key(); [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `key` exists for struct `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | smart_wallet: ctx.accounts.smart_wallet.key(), [INFO] [stdout] | ^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/smart-wallet-0.11.1/src/state.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SmartWallet { [INFO] [stdout] | ---------------------- doesn't satisfy `_: AccountDeserialize` or `_: AccountSerialize` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/accounts/account.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> { [INFO] [stdout] | --------------------------------------------------------------------------- doesn't satisfy `_: Key` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountSerialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] `smart_wallet::SmartWallet: anchor_lang::AccountDeserialize` [INFO] [stdout] which is required by `anchor_lang::prelude::Account<'_, smart_wallet::SmartWallet>: anchor_lang::Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] ... [INFO] [stdout] 71 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `CreateProposalBumps` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | proposal.bump = unwrap_bump!(ctx, "proposal"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `CreateProposalBumps::get("proposal")` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.2.2/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::__private::ZeroCopyAccessor` [INFO] [stdout] candidate #4: `solana_program::account_info::Account` [INFO] [stdout] candidate #5: `solana_program::sysvar::Sysvar` [INFO] [stdout] candidate #6: `spl_type_length_value::solana_account_info::Account` [INFO] [stdout] = note: this error originates in the macro `unwrap_bump` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 108 | pub fn activate_proposal(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 132 | pub fn cancel_proposal(ctx: Context) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 146 | pub fn queue_proposal(ctx: Context, tx_bump: u8) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:159:46 [INFO] [stdout] | [INFO] [stdout] 159 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 160 | pub fn new_vote(ctx: Context, _bump: u8, voter: Pubkey) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `NewVoteBumps` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | vote.bump = unwrap_bump!(ctx, "vote"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `NewVoteBumps::get("vote")` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/account_structs.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | #[derive(Accounts)] [INFO] [stdout] | -------- method `get` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in the trait `anchor_lang::prelude::SolanaSysvar` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-sysvar-2.2.2/src/lib.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | fn get() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `SliceIndex` [INFO] [stdout] candidate #2: `ZeroCopyAccessor` [INFO] [stdout] candidate #3: `anchor_lang::__private::ZeroCopyAccessor` [INFO] [stdout] candidate #4: `solana_program::account_info::Account` [INFO] [stdout] candidate #5: `solana_program::sysvar::Sysvar` [INFO] [stdout] candidate #6: `spl_type_length_value::solana_account_info::Account` [INFO] [stdout] = note: this error originates in the macro `unwrap_bump` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:174:46 [INFO] [stdout] | [INFO] [stdout] 174 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 175 | pub fn set_vote(ctx: Context, side: u8, weight: u64) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:200:46 [INFO] [stdout] | [INFO] [stdout] 200 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] ... [INFO] [stdout] 204 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] 219 | pub fn set_electorate(ctx: Context, new_electorate: Pubkey) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `anchor_lang::error::Error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/govern-0.5.8/src/lib.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | #[access_control(ctx.accounts.validate())] [INFO] [stdout] | -----------------------------------------^ [INFO] [stdout] | | | [INFO] [stdout] | | the trait `From` is not implemented for `anchor_lang::error::Error` [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, anchor_lang::error::Error>` [INFO] [stdout] ... [INFO] [stdout] 239 | ) -> Result<()> { [INFO] [stdout] | ---------- expected `anchor_lang::error::Error` because of this [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] `anchor_lang::error::Error` implements `From` [INFO] [stdout] = note: this error originates in the attribute macro `access_control` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `govern` (lib) due to 107 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6574b9d4ccbb9c81c7329c2d7008e931b95c5bf0017f518986da283ca8a9fdd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6574b9d4ccbb9c81c7329c2d7008e931b95c5bf0017f518986da283ca8a9fdd0", kill_on_drop: false }` [INFO] [stdout] 6574b9d4ccbb9c81c7329c2d7008e931b95c5bf0017f518986da283ca8a9fdd0