[INFO] cloning repository https://github.com/sonal1201/Escrow_Program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonal1201/Escrow_Program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonal1201%2FEscrow_Program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonal1201%2FEscrow_Program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c958db959f35f67ffd32f9ed93bcffbf5646d88a [INFO] checking sonal1201/Escrow_Program/c958db959f35f67ffd32f9ed93bcffbf5646d88a against master#86a49fd71fecd25b0fd20247db0ba95eeceaba28 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonal1201%2FEscrow_Program" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sonal1201/Escrow_Program [INFO] finished tweaking git repo https://github.com/sonal1201/Escrow_Program [INFO] tweaked toml for git repo https://github.com/sonal1201/Escrow_Program written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sonal1201/Escrow_Program on toolchain 86a49fd71fecd25b0fd20247db0ba95eeceaba28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sonal1201/Escrow_Program already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-short-vec v2.2.1 [INFO] [stderr] Downloaded solana-secp256k1-recover v2.2.1 [INFO] [stderr] Downloaded solana-program v2.3.0 [INFO] [stderr] Downloaded solana-serde-varint v2.2.2 [INFO] [stderr] Downloaded solana-blake3-hasher v2.2.1 [INFO] [stderr] Downloaded anchor-attribute-error v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-program v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-constant v0.31.1 [INFO] [stderr] Downloaded solana-vote-interface v2.2.6 [INFO] [stderr] Downloaded anchor-attribute-account v0.31.1 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.31.1 [INFO] [stderr] Downloaded solana-big-mod-exp v2.2.1 [INFO] [stderr] Downloaded solana-borsh v2.2.1 [INFO] [stderr] Downloaded solana-loader-v3-interface v5.0.0 [INFO] [stderr] Downloaded anchor-syn v0.31.1 [INFO] [stderr] Downloaded solana-message v2.4.0 [INFO] [stderr] Downloaded bytemuck v1.23.2 [INFO] [stderr] Downloaded solana-account v2.2.1 [INFO] [stderr] Downloaded solana-transaction-error v2.2.1 [INFO] [stderr] Downloaded bytemuck_derive v1.10.1 [INFO] [stderr] Downloaded anchor-lang v0.31.1 [INFO] [stderr] Downloaded anchor-derive-accounts v0.31.1 [INFO] [stderr] Downloaded solana-example-mocks v2.2.1 [INFO] [stderr] Downloaded solana-bincode v2.2.1 [INFO] [stderr] Downloaded solana-native-token v2.3.0 [INFO] [stderr] Downloaded anchor-derive-serde v0.31.1 [INFO] [stderr] Downloaded solana-keccak-hasher v2.2.1 [INFO] [stderr] Downloaded serde_bytes v0.11.17 [INFO] [stderr] Downloaded anchor-attribute-event v0.31.1 [INFO] [stderr] Downloaded solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Downloaded solana-loader-v4-interface v2.2.1 [INFO] [stderr] Downloaded solana-instruction v2.3.0 [INFO] [stderr] Downloaded solana-loader-v2-interface v2.2.1 [INFO] [stderr] Downloaded anchor-derive-space v0.31.1 [INFO] [stderr] Downloaded solana-nonce v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a6cc96ed6427ba23fe15b355092ba3c55ab171033d8db11e7406689cb24aa89 [INFO] running `Command { std: "docker" "start" "-a" "4a6cc96ed6427ba23fe15b355092ba3c55ab171033d8db11e7406689cb24aa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a6cc96ed6427ba23fe15b355092ba3c55ab171033d8db11e7406689cb24aa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6cc96ed6427ba23fe15b355092ba3c55ab171033d8db11e7406689cb24aa89", kill_on_drop: false }` [INFO] [stdout] 4a6cc96ed6427ba23fe15b355092ba3c55ab171033d8db11e7406689cb24aa89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+86a49fd71fecd25b0fd20247db0ba95eeceaba28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a252ab2eb8d516dccb2778420af70b9df4dc8233f99a40b8a6cf0cb5332bcbdd [INFO] running `Command { std: "docker" "start" "-a" "a252ab2eb8d516dccb2778420af70b9df4dc8233f99a40b8a6cf0cb5332bcbdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking solana-sanitize v2.2.1 [INFO] [stderr] Checking five8 v0.2.1 [INFO] [stderr] Checking solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking solana-decode-error v2.3.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking solana-msg v2.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking solana-program-memory v2.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking solana-program-option v2.2.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking solana-native-token v2.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking solana-big-mod-exp v2.2.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling anchor-derive-space v0.31.1 [INFO] [stderr] Checking solana-hash v2.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking solana-fee-calculator v2.2.1 [INFO] [stderr] Checking solana-short-vec v2.2.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking solana-serde-varint v2.2.2 [INFO] [stderr] Checking solana-sha256-hasher v2.3.0 [INFO] [stderr] Checking solana-keccak-hasher v2.2.1 [INFO] [stderr] Checking solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling anchor-lang-idl-spec v0.1.0 [INFO] [stderr] Compiling anchor-syn v0.31.1 [INFO] [stderr] Compiling anchor-lang-idl v0.1.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Checking borsh v0.10.4 [INFO] [stderr] Checking solana-pubkey v2.4.0 [INFO] [stderr] Checking solana-borsh v2.2.1 [INFO] [stderr] Checking solana-instruction v2.3.0 [INFO] [stderr] Checking solana-sdk-ids v2.2.1 [INFO] [stderr] Checking solana-nonce v2.2.1 [INFO] [stderr] Checking solana-sysvar-id v2.2.1 [INFO] [stderr] Checking solana-clock v2.2.2 [INFO] [stderr] Checking solana-slot-hashes v2.2.1 [INFO] [stderr] Checking solana-rent v2.2.1 [INFO] [stderr] Checking solana-slot-history v2.2.1 [INFO] [stderr] Checking solana-last-restart-slot v2.2.1 [INFO] [stderr] Checking solana-epoch-schedule v2.2.1 [INFO] [stderr] Checking solana-epoch-rewards v2.2.1 [INFO] [stderr] Checking solana-program-error v2.2.2 [INFO] [stderr] Checking solana-system-interface v1.0.0 [INFO] [stderr] Checking solana-serialize-utils v2.2.1 [INFO] [stderr] Checking solana-transaction-error v2.2.1 [INFO] [stderr] Checking solana-bincode v2.2.1 [INFO] [stderr] Checking solana-loader-v2-interface v2.2.1 [INFO] [stderr] Checking solana-stable-layout v2.2.1 [INFO] [stderr] Checking solana-account-info v2.3.0 [INFO] [stderr] Checking solana-program-pack v2.2.1 [INFO] [stderr] Checking solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Checking solana-cpi v2.2.1 [INFO] [stderr] Checking solana-instructions-sysvar v2.2.2 [INFO] [stderr] Checking solana-program-entrypoint v2.3.0 [INFO] [stderr] Checking solana-account v2.2.1 [INFO] [stderr] Checking solana-message v2.4.0 [INFO] [stderr] Checking solana-vote-interface v2.2.6 [INFO] [stderr] Checking solana-loader-v3-interface v5.0.0 [INFO] [stderr] Checking solana-loader-v4-interface v2.2.1 [INFO] [stderr] Checking solana-stake-interface v1.2.1 [INFO] [stderr] Checking solana-feature-gate-interface v2.2.2 [INFO] [stderr] Checking solana-sysvar v2.3.0 [INFO] [stderr] Checking solana-example-mocks v2.2.1 [INFO] [stderr] Checking solana-secp256k1-recover v2.2.1 [INFO] [stderr] Checking solana-program v2.3.0 [INFO] [stderr] Compiling anchor-attribute-program v0.31.1 [INFO] [stderr] Compiling anchor-derive-serde v0.31.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.31.1 [INFO] [stderr] Compiling anchor-attribute-event v0.31.1 [INFO] [stderr] Compiling anchor-attribute-error v0.31.1 [INFO] [stderr] Compiling anchor-attribute-constant v0.31.1 [INFO] [stderr] Compiling anchor-attribute-account v0.31.1 [INFO] [stderr] Compiling anchor-attribute-access-control v0.31.1 [INFO] [stderr] Checking anchor-lang v0.31.1 [INFO] [stderr] Checking escrow v0.1.0 (/opt/rustwide/workdir/programs/escrow) [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 32 | #[account(mut)] [INFO] [stdout] 33 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 37 | #[account(mut)] [INFO] [stdout] 38 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 42 | #[account(mut)] [INFO] [stdout] 43 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 47 | #[account(mut)] [INFO] [stdout] 48 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 52 | #[account(mut)] [INFO] [stdout] 53 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------ while parsing this struct [INFO] [stdout] 32 | #[account(mut)] [INFO] [stdout] 33 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 37 | #[account(mut)] [INFO] [stdout] 38 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 42 | #[account(mut)] [INFO] [stdout] 43 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------ while parsing this struct [INFO] [stdout] 47 | #[account(mut)] [INFO] [stdout] 48 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `}` [INFO] [stdout] --> programs/escrow/src/instruction.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------- while parsing this struct [INFO] [stdout] 52 | #[account(mut)] [INFO] [stdout] 53 | } [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of input, expected identifier [INFO] [stdout] --> programs/escrow/src/instruction.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `instruction` is defined multiple times [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod instruction; [INFO] [stdout] | -------------------- previous definition of the module `instruction` here [INFO] [stdout] ... [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ `instruction` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `instruction` must be defined only once in the type namespace of this module [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `instruction` is defined multiple times [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod instruction; [INFO] [stdout] | -------------------- previous definition of the module `instruction` here [INFO] [stdout] ... [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ `instruction` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `instruction` must be defined only once in the type namespace of this module [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_deposit` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_create_escrow` in the crate root [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/escrow/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::*` [INFO] [stdout] --> programs/escrow/src/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/escrow/src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::*` [INFO] [stdout] --> programs/escrow/src/instruction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/escrow/src/instruction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ///Logic [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/instruction.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'info` is never used [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'info`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>`, the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: &Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>`, the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_escrow(ctx: &Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>`, the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>`, the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 10 | pub fn deposit(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>`, the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>`, the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 15 | pub fn release(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>`, the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>`, the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: &Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>`, the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 20 | pub fn refund(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>`, the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 25 | pub fn dispute(ctx: &Context, winner: Pubkey) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `DISCRIMINATOR` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- associated item `DISCRIMINATOR` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `DISCRIMINATOR`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Discriminator` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `anchor_lang::prelude::AccountInfo::<'a>::realloc`: Use AccountInfo::resize() instead [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::CreateEscrow<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::CreateEscrow<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ------------------------------ function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Deposit<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Deposit<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Release<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Release<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Refund<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Refund<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ------------------------ function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>`, the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: &Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | instruction::create_escrow(ctx, amount, expiry); [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/escrow/src/lib.rs:15:83 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 16 | instruction::create_escrow(ctx, amount, expiry); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), anchor_lang::error::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>`, the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: &Context, amount: u64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | instruction::deposit(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>`, the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | instruction::release(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>`, the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | instruction::refund(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>`, the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: &Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | instruction::dispute(ctx,winner) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- function or associated item `deserialize` not found for this struct [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 `deserialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `BorshDeserialize` [INFO] [stdout] candidate #2: `bincode::config::Options` [INFO] [stdout] candidate #3: `borsh::de::BorshDeserialize` [INFO] [stdout] candidate #4: `serde::de::Deserialize` [INFO] [stdout] candidate #5: `serde::de::DeserializeSeed` [INFO] [stdout] candidate #6: `serde_bytes::de::Deserialize` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instruction::Dispute<'info>` in the current scope [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `instruction::Dispute<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ------------------------- function or associated item `try_accounts` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `try_accounts`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `anchor_lang::Accounts` [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: anchor_lang::Accounts<'_, _>` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `anchor_lang::Accounts<'_, _>` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info, B>`: [INFO] [stdout] `AccountLoader<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Box` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `CreateNonceAccount<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountBumps>` [INFO] [stdout] `CreateNonceAccountWithSeed<'info>` implements `anchor_lang::Accounts<'info, CreateNonceAccountWithSeedBumps>` [INFO] [stdout] `Interface<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `InterfaceAccount<'info, T>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `Option` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] `SystemAccount<'info>` implements `anchor_lang::Accounts<'info, B>` [INFO] [stdout] and 24 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | T: Bumps + Accounts<'info, T::Bumps>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 56 | { [INFO] [stdout] 57 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>`, the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::CreateEscrow<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: &Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::CreateEscrow<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | instruction::create_escrow(ctx, amount, expiry); [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::CreateEscrow<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct CreateEscrow<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/escrow/src/lib.rs:15:83 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn create_escrow(ctx: Context, amount: u64, expiry: i64) -> Result<()> { [INFO] [stdout] | ------------- ^^^^^^^^^^ expected `Result<(), Error>`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] 16 | instruction::create_escrow(ctx, amount, expiry); [INFO] [stdout] | - help: remove this semicolon to return this value [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), anchor_lang::error::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: Context, amount: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>`, the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Deposit<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 19 | pub fn deposit(ctx: &Context, amount: u64) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Deposit<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | instruction::deposit(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Deposit<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Deposit<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>`, the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Release<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 23 | pub fn release(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Release<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | instruction::release(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Release<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct Release<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>`, the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Refund<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 27 | pub fn refund(ctx: &Context) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Refund<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | instruction::refund(ctx) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Refund<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Refund<'info>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied in `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> programs/escrow/src/lib.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: within `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>`, the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required because it appears within the type `anchor_lang::context::Context<'_, '_, '_, '_, instruction::Dispute<'_>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 31 | pub fn dispute(ctx: &Context, winner :Pubkey) -> Result<()> { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `instruction::Dispute<'_>: Bumps` is not satisfied [INFO] [stdout] --> programs/escrow/src/lib.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | instruction::dispute(ctx,winner) [INFO] [stdout] | ^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Bumps` is not implemented for `instruction::Dispute<'_>` [INFO] [stdout] --> programs/escrow/src/instruction.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct Dispute<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Bumps`: [INFO] [stdout] CreateNonceAccount<'info> [INFO] [stdout] CreateNonceAccountWithSeed<'info> [INFO] [stdout] __idl::IdlAccounts<'info> [INFO] [stdout] __idl::IdlCloseAccount<'info> [INFO] [stdout] __idl::IdlCreateAccounts<'info> [INFO] [stdout] __idl::IdlCreateBuffer<'info> [INFO] [stdout] __idl::IdlResizeAccount<'info> [INFO] [stdout] __idl::IdlSetBuffer<'info> [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `anchor_lang::context::Context` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anchor-lang-0.31.1/src/context.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Context<'a, 'b, 'c, 'info, T: Bumps> { [INFO] [stdout] | ^^^^^ required by this bound in `Context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0392, E0428, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escrow` (lib test) due to 73 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0392, E0428, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `escrow` (lib) due to 73 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a252ab2eb8d516dccb2778420af70b9df4dc8233f99a40b8a6cf0cb5332bcbdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a252ab2eb8d516dccb2778420af70b9df4dc8233f99a40b8a6cf0cb5332bcbdd", kill_on_drop: false }` [INFO] [stdout] a252ab2eb8d516dccb2778420af70b9df4dc8233f99a40b8a6cf0cb5332bcbdd