[INFO] cloning repository https://github.com/8bitstout/sol-escrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/8bitstout/sol-escrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitstout%2Fsol-escrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitstout%2Fsol-escrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72bae55f5aa4eac5d50c665db72b109965af7791 [INFO] testing 8bitstout/sol-escrow against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F8bitstout%2Fsol-escrow" "/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/8bitstout/sol-escrow on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/8bitstout/sol-escrow [INFO] finished tweaking git repo https://github.com/8bitstout/sol-escrow [INFO] tweaked toml for git repo https://github.com/8bitstout/sol-escrow written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/8bitstout/sol-escrow already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded curve25519-dalek v2.1.2 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.6.10 [INFO] [stderr] Downloaded solana-sdk-macro v1.6.10 [INFO] [stderr] Downloaded solana-program v1.6.10 [INFO] [stderr] Downloaded solana-logger v1.6.10 [INFO] [stderr] Downloaded solana-frozen-abi v1.6.10 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4b50ee399a8be97a37f2e04c2e56a7ff14e0ecea13c27db9b32b8618d706db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb4b50ee399a8be97a37f2e04c2e56a7ff14e0ecea13c27db9b32b8618d706db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4b50ee399a8be97a37f2e04c2e56a7ff14e0ecea13c27db9b32b8618d706db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4b50ee399a8be97a37f2e04c2e56a7ff14e0ecea13c27db9b32b8618d706db", kill_on_drop: false }` [INFO] [stdout] bb4b50ee399a8be97a37f2e04c2e56a7ff14e0ecea13c27db9b32b8618d706db [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6b3a8f86f35b4a991ec2ec72c021a341daa19811d1345241ff6e3a6ddd9ebfb8 [INFO] running `Command { std: "docker" "start" "-a" "6b3a8f86f35b4a991ec2ec72c021a341daa19811d1345241ff6e3a6ddd9ebfb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.10 [INFO] [stderr] Compiling solana-frozen-abi v1.6.10 [INFO] [stderr] Compiling solana-program v1.6.10 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [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 rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.6.10 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling solana-sdk-macro v1.6.10 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling generic-array v0.14.4 [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 sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling bpf-program-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::error::EscrowError::InvalidInstructions` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::EscrowError::InvalidInstructions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `InvalidInstruction` [INFO] [stdout] | no `InvalidInstructions` in `error::EscrowError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token` [INFO] [stdout] --> src/processor.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | if token_to_receive_account.owner != spl_token::id() { [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `spl_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | return Err(ProgramError::IncorrectProgramId); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let initalizer = 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 value `ProgramError` in this scope [INFO] [stdout] --> src/processor.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | return Err(ProgramError:MissingRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^- help: maybe you meant to write a path separator here: `::` [INFO] [stdout] | | [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/processor.rs:35:34 [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:37:40 [INFO] [stdout] | [INFO] [stdout] 37 | 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 value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:30:53 [INFO] [stdout] | [INFO] [stdout] 30 | let (tag, rest) = input.split_first().ok_or(InvalidInstruction)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::EscrowError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | _ => return Err(InvalidInstruction.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::EscrowError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | .ok_or(InvalidInstruction)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::EscrowError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "6b3a8f86f35b4a991ec2ec72c021a341daa19811d1345241ff6e3a6ddd9ebfb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3a8f86f35b4a991ec2ec72c021a341daa19811d1345241ff6e3a6ddd9ebfb8", kill_on_drop: false }` [INFO] [stdout] 6b3a8f86f35b4a991ec2ec72c021a341daa19811d1345241ff6e3a6ddd9ebfb8