[INFO] cloning repository https://github.com/Cryptopragmatist/solanaquestbook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cryptopragmatist/solanaquestbook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptopragmatist%2Fsolanaquestbook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptopragmatist%2Fsolanaquestbook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a284499c0bf8961a928f2de5edcb51f488711c0a [INFO] checking Cryptopragmatist/solanaquestbook against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptopragmatist%2Fsolanaquestbook" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cryptopragmatist/solanaquestbook on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cryptopragmatist/solanaquestbook [INFO] finished tweaking git repo https://github.com/Cryptopragmatist/solanaquestbook [INFO] tweaked toml for git repo https://github.com/Cryptopragmatist/solanaquestbook written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Cryptopragmatist/solanaquestbook already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f41e5176f2226d486d356d59fea63f7fcc3152c2d5a655e04b9cab20a3d681b [INFO] running `Command { std: "docker" "start" "-a" "5f41e5176f2226d486d356d59fea63f7fcc3152c2d5a655e04b9cab20a3d681b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f41e5176f2226d486d356d59fea63f7fcc3152c2d5a655e04b9cab20a3d681b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f41e5176f2226d486d356d59fea63f7fcc3152c2d5a655e04b9cab20a3d681b", kill_on_drop: false }` [INFO] [stdout] 5f41e5176f2226d486d356d59fea63f7fcc3152c2d5a655e04b9cab20a3d681b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f926510d103939d321ee9a2f3c1cfb6d7f0d6b9ce2f9d05263b48b14e6aef32 [INFO] running `Command { std: "docker" "start" "-a" "4f926510d103939d321ee9a2f3c1cfb6d7f0d6b9ce2f9d05263b48b14e6aef32", kill_on_drop: false }` [INFO] [stderr] Checking questbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `borsh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | msg!("{}",campaign_account_data.campaign_amount - campaign_account_data.campaign_fulfilled); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `entrypoint` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> src/lib.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `borsh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `solana_program` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use solana_program::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `msg` [INFO] [stdout] --> src/lib.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | msg!("{}",campaign_account_data.campaign_amount - campaign_account_data.campaign_fulfilled); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `entrypoint` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize` [INFO] [stdout] --> src/lib.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(BorshSerialize, BorshDeserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub campaign_owner: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | program_id: &Pubkey, // program identifier , needed to call the program and for solana to execute [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | accounts: &[AccountInfo], //list of accounts involved [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/lib.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let campaign_account = next_account_info(accounts_iter)?; //the 1st account in the array will be the owner of the campaign and can wi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/lib.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | let campaign_owner_account = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub campaign_owner: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> src/lib.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | program_id: &Pubkey, // program identifier , needed to call the program and for solana to execute [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | accounts: &[AccountInfo], //list of accounts involved [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope [INFO] [stdout] --> src/lib.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/lib.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | let campaign_account = next_account_info(accounts_iter)?; //the 1st account in the array will be the owner of the campaign and can wi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/lib.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | let campaign_owner_account = next_account_info(accounts_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `CampaignAccount` in the current scope [INFO] [stdout] --> src/lib.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CampaignAccount { [INFO] [stdout] | -------------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | let mut campaign_account_data = CampaignAccount::try_from_slice(&campaign_account.data.borrow())?; // add CampaignAccount data to t... [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `CampaignAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `CampaignAccount` in the current scope [INFO] [stdout] --> src/lib.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CampaignAccount { [INFO] [stdout] | -------------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] ... [INFO] [stdout] 58 | let mut campaign_account_data = CampaignAccount::try_from_slice(&campaign_account.data.borrow())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `CampaignAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `questbook` due to 16 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `CampaignAccount` in the current scope [INFO] [stdout] --> src/lib.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CampaignAccount { [INFO] [stdout] | -------------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] ... [INFO] [stdout] 47 | let mut campaign_account_data = CampaignAccount::try_from_slice(&campaign_account.data.borrow())?; // add CampaignAccount data to t... [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `CampaignAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `CampaignAccount` in the current scope [INFO] [stdout] --> src/lib.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CampaignAccount { [INFO] [stdout] | -------------------------- function or associated item `try_from_slice` not found for this [INFO] [stdout] ... [INFO] [stdout] 58 | let mut campaign_account_data = CampaignAccount::try_from_slice(&campaign_account.data.borrow())?; [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `CampaignAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4f926510d103939d321ee9a2f3c1cfb6d7f0d6b9ce2f9d05263b48b14e6aef32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f926510d103939d321ee9a2f3c1cfb6d7f0d6b9ce2f9d05263b48b14e6aef32", kill_on_drop: false }` [INFO] [stdout] 4f926510d103939d321ee9a2f3c1cfb6d7f0d6b9ce2f9d05263b48b14e6aef32