[INFO] cloning repository https://github.com/sbezavvs/solrise-program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbezavvs/solrise-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbezavvs%2Fsolrise-program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbezavvs%2Fsolrise-program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd9d0c1bf6bbb679e3cd59a130c87642337b603f [INFO] checking sbezavvs/solrise-program/cd9d0c1bf6bbb679e3cd59a130c87642337b603f against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbezavvs%2Fsolrise-program" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sbezavvs/solrise-program [INFO] finished tweaking git repo https://github.com/sbezavvs/solrise-program [INFO] tweaked toml for git repo https://github.com/sbezavvs/solrise-program written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sbezavvs/solrise-program on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sbezavvs/solrise-program 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking sbezavvs/solrise-program/cd9d0c1bf6bbb679e3cd59a130c87642337b603f against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbezavvs%2Fsolrise-program" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sbezavvs/solrise-program [INFO] finished tweaking git repo https://github.com/sbezavvs/solrise-program [INFO] tweaked toml for git repo https://github.com/sbezavvs/solrise-program written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sbezavvs/solrise-program on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sbezavvs/solrise-program 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-sdk-macro v1.18.2 [INFO] [stderr] Downloaded ahash v0.8.8 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.2 [INFO] [stderr] Downloaded bumpalo v3.15.0 [INFO] [stderr] Downloaded rayon v1.8.1 [INFO] [stderr] Downloaded syn v2.0.49 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.18.2 [INFO] [stderr] Downloaded solana-program v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6486cb2a0c37d67ffcd40d377536750dea81ffbe692e87794320810cb526b18 [INFO] running `Command { std: "docker" "start" "-a" "b6486cb2a0c37d67ffcd40d377536750dea81ffbe692e87794320810cb526b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6486cb2a0c37d67ffcd40d377536750dea81ffbe692e87794320810cb526b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6486cb2a0c37d67ffcd40d377536750dea81ffbe692e87794320810cb526b18", kill_on_drop: false }` [INFO] [stdout] b6486cb2a0c37d67ffcd40d377536750dea81ffbe692e87794320810cb526b18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc3b7c5e0817fe34fbd49fecb59f5adef2cfd81c2ca26078d8e4a95c231ea695 [INFO] running `Command { std: "docker" "start" "-a" "dc3b7c5e0817fe34fbd49fecb59f5adef2cfd81c2ca26078d8e4a95c231ea695", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bumpalo v3.15.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.2 [INFO] [stderr] Compiling borsh v1.3.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling solana-frozen-abi v1.18.2 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling solana-program v1.18.2 [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 proc-macro-crate v3.1.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking borsh v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling solana-sdk-macro v1.18.2 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling borsh-derive v1.3.1 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking tiny-bip39 v0.8.2 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-bn254 v0.4.0 [INFO] [stderr] Checking light-poseidon v0.2.0 [INFO] [stderr] Checking solrise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/state/user.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[accounts] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item after attributes [INFO] [stdout] --> src/state/user.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[accounts] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_lang`, use `cargo add anchor_lang` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anchor_lang::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor_lang` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anchor_lang`, use `cargo add anchor_lang` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/state/project.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `program` in this scope [INFO] [stdout] --> src/lib.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[program] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `account` in this scope [INFO] [stdout] --> src/state/project.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[account] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stage` in this scope [INFO] [stdout] --> src/state/project.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub stages: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrowdfundingProject { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateProject` in this scope [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_project( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | address: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `instructions::create_project` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | instructions::create_project(ctx, id, name, funding_goal, funding_deadline, address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | instructions::create_project(ctx, id, name, funding_goal, funding_deadline, address) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader_deprecated::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader_upgradeable::id; [INFO] [stdout] | [INFO] [stdout] = and 22 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Stage` in this scope [INFO] [stdout] --> src/state/project.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub stages: Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CrowdfundingProject { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Donate` in this scope [INFO] [stdout] --> src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: Context, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn donate( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | origin_address: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `instructions::donate` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | instructions::donate(ctx, project_id, amount) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `program_error::ProgramError`, and `self` [INFO] [stdout] --> src/state/project.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::{self, AccountInfo}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | entrypoint::ProgramResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateProject` in this scope [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | ctx: Context, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub fn create_project( [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | address: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `instructions::create_project` [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | instructions::create_project(ctx, id, name, funding_goal, funding_deadline, address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> src/lib.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | instructions::create_project(ctx, id, name, funding_goal, funding_deadline, address) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader_deprecated::id; [INFO] [stdout] | [INFO] [stdout] 8 + use solana_program::bpf_loader_upgradeable::id; [INFO] [stdout] | [INFO] [stdout] = and 22 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: Context, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Donate` in this scope [INFO] [stdout] --> src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | ctx: Context, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 23 | pub fn donate( [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | origin_address: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `instructions::donate` [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | instructions::donate(ctx, project_id, amount) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AccountInfo`, `entrypoint::ProgramResult`, `program_error::ProgramError`, and `self` [INFO] [stdout] --> src/state/project.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::{self, AccountInfo}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | entrypoint::ProgramResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | program_error::ProgramError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `owner` [INFO] [stdout] --> src/state/project.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | owner, [INFO] [stdout] | ^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `target_amount` [INFO] [stdout] --> src/state/project.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | target_amount, [INFO] [stdout] | ^^^^^^^^^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `current_amount` [INFO] [stdout] --> src/state/project.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | current_amount: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_amount` on type `&mut CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | self.current_amount += amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_amount` on type `&CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_amount >= self.target_amount [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `target_amount` on type `&CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_amount >= self.target_amount [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `owner` [INFO] [stdout] --> src/state/project.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | owner, [INFO] [stdout] | ^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `target_amount` [INFO] [stdout] --> src/state/project.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | target_amount, [INFO] [stdout] | ^^^^^^^^^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `CrowdfundingProject` has no field named `current_amount` [INFO] [stdout] --> src/state/project.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | current_amount: 0, [INFO] [stdout] | ^^^^^^^^^^^^^^ `CrowdfundingProject` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_amount` on type `&mut CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | self.current_amount += amount; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `current_amount` on type `&CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_amount >= self.target_amount [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `target_amount` on type `&CrowdfundingProject` [INFO] [stdout] --> src/state/project.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 37 | self.current_amount >= self.target_amount [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `project_id`, `name`, `funding_goal`, `funding_deadline`, `project_address`, `stages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0423, E0425, E0433, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0423, E0425, E0433, E0560, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solrise` (lib test) due to 22 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `solrise` (lib) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dc3b7c5e0817fe34fbd49fecb59f5adef2cfd81c2ca26078d8e4a95c231ea695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3b7c5e0817fe34fbd49fecb59f5adef2cfd81c2ca26078d8e4a95c231ea695", kill_on_drop: false }` [INFO] [stdout] dc3b7c5e0817fe34fbd49fecb59f5adef2cfd81c2ca26078d8e4a95c231ea695