[INFO] cloning repository https://github.com/jon-nona/solana-escrow-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jon-nona/solana-escrow-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0a132fd1002035e3ec8252b22fb9c8054665721 [INFO] checking jon-nona/solana-escrow-example/b0a132fd1002035e3ec8252b22fb9c8054665721 against master#0b278a539440be291466ea463a9b6310eaf4d7bb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jon-nona/solana-escrow-example [INFO] finished tweaking git repo https://github.com/jon-nona/solana-escrow-example [INFO] tweaked toml for git repo https://github.com/jon-nona/solana-escrow-example written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jon-nona/solana-escrow-example on toolchain 0b278a539440be291466ea463a9b6310eaf4d7bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jon-nona/solana-escrow-example 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" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.33 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.8.1 [INFO] [stderr] Downloaded solana-logger v1.8.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.8.1 [INFO] [stderr] Downloaded solana-program v1.8.1 [INFO] [stderr] Downloaded libc v0.2.109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8c5424272cf8680f8bcb07d25df2427e66712b078ff8235fa683b08795943ba [INFO] running `Command { std: "docker" "start" "-a" "d8c5424272cf8680f8bcb07d25df2427e66712b078ff8235fa683b08795943ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8c5424272cf8680f8bcb07d25df2427e66712b078ff8235fa683b08795943ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c5424272cf8680f8bcb07d25df2427e66712b078ff8235fa683b08795943ba", kill_on_drop: false }` [INFO] [stdout] d8c5424272cf8680f8bcb07d25df2427e66712b078ff8235fa683b08795943ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 106bcdf625509e40121b05c1d4f611bd95fc2d9086cfe70c50486eea0cd13f1d [INFO] running `Command { std: "docker" "start" "-a" "106bcdf625509e40121b05c1d4f611bd95fc2d9086cfe70c50486eea0cd13f1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling solana-frozen-abi v1.8.1 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling solana-program v1.8.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking solana-logger v1.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking solana_escrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/error.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror:Error; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror::Error; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error:ProgramError; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error::ProgramError; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 4 | use create::error:EscrowError::InvalidInstruction; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 4 | use create:error::EscrowError::InvalidInstruction; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/instruction.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self::unpack_amount(rest)?, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `unpack_amount` [INFO] [stdout] --> src/instruction.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl EscrowInstruction { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 40 | fun unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | | [INFO] [stdout] | help: write `fn` instead of `fun` to declare a function [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `::`, `as`, or `}`, found `msg` [INFO] [stdout] --> src/processor.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | entrypoint::ProgramResult [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `::`, `as`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/processor.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::{instruction::EscrowInstruction, error::EscrowError}; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/processor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError::MissinRequiredSignature); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/state.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey:Pubkey; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `entrypoint` is defined multiple times [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod entrypoint; [INFO] [stdout] | ------------------- previous definition of the module `entrypoint` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub mod entrypoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `entrypoint` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `entrypoint` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/error.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror:Error; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror::Error; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error:ProgramError; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error::ProgramError; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 4 | use create::error:EscrowError::InvalidInstruction; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 4 | use create:error::EscrowError::InvalidInstruction; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/instruction.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self::unpack_amount(rest)?, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `unpack_amount` [INFO] [stdout] --> src/instruction.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl EscrowInstruction { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 40 | fun unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | | [INFO] [stdout] | help: write `fn` instead of `fun` to declare a function [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `::`, `as`, or `}`, found `msg` [INFO] [stdout] --> src/processor.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | entrypoint::ProgramResult [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `::`, `as`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/processor.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::{instruction::EscrowInstruction, error::EscrowError}; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/processor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: use a double colon instead [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError::MissinRequiredSignature); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/state.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey:Pubkey; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `entrypoint` is defined multiple times [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod entrypoint; [INFO] [stdout] | ------------------- previous definition of the module `entrypoint` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub mod entrypoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `entrypoint` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `entrypoint` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `create` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `create` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `create`, use `cargo add create` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `create` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `create` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `create`, use `cargo add create` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::IncorrectProgramId); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let escrot_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> src/processor.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^ use of undeclared type `Rent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::rent::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state::Escrow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::AccountAlreadyInitialized); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-entrypoint` [INFO] [stdout] --> src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature = "no-entrypoint"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-entrypoint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/processor.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] 44 + if !rent.is_exempt(escrow_account.lamports(), escrow_account.data_len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::IncorrectProgramId); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let escrot_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> src/processor.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^ use of undeclared type `Rent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::rent::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state::Escrow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::AccountAlreadyInitialized); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `no-entrypoint` [INFO] [stdout] --> src/lib.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(not(feature = "no-entrypoint"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `no-entrypoint` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/instruction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/processor.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] 44 + if !rent.is_exempt(escrow_account.lamports(), escrow_account.data_len()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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[E0599]: no variant or associated item named `unpack_amount` found for enum `EscrowInstruction` in the current scope [INFO] [stdout] --> src/instruction.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EscrowInstruction { [INFO] [stdout] | -------------------------- variant or associated item `unpack_amount` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `EscrowInstruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `EscrowInstruction`, consider using `EscrowInstruction::unpack` which returns `Result` [INFO] [stdout] --> src/instruction.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unpack(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpack_amount` found for enum `EscrowInstruction` in the current scope [INFO] [stdout] --> src/instruction.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EscrowInstruction { [INFO] [stdout] | -------------------------- variant or associated item `unpack_amount` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `EscrowInstruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `EscrowInstruction`, consider using `EscrowInstruction::unpack` which returns `Result` [INFO] [stdout] --> src/instruction.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unpack(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana_escrow` (lib) due to 26 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `solana_escrow` (lib test) due to 26 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "106bcdf625509e40121b05c1d4f611bd95fc2d9086cfe70c50486eea0cd13f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106bcdf625509e40121b05c1d4f611bd95fc2d9086cfe70c50486eea0cd13f1d", kill_on_drop: false }` [INFO] [stdout] 106bcdf625509e40121b05c1d4f611bd95fc2d9086cfe70c50486eea0cd13f1d