[INFO] cloning repository https://github.com/Flow-Biboux/SerenityShield [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Flow-Biboux/SerenityShield" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlow-Biboux%2FSerenityShield", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlow-Biboux%2FSerenityShield'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9110a99eb0add8ef20691ceedeed16cb182fe515 [INFO] testing Flow-Biboux/SerenityShield against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlow-Biboux%2FSerenityShield" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Flow-Biboux/SerenityShield on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Flow-Biboux/SerenityShield [INFO] finished tweaking git repo https://github.com/Flow-Biboux/SerenityShield [INFO] tweaked toml for git repo https://github.com/Flow-Biboux/SerenityShield written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Flow-Biboux/SerenityShield already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79fabaec1431265e7c4405cc59f8e5c3c204c42ef9c26beb0870ec0654553930 [INFO] running `Command { std: "docker" "start" "-a" "79fabaec1431265e7c4405cc59f8e5c3c204c42ef9c26beb0870ec0654553930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79fabaec1431265e7c4405cc59f8e5c3c204c42ef9c26beb0870ec0654553930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79fabaec1431265e7c4405cc59f8e5c3c204c42ef9c26beb0870ec0654553930", kill_on_drop: false }` [INFO] [stdout] 79fabaec1431265e7c4405cc59f8e5c3c204c42ef9c26beb0870ec0654553930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c94ce54a8d9157c8a43fb3d9116e4201dbcf120c209b0f9ca5610685b23d765a [INFO] running `Command { std: "docker" "start" "-a" "c94ce54a8d9157c8a43fb3d9116e4201dbcf120c209b0f9ca5610685b23d765a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.0 [INFO] [stderr] Compiling solana-frozen-abi v1.10.0 [INFO] [stderr] Compiling solana-program v1.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling anchor-syn v0.19.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-program v0.19.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.19.0 [INFO] [stderr] Compiling anchor-attribute-error v0.19.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.19.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.19.0 [INFO] [stderr] Compiling anchor-attribute-event v0.19.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.19.0 [INFO] [stderr] Compiling anchor-attribute-state v0.19.0 [INFO] [stderr] Compiling anchor-attribute-account v0.19.0 [INFO] [stderr] Compiling anchor-lang v0.19.0 [INFO] [stderr] Compiling spl-token v3.3.0 [INFO] [stderr] Compiling referral v0.1.0 (/opt/rustwide/workdir/programs/referral) [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/referral/src/lib.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn check_referral(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling anchor-spl v0.19.0 [INFO] [stderr] Compiling vesting v0.1.0 (/opt/rustwide/workdir/programs/vesting) [INFO] [stdout] warning: value assigned to `unreleased_token` is never read [INFO] [stdout] --> programs/vesting/src/lib.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut unreleased_token = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `unreleased_token` is never read [INFO] [stdout] --> programs/vesting/src/lib.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut unreleased_token = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling presale v0.1.0 (/opt/rustwide/workdir/programs/presale) [INFO] [stdout] error[E0423]: expected value, found struct `Pubkey` [INFO] [stdout] --> programs/presale/src/lib.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | beneficiary: Pubkey, [INFO] [stdout] | ^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `i64` [INFO] [stdout] --> programs/presale/src/lib.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | start_ts: i64, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `i64` [INFO] [stdout] --> programs/presale/src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | cliff_ts: i64, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `i64` [INFO] [stdout] --> programs/presale/src/lib.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | duration: i64, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `bool` [INFO] [stdout] --> programs/presale/src/lib.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | revocable: bool, [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Pubkey` [INFO] [stdout] --> programs/presale/src/lib.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | owner: Pubkey, [INFO] [stdout] | ^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Pubkey` [INFO] [stdout] --> programs/presale/src/lib.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | mint: Pubkey, [INFO] [stdout] | ^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u64` [INFO] [stdout] --> programs/presale/src/lib.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | total_deposited_amount: u64, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `u64` [INFO] [stdout] --> programs/presale/src/lib.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | released_amount: u64, [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found builtin type `bool` [INFO] [stdout] --> programs/presale/src/lib.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | revoked: bool, [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `String` [INFO] [stdout] --> programs/presale/src/lib.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | promo_code: String, [INFO] [stdout] | ^^^^^^ help: use struct literal syntax instead: `String { vec: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found struct `Pubkey` [INFO] [stdout] --> programs/presale/src/lib.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | vesting_pubkey: Pubkey, [INFO] [stdout] | ^^^^^^ constructor is not visible here due to private fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cliff_ts` in this scope [INFO] [stdout] --> programs/presale/src/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | cliff_ts: i64, [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `duration` in this scope [INFO] [stdout] --> programs/presale/src/lib.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | duration: i64, [INFO] [stdout] | ^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `revocable` in this scope [INFO] [stdout] --> programs/presale/src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | revocable: bool, [INFO] [stdout] | ^^^^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InitializeVesting`, `Revoke`, `Withdraw` [INFO] [stdout] --> programs/presale/src/lib.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use vesting::cpi::accounts::{InitializeVesting, Revoke, Withdraw}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `referral::cpi::accounts::CheckReferral` [INFO] [stdout] --> programs/presale/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use referral::cpi::accounts::CheckReferral; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/presale/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | /// minimum money / max ? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | let cpi_vesting = ctx.accounts.vesting_program.to_account_info(); [INFO] [stdout] | ----------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/presale/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// whitelist ? [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | let cpi_vesting = ctx.accounts.vesting_program.to_account_info(); [INFO] [stdout] | ----------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/presale/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | /// [INFO] [stdout] 27 | let cpi_vesting = ctx.accounts.vesting_program.to_account_info(); [INFO] [stdout] | ----------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/presale/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | /// [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | let cpi_vesting = ctx.accounts.vesting_program.to_account_info(); [INFO] [stdout] | ----------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `vesting::VestingAccount: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | let cpi_vesting_ctx = CpiContext::new(cpi_vesting, cpi_vesting_accounts); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `vesting::VestingAccount` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `vesting::VestingAccount: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | let cpi_vesting_ctx = CpiContext::new(cpi_vesting, cpi_vesting_accounts); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `vesting::VestingAccount` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `vesting::VestingAccount: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let cpi_vesting_ctx = CpiContext::new(cpi_vesting, cpi_vesting_accounts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `vesting::VestingAccount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `vesting::VestingAccount: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | let cpi_vesting_ctx = CpiContext::new(cpi_vesting, cpi_vesting_accounts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `vesting::VestingAccount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `referral::ReferralAccount: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | let cpi_referral_ctx = CpiContext::new(cpi_referral, cpi_referral_accounts); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `referral::ReferralAccount` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `referral::ReferralAccount: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | let cpi_referral_ctx = CpiContext::new(cpi_referral, cpi_referral_accounts); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `referral::ReferralAccount` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext::<'a, 'b, 'c, 'info, T>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `referral::ReferralAccount: anchor_lang::ToAccountMetas` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let cpi_referral_ctx = CpiContext::new(cpi_referral, cpi_referral_accounts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountMetas` is not implemented for `referral::ReferralAccount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `referral::ReferralAccount: anchor_lang::ToAccountInfos<'_>` is not satisfied [INFO] [stdout] --> programs/presale/src/lib.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | let cpi_referral_ctx = CpiContext::new(cpi_referral, cpi_referral_accounts); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `anchor_lang::ToAccountInfos<'_>` is not implemented for `referral::ReferralAccount` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `anchor_lang::CpiContext` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.19.0/src/context.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | T: ToAccountMetas + ToAccountInfos<'info>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `anchor_lang::CpiContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> programs/presale/src/lib.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | cpi_vesting_ctx, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `vesting::cpi::accounts::InitializeVesting`, found struct `vesting::VestingAccount` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `anchor_lang::CpiContext<'_, '_, '_, '_, vesting::cpi::accounts::InitializeVesting<'_>>` [INFO] [stdout] found struct `anchor_lang::CpiContext<'_, '_, '_, '_, vesting::VestingAccount>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `presale` due to 25 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c94ce54a8d9157c8a43fb3d9116e4201dbcf120c209b0f9ca5610685b23d765a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94ce54a8d9157c8a43fb3d9116e4201dbcf120c209b0f9ca5610685b23d765a", kill_on_drop: false }` [INFO] [stdout] c94ce54a8d9157c8a43fb3d9116e4201dbcf120c209b0f9ca5610685b23d765a