[INFO] cloning repository https://github.com/inafis/solana-escrow-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inafis/solana-escrow-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finafis%2Fsolana-escrow-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finafis%2Fsolana-escrow-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d648cf981e5d8ff4bd1d91112f70ddc5d5b70192 [INFO] testing inafis/solana-escrow-contract against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finafis%2Fsolana-escrow-contract" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inafis/solana-escrow-contract on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inafis/solana-escrow-contract [INFO] finished tweaking git repo https://github.com/inafis/solana-escrow-contract [INFO] tweaked toml for git repo https://github.com/inafis/solana-escrow-contract written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate git repo https://github.com/inafis/solana-escrow-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e79e2ef1cc70ba498be727837d2b1eb4c1dd94c25f9fcfa710a7377361436150 [INFO] running `Command { std: "docker" "start" "-a" "e79e2ef1cc70ba498be727837d2b1eb4c1dd94c25f9fcfa710a7377361436150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e79e2ef1cc70ba498be727837d2b1eb4c1dd94c25f9fcfa710a7377361436150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79e2ef1cc70ba498be727837d2b1eb4c1dd94c25f9fcfa710a7377361436150", kill_on_drop: false }` [INFO] [stdout] e79e2ef1cc70ba498be727837d2b1eb4c1dd94c25f9fcfa710a7377361436150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feedea3bff5a0c6e567d3d8a1d86efce38874469335352242dd1b168be427b04 [INFO] running `Command { std: "docker" "start" "-a" "feedea3bff5a0c6e567d3d8a1d86efce38874469335352242dd1b168be427b04", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.3.4 [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 opaque-debug v0.3.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.8 [INFO] [stderr] Compiling solana-frozen-abi v1.7.8 [INFO] [stderr] Compiling solana-program v1.7.8 [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 cc v1.0.70 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.7.8 [INFO] [stderr] Compiling synstructure v0.12.5 [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.28 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.8 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling toml v0.5.8 [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 libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.6 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [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.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 borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling bpf-program-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/instruction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::EscrowError::InvalidInstruction; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `spl_token::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error` [INFO] [stdout] --> src/processor.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{error::EscrowError, instruction::EscrowInstruction}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `spl_token::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.data.borrow())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | 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 spl_token::error::TokenError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | _ => 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 spl_token::error::TokenError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `InvalidInstruction` in this scope [INFO] [stdout] --> src/instruction.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | .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 spl_token::error::TokenError::InvalidInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_info_inter` in this scope [INFO] [stdout] --> src/processor.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | let escrow_account = next_account_info(account_info_inter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `account_info_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IsInitialized` [INFO] [stdout] --> src/processor.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | program_pack::{IsInitialized, Pack}, [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:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | program_pack::{IsInitialized, Pack}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [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 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "feedea3bff5a0c6e567d3d8a1d86efce38874469335352242dd1b168be427b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feedea3bff5a0c6e567d3d8a1d86efce38874469335352242dd1b168be427b04", kill_on_drop: false }` [INFO] [stdout] feedea3bff5a0c6e567d3d8a1d86efce38874469335352242dd1b168be427b04