[INFO] cloning repository https://github.com/kbug0007/anchor-escrow-new [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kbug0007/anchor-escrow-new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbug0007%2Fanchor-escrow-new", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbug0007%2Fanchor-escrow-new'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c32896fc2ad33a71fd1fc44e13b5ecdbb461526 [INFO] testing kbug0007/anchor-escrow-new against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkbug0007%2Fanchor-escrow-new" "/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/kbug0007/anchor-escrow-new 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/kbug0007/anchor-escrow-new [INFO] finished tweaking git repo https://github.com/kbug0007/anchor-escrow-new [INFO] tweaked toml for git repo https://github.com/kbug0007/anchor-escrow-new written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/kbug0007/anchor-escrow-new 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 anchor-spl v0.18.2 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] d579c7e273e77f515622909c24daf2396f3bec7024c761f1c960ce77b97b54cf [INFO] running `Command { std: "docker" "start" "-a" "d579c7e273e77f515622909c24daf2396f3bec7024c761f1c960ce77b97b54cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d579c7e273e77f515622909c24daf2396f3bec7024c761f1c960ce77b97b54cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d579c7e273e77f515622909c24daf2396f3bec7024c761f1c960ce77b97b54cf", kill_on_drop: false }` [INFO] [stdout] d579c7e273e77f515622909c24daf2396f3bec7024c761f1c960ce77b97b54cf [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=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] cf52b8092fd9d99790863ed8a89163aaf84b8fad99827732a78fb9cff2f07481 [INFO] running `Command { std: "docker" "start" "-a" "cf52b8092fd9d99790863ed8a89163aaf84b8fad99827732a78fb9cff2f07481", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.81 [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 block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.3 [INFO] [stderr] Compiling solana-frozen-abi v1.8.3 [INFO] [stderr] Compiling solana-program v1.8.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-logger v1.8.3 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [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 anchor-syn v0.18.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult 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 anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.18.2 [INFO] [stderr] Compiling anchor_escrow v0.1.0 (/opt/rustwide/workdir/programs/anchor-escrow-new) [INFO] [stdout] error[E0432]: unresolved import `crate` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::instructions::__client_accounts_accept` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Make` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ctx: Context, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::instruction::Make [INFO] [stdout] crate::instructions::Make [INFO] [stdout] crate::instructions::__client_accounts_make::Make [INFO] [stdout] crate::instructions::__cpi_client_accounts_make::Make [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn accept(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::instruction::Accept [INFO] [stdout] crate::instructions::Accept [INFO] [stdout] crate::instructions::__client_accounts_accept::Accept [INFO] [stdout] crate::instructions::__cpi_client_accounts_accept::Accept [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cancel` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn cancel(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::instruction::Cancel [INFO] [stdout] crate::instructions::Cancel [INFO] [stdout] crate::instructions::__client_accounts_cancel::Cancel [INFO] [stdout] crate::instructions::__cpi_client_accounts_cancel::Cancel [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Make` in this scope [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ctx: Context, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instruction::Make; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::Make; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__client_accounts_make::Make; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__cpi_client_accounts_make::Make; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Accept` in this scope [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn accept(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instruction::Accept; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::Accept; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__client_accounts_accept::Accept; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__cpi_client_accounts_accept::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cancel` in this scope [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn cancel(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instruction::Cancel; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::Cancel; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__client_accounts_cancel::Cancel; [INFO] [stdout] | [INFO] [stdout] 15 | use crate::instructions::__cpi_client_accounts_cancel::Cancel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `associated_token::AssociatedToken` [INFO] [stdout] --> programs/anchor-escrow-new/src/instructions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `associated_token::AssociatedToken` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | associated_token::AssociatedToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | token::{Mint, Token, TokenAccount}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::*` [INFO] [stdout] --> programs/anchor-escrow-new/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::state::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anchor_escrow` due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cf52b8092fd9d99790863ed8a89163aaf84b8fad99827732a78fb9cff2f07481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf52b8092fd9d99790863ed8a89163aaf84b8fad99827732a78fb9cff2f07481", kill_on_drop: false }` [INFO] [stdout] cf52b8092fd9d99790863ed8a89163aaf84b8fad99827732a78fb9cff2f07481