[INFO] cloning repository https://github.com/lievander/solana-template
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lievander/solana-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flievander%2Fsolana-template", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flievander%2Fsolana-template'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0806f587559599fe5b9d15711484fd3f4a457b63
[INFO] testing lievander/solana-template against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flievander%2Fsolana-template" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lievander/solana-template on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lievander/solana-template
[INFO] finished tweaking git repo https://github.com/lievander/solana-template
[INFO] tweaked toml for git repo https://github.com/lievander/solana-template written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/lievander/solana-template already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1257dfd0eafcaef8da4ff5b3b8aac8ab8cc15ec67082bb16177c713d272e73c8
[INFO] running `Command { std: "docker" "start" "-a" "1257dfd0eafcaef8da4ff5b3b8aac8ab8cc15ec67082bb16177c713d272e73c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1257dfd0eafcaef8da4ff5b3b8aac8ab8cc15ec67082bb16177c713d272e73c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1257dfd0eafcaef8da4ff5b3b8aac8ab8cc15ec67082bb16177c713d272e73c8", kill_on_drop: false }`
[INFO] [stdout] 1257dfd0eafcaef8da4ff5b3b8aac8ab8cc15ec67082bb16177c713d272e73c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e9e6772a5eee1e769e8534ee6c8327dd5017448a0be18e910c978202c1cadc7
[INFO] running `Command { std: "docker" "start" "-a" "8e9e6772a5eee1e769e8534ee6c8327dd5017448a0be18e910c978202c1cadc7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling libc v0.2.109
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling rustversion v1.0.5
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling keccak v0.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.8.1
[INFO] [stderr]    Compiling solana-frozen-abi v1.8.1
[INFO] [stderr]    Compiling solana-program v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling jobserver v0.1.24
[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 cc v1.0.72
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stderr]    Compiling blake3 v0.3.8
[INFO] [stderr]    Compiling solana-logger v1.8.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling zeroize_derive v1.2.2
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling solana-sdk-macro v1.8.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling bytemuck v1.7.2
[INFO] [stderr]    Compiling zeroize v1.4.3
[INFO] [stderr]    Compiling curve25519-dalek v2.1.3
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[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 proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.0
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.8
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.4
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.5.0
[INFO] [stderr]    Compiling num_enum v0.5.4
[INFO] [stderr]    Compiling borsh v0.9.1
[INFO] [stderr]    Compiling spl-token v3.2.0
[INFO] [stderr]    Compiling bpf-program-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `Ok`
[INFO] [stdout]   --> src/entrypoint.rs:19:63
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Processor::process(program_id, accounts, instruction_data)
[INFO] [stdout]    |                                                               ^ help: add `;` here
[INFO] [stdout] 20 |     Ok(())
[INFO] [stdout]    |     -- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `::`, `;`, or `as`, found `:`
[INFO] [stdout]  --> src/instruction.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert:TryInto;
[INFO] [stdout]   |                 ^ expected one of `::`, `;`, or `as`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0255]: the name `EscrowError` is defined multiple times
[INFO] [stdout]  --> src/error.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{instruction::EscrowInstruction, error::EscrowError};
[INFO] [stdout]   |                                             ------------------ previous import of the type `EscrowError` here
[INFO] [stdout] ...
[INFO] [stdout] 9 | pub enum EscrowError {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ `EscrowError` redefined here
[INFO] [stdout]   |
[INFO] [stdout]   = note: `EscrowError` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{instruction::EscrowInstruction, error::EscrowError as OtherEscrowError};
[INFO] [stdout]   |                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::instruction::EscrowInstruction`
[INFO] [stdout]  --> src/error.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{instruction::EscrowInstruction, error::EscrowError};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EscrowInstruction` in `instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::instruction::EscrowInstruction`, `crate::state`
[INFO] [stdout]   --> src/processor.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::{instruction::EscrowInstruction, error::EscrowError, state::Escrow};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                      ^^^^^
[INFO] [stdout]    |             |                                                   |
[INFO] [stdout]    |             |                                                   unresolved import
[INFO] [stdout]    |             |                                                   help: a similar path exists: `spl_token::state`
[INFO] [stdout]    |             no `EscrowInstruction` in `instruction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `msg` in this scope
[INFO] [stdout]   --> src/entrypoint.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     msg!(
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing this macro:
[INFO] [stdout]            solana_program::msg
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenAccount`
[INFO] [stdout]    --> src/processor.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |             TokenAccount::unpack(&pdas_temp_token_account.try_borrow_data()?)?;
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `TokenAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invoke` in this scope
[INFO] [stdout]   --> src/processor.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |         invoke(
[INFO] [stdout]    |         ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use solana_program::program::invoke;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invoke` in this scope
[INFO] [stdout]    --> src/processor.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         invoke(
[INFO] [stdout]     |         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 1   | use solana_program::program::invoke;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope
[INFO] [stdout]    --> src/processor.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         invoke_signed(
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 1   | use solana_program::program::invoke_signed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invoke_signed` in this scope
[INFO] [stdout]    --> src/processor.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 |         invoke_signed(
[INFO] [stdout]     |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 1   | use solana_program::program::invoke_signed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::EscrowError`
[INFO] [stdout]  --> src/error.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::{instruction::EscrowInstruction, error::EscrowError};
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pack`
[INFO] [stdout]  --> src/processor.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     program_pack::{Pack, IsInitialized},
[INFO] [stdout]   |                    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/entrypoint.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Processor::process(program_id, accounts, instruction_data)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: consider using a semicolon here
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected `()`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                    found enum `Result<(), ProgramError>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `NotRentExempt` found for enum `EscrowError` in the current scope
[INFO] [stdout]   --> src/processor.rs:54:37
[INFO] [stdout]    |
[INFO] [stdout] 54 |             return Err(EscrowError::NotRentExempt.into());
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ variant or associated item not found in `EscrowError`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/error.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum EscrowError {
[INFO] [stdout]    | -------------------- variant or associated item `NotRentExempt` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ExpectedAmountMismatch` found for enum `EscrowError` in the current scope
[INFO] [stdout]    --> src/processor.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 115 |             return Err(EscrowError::ExpectedAmountMismatch.into());
[INFO] [stdout]     |                                     ^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `EscrowError`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/error.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout] 9   | pub enum EscrowError {
[INFO] [stdout]     | -------------------- variant or associated item `ExpectedAmountMismatch` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IsInitialized`
[INFO] [stdout]  --> src/processor.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     program_pack::{Pack, IsInitialized},
[INFO] [stdout]   |                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0255, E0308, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0255`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bpf-program-template` due to 15 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8e9e6772a5eee1e769e8534ee6c8327dd5017448a0be18e910c978202c1cadc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e9e6772a5eee1e769e8534ee6c8327dd5017448a0be18e910c978202c1cadc7", kill_on_drop: false }`
[INFO] [stdout] 8e9e6772a5eee1e769e8534ee6c8327dd5017448a0be18e910c978202c1cadc7
