[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.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlow-Biboux%2FSerenityShield" "/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/Flow-Biboux/SerenityShield on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anchor-spl v0.19.0
[INFO] [stderr]   Downloaded anchor-lang v0.19.0
[INFO] [stderr]   Downloaded sha3 v0.10.1
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 234c2350398b8f1cc46a0980bac8dae30ab0ad410aa5a780f2a3af7bf8b26681
[INFO] running `Command { std: "docker" "start" "-a" "234c2350398b8f1cc46a0980bac8dae30ab0ad410aa5a780f2a3af7bf8b26681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "234c2350398b8f1cc46a0980bac8dae30ab0ad410aa5a780f2a3af7bf8b26681", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "234c2350398b8f1cc46a0980bac8dae30ab0ad410aa5a780f2a3af7bf8b26681", kill_on_drop: false }`
[INFO] [stdout] 234c2350398b8f1cc46a0980bac8dae30ab0ad410aa5a780f2a3af7bf8b26681
[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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81f53ce8ed083c6264cf073bd41d7ac8d4bc12972c8b3e062773a5765362ca65
[INFO] running `Command { std: "docker" "start" "-a" "81f53ce8ed083c6264cf073bd41d7ac8d4bc12972c8b3e062773a5765362ca65", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling semver v1.0.6
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling yansi v0.5.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.79
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling wasm-bindgen v0.2.79
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling memmap2 v0.5.3
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[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 v0.7.3
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling regex v1.5.5
[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 serde_derive v1.0.136
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling solana-sdk-macro v1.10.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.79
[INFO] [stderr]    Compiling bytemuck v1.8.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.79
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling toml v0.5.8
[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 block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[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 proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling anchor-syn v0.19.0
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling 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-account v0.19.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.19.0
[INFO] [stderr]    Compiling anchor-attribute-state v0.19.0
[INFO] [stderr]    Compiling anchor-attribute-error 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-interface v0.19.0
[INFO] [stderr]    Compiling anchor-derive-accounts 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] [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<CheckReferral>) -> 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] [stderr]    Compiling spl-associated-token-account v1.0.3
[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]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[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]   --> /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/alloc/src/string.rs:365:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `String` defined here
[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]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[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]    = help: the following other types implement trait `anchor_lang::ToAccountMetas`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              AccountMeta
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]            and 76 others
[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 `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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `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: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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `CpiContext`
[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]    = help: the following other types implement trait `anchor_lang::ToAccountMetas`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              AccountMeta
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]            and 76 others
[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 `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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `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]    = help: the following other types implement trait `anchor_lang::ToAccountMetas`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              AccountMeta
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]            and 76 others
[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 `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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `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: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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `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: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]    = help: the following other types implement trait `anchor_lang::ToAccountMetas`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              AccountMeta
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]            and 76 others
[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 `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]    = help: the following other types implement trait `anchor_lang::ToAccountInfos<'info>`:
[INFO] [stdout]              AccountLoader<'info, T>
[INFO] [stdout]              Box<T>
[INFO] [stdout]              CpiAccount<'info, T>
[INFO] [stdout]              CpiState<'info, T>
[INFO] [stdout]              CpiStateContext<'a, 'b, 'c, 'info, T>
[INFO] [stdout]              Ctor<'info>
[INFO] [stdout]              IdlAccounts<'info>
[INFO] [stdout]              IdlCreateBuffer<'info>
[INFO] [stdout]            and 53 others
[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 `CpiContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> programs/presale/src/lib.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         vesting::cpi::initialize_vesting(
[INFO] [stdout]    |         -------------------------------- arguments to this function are incorrect
[INFO] [stdout] 62 |             cpi_vesting_ctx,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ expected `CpiContext<'_, '_, '_, '_, InitializeVesting<'_>>`, found `CpiContext<'_, '_, '_, '_, 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] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/programs/vesting/src/lib.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub fn initialize_vesting(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 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 27 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "81f53ce8ed083c6264cf073bd41d7ac8d4bc12972c8b3e062773a5765362ca65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81f53ce8ed083c6264cf073bd41d7ac8d4bc12972c8b3e062773a5765362ca65", kill_on_drop: false }`
[INFO] [stdout] 81f53ce8ed083c6264cf073bd41d7ac8d4bc12972c8b3e062773a5765362ca65
