[INFO] cloning repository https://github.com/raunit-dev/escrow-pinocchio-2025 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raunit-dev/escrow-pinocchio-2025" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraunit-dev%2Fescrow-pinocchio-2025", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraunit-dev%2Fescrow-pinocchio-2025'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c07ac006458b80e229abe9160dab452830daf9f [INFO] checking raunit-dev/escrow-pinocchio-2025 against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraunit-dev%2Fescrow-pinocchio-2025" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/raunit-dev/escrow-pinocchio-2025 [INFO] finished tweaking git repo https://github.com/raunit-dev/escrow-pinocchio-2025 [INFO] tweaked toml for git repo https://github.com/raunit-dev/escrow-pinocchio-2025 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raunit-dev/escrow-pinocchio-2025 on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raunit-dev/escrow-pinocchio-2025 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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e23bfff0aca13fb2918c6e165e601fdffd0299fcde6f9556f1255e29649c38 [INFO] running `Command { std: "docker" "start" "-a" "70e23bfff0aca13fb2918c6e165e601fdffd0299fcde6f9556f1255e29649c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e23bfff0aca13fb2918c6e165e601fdffd0299fcde6f9556f1255e29649c38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e23bfff0aca13fb2918c6e165e601fdffd0299fcde6f9556f1255e29649c38", kill_on_drop: false }` [INFO] [stdout] 70e23bfff0aca13fb2918c6e165e601fdffd0299fcde6f9556f1255e29649c38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09019531c29c995a18775179cbf822d40024c0676cb05d1e4327db986dc4b9ef [INFO] running `Command { std: "docker" "start" "-a" "09019531c29c995a18775179cbf822d40024c0676cb05d1e4327db986dc4b9ef", kill_on_drop: false }` [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Checking pinocchio v0.8.4 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking pinocchio-pubkey v0.2.4 [INFO] [stderr] Checking pinocchio-associated-token-account v0.1.1 [INFO] [stderr] Checking pinocchio-token v0.3.0 [INFO] [stderr] Checking pinocchio-system v0.2.3 [INFO] [stderr] Checking blueshift_escrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/instructions/make.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / Transfer ( [INFO] [stdout] 142 | | from: self.accounts.maker_ata_a, [INFO] [stdout] 143 | | to: self.accounts.vault, [INFO] [stdout] 144 | | authority: self.accounts.maker, [INFO] [stdout] 145 | | amount: self.instruction_data.amount [INFO] [stdout] 146 | | ).invoke()?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: if `Transfer` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 141 ~ Transfer { [INFO] [stdout] 142 | from: self.accounts.maker_ata_a, [INFO] [stdout] ... [INFO] [stdout] 145 | amount: self.instruction_data.amount [INFO] [stdout] 146 ~ }.invoke()?; [INFO] [stdout] | [INFO] [stdout] help: if `Transfer` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 142 ~ self.accounts.maker_ata_a, [INFO] [stdout] 143 ~ self.accounts.vault, [INFO] [stdout] 144 ~ self.accounts.maker, [INFO] [stdout] 145 ~ self.instruction_data.amount [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/instructions/make.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | / Transfer ( [INFO] [stdout] 142 | | from: self.accounts.maker_ata_a, [INFO] [stdout] 143 | | to: self.accounts.vault, [INFO] [stdout] 144 | | authority: self.accounts.maker, [INFO] [stdout] 145 | | amount: self.instruction_data.amount [INFO] [stdout] 146 | | ).invoke()?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: if `Transfer` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 141 ~ Transfer { [INFO] [stdout] 142 | from: self.accounts.maker_ata_a, [INFO] [stdout] ... [INFO] [stdout] 145 | amount: self.instruction_data.amount [INFO] [stdout] 146 ~ }.invoke()?; [INFO] [stdout] | [INFO] [stdout] help: if `Transfer` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 142 ~ self.accounts.maker_ata_a, [INFO] [stdout] 143 ~ self.accounts.vault, [INFO] [stdout] 144 ~ self.accounts.maker, [INFO] [stdout] 145 ~ self.instruction_data.amount [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `!=` [INFO] [stdout] --> src/instructions/take.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let &escrow_key != self.accounts.escrow.key() { [INFO] [stdout] | ^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `=`, `@`, or `|`, found `!=` [INFO] [stdout] --> src/instructions/take.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let &escrow_key != self.accounts.escrow.key() { [INFO] [stdout] | ^^ expected one of `:`, `;`, `=`, `@`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `pinocchio::AssociatedTokenAccount`, `pinocchio::MintInterface`, `pinocchio::SignerAccount` [INFO] [stdout] --> src/instructions/make.rs:1:129 [INFO] [stdout] | [INFO] [stdout] 1 | ..._program_address, AssociatedTokenAccount, MintInterface, ProgramResult, SignerAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `SignerAccount` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `MintInterface` in the root [INFO] [stdout] | no `AssociatedTokenAccount` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `pinocchio::AssociatedTokenAccount`, `pinocchio::MintInterface`, `pinocchio::SignerAccount` [INFO] [stdout] --> src/instructions/make.rs:1:129 [INFO] [stdout] | [INFO] [stdout] 1 | ..._program_address, AssociatedTokenAccount, MintInterface, ProgramResult, SignerAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `SignerAccount` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `MintInterface` in the root [INFO] [stdout] | no `AssociatedTokenAccount` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Seed::from(b"escrow"), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 92 - Seed::from(b"escrow"), [INFO] [stdout] 92 + Send::from(b"escrow"), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Seed::from(b"escrow"), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 92 - Seed::from(b"escrow"), [INFO] [stdout] 92 + Send::from(b"escrow"), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Seed::from(accounts.maker.key().as_ref()), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 - Seed::from(accounts.maker.key().as_ref()), [INFO] [stdout] 93 + Send::from(accounts.maker.key().as_ref()), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Seed::from(&seed_binding), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - Seed::from(&seed_binding), [INFO] [stdout] 94 + Send::from(&seed_binding), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Seed::from(&bump_binding), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 - Seed::from(&bump_binding), [INFO] [stdout] 95 + Send::from(&bump_binding), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Escrow` in this scope [INFO] [stdout] --> src/instructions/make.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ProgramAccount::init::( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, Escrow> TryFrom<(&'a [u8], &'a [AccountInfo])> for Make<'a> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Seed::from(accounts.maker.key().as_ref()), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 93 - Seed::from(accounts.maker.key().as_ref()), [INFO] [stdout] 93 + Send::from(accounts.maker.key().as_ref()), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | Seed::from(&seed_binding), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 94 - Seed::from(&seed_binding), [INFO] [stdout] 94 + Send::from(&seed_binding), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Seed` [INFO] [stdout] --> src/instructions/make.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Seed::from(&bump_binding), [INFO] [stdout] | ^^^^ use of undeclared type `Seed` [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 95 - Seed::from(&bump_binding), [INFO] [stdout] 95 + Send::from(&bump_binding), [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::make::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::instruction::Seed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Escrow` in this scope [INFO] [stdout] --> src/instructions/make.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | ProgramAccount::init::( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a, Escrow> TryFrom<(&'a [u8], &'a [AccountInfo])> for Make<'a> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cpi::invoke` and `instruction` [INFO] [stdout] --> src/instructions/make.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, cpi::invoke, instruction, program_error::ProgramError, pubkey::find_program_address, Associate... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cpi::invoke` and `instruction` [INFO] [stdout] --> src/instructions/make.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::AccountInfo, cpi::invoke, instruction, program_error::ProgramError, pubkey::find_program_address, Associate... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_system::instructions::Transfer` [INFO] [stdout] --> src/instructions/make.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_system::instructions::Transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_token::instructions::AuthorityType` [INFO] [stdout] --> src/instructions/make.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pinocchio_token::instructions::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `instruction::Signer` and `self` [INFO] [stdout] --> src/instructions/take.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{self, AccountInfo}, instruction::Signer, program_error::ProgramError, ProgramResult}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_system::instructions::Transfer` [INFO] [stdout] --> src/instructions/take.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_system::instructions::Transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `instructions::CloseAccount` and `state::TokenAccount` [INFO] [stdout] --> src/instructions/take.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use pinocchio_token::{instructions::CloseAccount, state::TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refund::*` [INFO] [stdout] --> src/instructions/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use refund::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use state::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_system::instructions::Transfer` [INFO] [stdout] --> src/instructions/make.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_system::instructions::Transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_token::instructions::AuthorityType` [INFO] [stdout] --> src/instructions/make.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pinocchio_token::instructions::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `instruction::Signer` and `self` [INFO] [stdout] --> src/instructions/take.rs:1:32 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{self, AccountInfo}, instruction::Signer, program_error::ProgramError, ProgramResult}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_system::instructions::Transfer` [INFO] [stdout] --> src/instructions/take.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_system::instructions::Transfer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `instructions::CloseAccount` and `state::TokenAccount` [INFO] [stdout] --> src/instructions/take.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use pinocchio_token::{instructions::CloseAccount, state::TokenAccount}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `refund::*` [INFO] [stdout] --> src/instructions/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use refund::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::*` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use state::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `associated_token_program` in initializer of `MakeAccounts<'a>` [INFO] [stdout] --> src/instructions/make.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(Self { [INFO] [stdout] | ^^^^ missing `associated_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `associated_token_program` in initializer of `MakeAccounts<'a>` [INFO] [stdout] --> src/instructions/make.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(Self { [INFO] [stdout] | ^^^^ missing `associated_token_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramAccount` [INFO] [stdout] --> src/instructions/make.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | ProgramAccount::init::( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProgramAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/make.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Escrow::LEN [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramAccount` [INFO] [stdout] --> src/instructions/make.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | ProgramAccount::init::( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProgramAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/make.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | Escrow::LEN [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/make.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let escrow = Escrow::load_mut(data.as_mut())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/make.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let escrow = Escrow::load_mut(data.as_mut())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignerAccount` [INFO] [stdout] --> src/instructions/take.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | SignerAccount::check(taker)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SignerAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignerAccount` [INFO] [stdout] --> src/instructions/take.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | SignerAccount::check(taker)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SignerAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramAccount` [INFO] [stdout] --> src/instructions/take.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ProgramAccount::check(escrow)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProgramAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintInterface` [INFO] [stdout] --> src/instructions/take.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | MintInterface::check(mint_a)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MintInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintInterface` [INFO] [stdout] --> src/instructions/take.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | MintInterface::check(mint_b)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MintInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | AssociatedTokenAccount::check(taker_ata_b,taker,mint_b,token_program)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | AssociatedTokenAccount::check(vault,escrow,mint_a,token_program)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssociatedTokenAccount::init_if_needed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | AssociatedTokenAccount::init_if_needed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramAccount` [INFO] [stdout] --> src/instructions/take.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ProgramAccount::check(escrow)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ProgramAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintInterface` [INFO] [stdout] --> src/instructions/take.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | MintInterface::check(mint_a)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MintInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MintInterface` [INFO] [stdout] --> src/instructions/take.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | MintInterface::check(mint_b)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MintInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | AssociatedTokenAccount::check(taker_ata_b,taker,mint_b,token_program)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | AssociatedTokenAccount::check(vault,escrow,mint_a,token_program)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | AssociatedTokenAccount::init_if_needed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] --> src/instructions/take.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | AssociatedTokenAccount::init_if_needed( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AssociatedTokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_borrow_data` found for struct `TakeAccounts` in the current scope [INFO] [stdout] --> src/instructions/take.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TakeAccounts<'a> { [INFO] [stdout] | --------------------------- method `try_borrow_data` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | let data = self.accounts.try_borrow_data()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 89 | let data = self.accounts.escrow.try_borrow_data()?; [INFO] [stdout] | +++++++ [INFO] [stdout] 89 | let data = self.accounts.maker.try_borrow_data()?; [INFO] [stdout] | ++++++ [INFO] [stdout] 89 | let data = self.accounts.maker_ata_b.try_borrow_data()?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 89 | let data = self.accounts.mint_a.try_borrow_data()?; [INFO] [stdout] | +++++++ [INFO] [stdout] and 7 other candidates [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - let data = self.accounts.try_borrow_data()?; [INFO] [stdout] 89 + let data = self.accounts.borrow_mut()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `try_borrow_data` found for struct `TakeAccounts` in the current scope [INFO] [stdout] --> src/instructions/take.rs:89:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TakeAccounts<'a> { [INFO] [stdout] | --------------------------- method `try_borrow_data` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 89 | let data = self.accounts.try_borrow_data()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 89 | let data = self.accounts.escrow.try_borrow_data()?; [INFO] [stdout] | +++++++ [INFO] [stdout] 89 | let data = self.accounts.maker.try_borrow_data()?; [INFO] [stdout] | ++++++ [INFO] [stdout] 89 | let data = self.accounts.maker_ata_b.try_borrow_data()?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] 89 | let data = self.accounts.mint_a.try_borrow_data()?; [INFO] [stdout] | +++++++ [INFO] [stdout] and 7 other candidates [INFO] [stdout] help: there is a method `borrow_mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 89 - let data = self.accounts.try_borrow_data()?; [INFO] [stdout] 89 + let data = self.accounts.borrow_mut()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/take.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let escrow = Escrow::load(&data)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/instructions/take.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let escrow = Escrow::load(&data)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/take.rs:92:60 [INFO] [stdout] | [INFO] [stdout] 92 | ...m_address(&[b"escrow",self.accounts.maker.key(),&escrow.seed.to_le_bytes(), &escrow.bump], &crate::ID)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 32 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/instructions/take.rs:92:60 [INFO] [stdout] | [INFO] [stdout] 92 | ...m_address(&[b"escrow",self.accounts.maker.key(),&escrow.seed.to_le_bytes(), &escrow.bump], &crate::ID)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a size of 6, found one with a size of 32 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crate_program_address` in this scope [INFO] [stdout] --> src/instructions/take.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | ... let escrow_key = crate_program_address(&[b"escrow",self.accounts.maker.key(),&escrow.seed.to_le_bytes(), &escrow.bump], &crate::ID)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Refund` [INFO] [stdout] --> src/lib.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | Some((Refund::DISCRIMINATOR, _)) => Refund::try_from(accounts)?.process(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Refund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `crate_program_address` in this scope [INFO] [stdout] --> src/instructions/take.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | ... let escrow_key = crate_program_address(&[b"escrow",self.accounts.maker.key(),&escrow.seed.to_le_bytes(), &escrow.bump], &crate::ID)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Refund` [INFO] [stdout] --> src/lib.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | Some((Refund::DISCRIMINATOR, _)) => Refund::try_from(accounts)?.process(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Refund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Refund` [INFO] [stdout] --> src/lib.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | Some((Refund::DISCRIMINATOR, _)) => Refund::try_from(accounts)?.process(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Refund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Refund` [INFO] [stdout] --> src/lib.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | Some((Refund::DISCRIMINATOR, _)) => Refund::try_from(accounts)?.process(), [INFO] [stdout] | ^^^^^^ use of undeclared type `Refund` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blueshift_escrow` (lib) due to 26 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `blueshift_escrow` (lib test) due to 26 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09019531c29c995a18775179cbf822d40024c0676cb05d1e4327db986dc4b9ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09019531c29c995a18775179cbf822d40024c0676cb05d1e4327db986dc4b9ef", kill_on_drop: false }` [INFO] [stdout] 09019531c29c995a18775179cbf822d40024c0676cb05d1e4327db986dc4b9ef