[INFO] cloning repository https://github.com/SolanaEngineer/atlas-vesting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SolanaEngineer/atlas-vesting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaEngineer%2Fatlas-vesting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaEngineer%2Fatlas-vesting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6fc59237e08e4c986573c24160674b8c45c4595b [INFO] checking SolanaEngineer/atlas-vesting against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolanaEngineer%2Fatlas-vesting" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SolanaEngineer/atlas-vesting on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SolanaEngineer/atlas-vesting [INFO] finished tweaking git repo https://github.com/SolanaEngineer/atlas-vesting [INFO] tweaked toml for git repo https://github.com/SolanaEngineer/atlas-vesting written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SolanaEngineer/atlas-vesting already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8964e79e9b695ced7c3f2f3bf1771c88b18811a128152356f4377cb36347def1 [INFO] running `Command { std: "docker" "start" "-a" "8964e79e9b695ced7c3f2f3bf1771c88b18811a128152356f4377cb36347def1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8964e79e9b695ced7c3f2f3bf1771c88b18811a128152356f4377cb36347def1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8964e79e9b695ced7c3f2f3bf1771c88b18811a128152356f4377cb36347def1", kill_on_drop: false }` [INFO] [stdout] 8964e79e9b695ced7c3f2f3bf1771c88b18811a128152356f4377cb36347def1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 167db468f5cb37878e9b48781932342937c7c1ca5dcdf8212e399f82119bb828 [INFO] running `Command { std: "docker" "start" "-a" "167db468f5cb37878e9b48781932342937c7c1ca5dcdf8212e399f82119bb828", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.48 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi v1.8.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling solana-program v1.8.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking uint v0.8.5 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking solana-logger v1.8.5 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Checking borsh v0.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [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 sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling anchor-syn v0.18.2 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking borsh v0.9.1 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking anchor-lang v0.18.2 [INFO] [stderr] Checking spl-math v0.1.0 [INFO] [stderr] Checking spl-associated-token-account v1.0.3 [INFO] [stderr] Checking anchor-spl v0.18.2 [INFO] [stderr] Checking atlas_vesting_v1 v0.1.0 (/opt/rustwide/workdir/programs/atlas-vesting) [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:112:57 [INFO] [stdout] | [INFO] [stdout] 112 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:117:57 [INFO] [stdout] | [INFO] [stdout] 117 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:154:57 [INFO] [stdout] | [INFO] [stdout] 154 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:187:57 [INFO] [stdout] | [INFO] [stdout] 187 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found `#` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:187:57 [INFO] [stdout] | [INFO] [stdout] 187 | pub pool_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:193:57 [INFO] [stdout] | [INFO] [stdout] 193 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, or `}`, found keyword `pub` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:193:57 [INFO] [stdout] | [INFO] [stdout] 193 | pub user_vesting_token: Account<'info, TokenAccount> [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,` [INFO] [stdout] --> programs/atlas-vesting/src/instructions.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | #[account(mut, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_claim` 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/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ could not find `__client_accounts_deposit_vesting` 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::utils` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_create_vesting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | utils::* [INFO] [stdout] | ^^^^^ could not find `utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_create_vesting.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | utils::* [INFO] [stdout] | ^^^^^ could not find `utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtlasVestingError` [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | return Err(AtlasVestingError::NotAllowed.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AtlasVestingError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::AtlasVestingError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithdrawVestng` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct WithdrawVesting<'info> { [INFO] [stdout] | --------------------------------- similarly named struct `WithdrawVesting` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtlasVestingError` [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | return Err(AtlasVestingError::NotAllowed.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AtlasVestingError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::AtlasVestingError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WithdrawVestng` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct WithdrawVesting<'info> { [INFO] [stdout] | --------------------------------- similarly named struct `WithdrawVesting` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let pending = (remained_amount as u128) [INFO] [stdout] | _______________________^ [INFO] [stdout] 43 | | .checked_mul(remained_amount as u128) [INFO] [stdout] 44 | | .unwrap_or(0)? [INFO] [stdout] | |__________________________^ the `?` operator cannot be applied to type `u128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn pending_amount(&self, remained_amount: u64, cur_time: u64)->u64 { [INFO] [stdout] | ---------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 44 | .unwrap_or(0)? [INFO] [stdout] | ^ cannot use the `?` operator in a method that returns `u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let pending = (remained_amount as u128) [INFO] [stdout] | _______________________^ [INFO] [stdout] 43 | | .checked_mul(remained_amount as u128) [INFO] [stdout] 44 | | .unwrap_or(0)? [INFO] [stdout] | |__________________________^ the `?` operator cannot be applied to type `u128` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> programs/atlas-vesting/src/states.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn pending_amount(&self, remained_amount: u64, cur_time: u64)->u64 { [INFO] [stdout] | ---------------------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 44 | .unwrap_or(0)? [INFO] [stdout] | ^ cannot use the `?` operator in a method that returns `u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_vesting_time` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_create_vesting.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert_vesting_time(start_time, end_time)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_vesting_time` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_create_vesting.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert_vesting_time(start_time, end_time)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_vesting_time` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_update_vesting.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | assert_vesting_time(start_time, end_time)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_vesting_time` in this scope [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_update_vesting.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | assert_vesting_time(start_time, end_time)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | if amount > ctx.accounts.vesting.pool_vesting_token.amount { [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | if amount > ctx.accounts.vesting.pool_vesting_token.amount { [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | _amount = ctx.accounts.vesting.pool_vesting_token.amount; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | _amount = ctx.accounts.vesting.pool_vesting_token.amount; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_claim.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | let amount = ctx.accounts.vesting.pending_amount(ctx.accounts.vesting.pool_vesting_token.amount, cur_time); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `amount` on type `anchor_lang::prelude::Pubkey` [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_claim.rs:13:94 [INFO] [stdout] | [INFO] [stdout] 13 | let amount = ctx.accounts.vesting.pending_amount(ctx.accounts.vesting.pool_vesting_token.amount, cur_time); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instructions::DepositVesting` in the current scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `DepositVesting<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct DepositVesting<'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] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/convert/mod.rs:611:5 [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 `instructions::DepositVesting<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `instructions::DepositVesting<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info>`: [INFO] [stdout] AccountLoader<'info, T> [INFO] [stdout] Approve<'info> [INFO] [stdout] Box [INFO] [stdout] Burn<'info> [INFO] [stdout] CloseAccount<'info> [INFO] [stdout] CpiAccount<'info, T> [INFO] [stdout] CpiState<'info, T> [INFO] [stdout] Ctor<'info> [INFO] [stdout] and 25 others [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.18.2/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 18 | 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[E0433]: failed to resolve: use of undeclared type `WithdrawVestng` [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `WithdrawVestng` [INFO] [stdout] | help: a struct with a similar name exists: `WithdrawVesting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instructions::DepositVesting` in the current scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `DepositVesting<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct DepositVesting<'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] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/convert/mod.rs:611:5 [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 `instructions::DepositVesting<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `instructions::DepositVesting<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info>`: [INFO] [stdout] AccountLoader<'info, T> [INFO] [stdout] Approve<'info> [INFO] [stdout] Box [INFO] [stdout] Burn<'info> [INFO] [stdout] CloseAccount<'info> [INFO] [stdout] CpiAccount<'info, T> [INFO] [stdout] CpiState<'info, T> [INFO] [stdout] Ctor<'info> [INFO] [stdout] and 25 others [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.18.2/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 18 | 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[E0433]: failed to resolve: use of undeclared type `WithdrawVestng` [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `WithdrawVestng` [INFO] [stdout] | help: a struct with a similar name exists: `WithdrawVesting` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instructions::Claim` in the current scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Claim<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Claim<'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] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/convert/mod.rs:611:5 [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 `instructions::Claim<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `instructions::Claim<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info>`: [INFO] [stdout] AccountLoader<'info, T> [INFO] [stdout] Approve<'info> [INFO] [stdout] Box [INFO] [stdout] Burn<'info> [INFO] [stdout] CloseAccount<'info> [INFO] [stdout] CpiAccount<'info, T> [INFO] [stdout] CpiState<'info, T> [INFO] [stdout] Ctor<'info> [INFO] [stdout] and 25 others [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.18.2/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 18 | 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[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | process_withdraw_vesting(ctx, amount, global_state_nonce, vesting_nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------ an argument of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | ...fn process_withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8, vesting_pool_nonce: u8) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------- ----------- --------------------- ---------------- ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | process_withdraw_vesting(ctx, amount, global_state_nonce, vesting_nonce, /* u8 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `instructions::Claim` in the current scope [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Claim<'_>` [INFO] [stdout] | [INFO] [stdout] ::: programs/atlas-vesting/src/instructions.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Claim<'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] help: there is a method `try_into` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/convert/mod.rs:611:5 [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 `instructions::Claim<'_>: anchor_lang::Accounts<'_>` is not satisfied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[program] [INFO] [stdout] | ^^^^^^^^^^ the trait `anchor_lang::Accounts<'_>` is not implemented for `instructions::Claim<'_>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `anchor_lang::Accounts<'info>`: [INFO] [stdout] AccountLoader<'info, T> [INFO] [stdout] Approve<'info> [INFO] [stdout] Box [INFO] [stdout] Burn<'info> [INFO] [stdout] CloseAccount<'info> [INFO] [stdout] CpiAccount<'info, T> [INFO] [stdout] CpiState<'info, T> [INFO] [stdout] Ctor<'info> [INFO] [stdout] and 25 others [INFO] [stdout] note: required by a bound in `anchor_lang::Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.18.2/src/context.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b, 'c, 'info, T: Accounts<'info>> Context<'a, 'b, 'c, 'info, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Context::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] 18 | 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[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> programs/atlas-vesting/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | process_withdraw_vesting(ctx, amount, global_state_nonce, vesting_nonce) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------ an argument of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> programs/atlas-vesting/src/processor/process_withdraw_vesting.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | ...fn process_withdraw_vesting(ctx: Context, amount: u64, global_state_nonce:u8, vesting_nonce:u8, vesting_pool_nonce: u8) -... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------- ----------- --------------------- ---------------- ---------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 38 | process_withdraw_vesting(ctx, amount, global_state_nonce, vesting_nonce, /* u8 */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atlas_vesting_v1` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `atlas_vesting_v1` (lib test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "167db468f5cb37878e9b48781932342937c7c1ca5dcdf8212e399f82119bb828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "167db468f5cb37878e9b48781932342937c7c1ca5dcdf8212e399f82119bb828", kill_on_drop: false }` [INFO] [stdout] 167db468f5cb37878e9b48781932342937c7c1ca5dcdf8212e399f82119bb828