[INFO] cloning repository https://github.com/kelvinkirima014/solTrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kelvinkirima014/solTrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d15284c150090fff28c71e72a8fefdc803eac487 [INFO] testing kelvinkirima014/solTrust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkelvinkirima014%2FsolTrust" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kelvinkirima014/solTrust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kelvinkirima014/solTrust [INFO] finished tweaking git repo https://github.com/kelvinkirima014/solTrust [INFO] tweaked toml for git repo https://github.com/kelvinkirima014/solTrust written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/kelvinkirima014/solTrust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73fc6b829612ea9fa14a41476c0b2a1ba59e6d4ba08186dbb64946f8aeb2e878 [INFO] running `Command { std: "docker" "start" "-a" "73fc6b829612ea9fa14a41476c0b2a1ba59e6d4ba08186dbb64946f8aeb2e878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73fc6b829612ea9fa14a41476c0b2a1ba59e6d4ba08186dbb64946f8aeb2e878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73fc6b829612ea9fa14a41476c0b2a1ba59e6d4ba08186dbb64946f8aeb2e878", kill_on_drop: false }` [INFO] [stdout] 73fc6b829612ea9fa14a41476c0b2a1ba59e6d4ba08186dbb64946f8aeb2e878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf29ef15746cabee8dce0eb2dbcba3db4fa96a89eaf71af87f7d0df24250402f [INFO] running `Command { std: "docker" "start" "-a" "cf29ef15746cabee8dce0eb2dbcba3db4fa96a89eaf71af87f7d0df24250402f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.4 [INFO] [stderr] Compiling solana-frozen-abi v1.7.4 [INFO] [stderr] Compiling solana-program v1.7.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.7.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-sdk-macro v1.7.4 [INFO] [stderr] Compiling thiserror v1.0.26 [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 crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling borsh-derive v0.9.0 [INFO] [stderr] Compiling num_enum_derive v0.5.3 [INFO] [stderr] Compiling borsh v0.9.0 [INFO] [stderr] Compiling num_enum v0.5.3 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling bpf-program-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | let escrow_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let token_program = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 7 arguments were supplied [INFO] [stdout] --> src/processor.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let owner_change_ix = spl_token::instruction::set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 6 arguments [INFO] [stdout] 66 | token_program.key, [INFO] [stdout] | ----------------- [INFO] [stdout] 67 | temp_token_account, [INFO] [stdout] | ------------------ [INFO] [stdout] 68 | temp_token_account.key, [INFO] [stdout] | ---------------------- [INFO] [stdout] 69 | Some(&pda), [INFO] [stdout] | ---------- [INFO] [stdout] 70 | spl_token::instruction::AuthorityType::AccountOwner, [INFO] [stdout] | --------------------------------------------------- [INFO] [stdout] 71 | initializer.key, [INFO] [stdout] | --------------- [INFO] [stdout] 72 | &[&initializer.key], [INFO] [stdout] | ------------------- supplied 7 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/spl-token-3.2.0/src/instruction.rs:826:8 [INFO] [stdout] | [INFO] [stdout] 826 | pub fn set_authority( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "cf29ef15746cabee8dce0eb2dbcba3db4fa96a89eaf71af87f7d0df24250402f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf29ef15746cabee8dce0eb2dbcba3db4fa96a89eaf71af87f7d0df24250402f", kill_on_drop: false }` [INFO] [stdout] cf29ef15746cabee8dce0eb2dbcba3db4fa96a89eaf71af87f7d0df24250402f