[INFO] cloning repository https://github.com/nemanjab17/solana-escrow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nemanjab17/solana-escrow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemanjab17%2Fsolana-escrow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemanjab17%2Fsolana-escrow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff716eab99800cc2460fd30872b93ed51a7d36cb [INFO] testing nemanjab17/solana-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%2Fnemanjab17%2Fsolana-escrow" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 39% (158/396) Updating files: 40% (159/396) Updating files: 41% (163/396) Updating files: 42% (167/396) Updating files: 43% (171/396) Updating files: 44% (175/396) Updating files: 45% (179/396) Updating files: 46% (183/396) Updating files: 47% (187/396) Updating files: 48% (191/396) Updating files: 49% (195/396) Updating files: 50% (198/396) Updating files: 51% (202/396) Updating files: 52% (206/396) Updating files: 53% (210/396) Updating files: 54% (214/396) Updating files: 55% (218/396) Updating files: 56% (222/396) Updating files: 56% (224/396) Updating files: 57% (226/396) Updating files: 58% (230/396) Updating files: 59% (234/396) Updating files: 60% (238/396) Updating files: 61% (242/396) Updating files: 62% (246/396) Updating files: 63% (250/396) Updating files: 64% (254/396) Updating files: 65% (258/396) Updating files: 66% (262/396) Updating files: 67% (266/396) Updating files: 68% (270/396) Updating files: 69% (274/396) Updating files: 70% (278/396) Updating files: 71% (282/396) Updating files: 72% (286/396) Updating files: 73% (290/396) Updating files: 74% (294/396) Updating files: 75% (297/396) Updating files: 76% (301/396) Updating files: 77% (305/396) Updating files: 78% (309/396) Updating files: 78% (311/396) Updating files: 79% (313/396) Updating files: 80% (317/396) Updating files: 81% (321/396) Updating files: 82% (325/396) Updating files: 83% (329/396) Updating files: 84% (333/396) Updating files: 85% (337/396) Updating files: 86% (341/396) Updating files: 87% (345/396) Updating files: 88% (349/396) Updating files: 89% (353/396) Updating files: 90% (357/396) Updating files: 91% (361/396) Updating files: 92% (365/396) Updating files: 93% (369/396) Updating files: 94% (373/396) Updating files: 95% (377/396) Updating files: 96% (381/396) Updating files: 97% (385/396) Updating files: 98% (389/396) Updating files: 99% (393/396) Updating files: 100% (396/396) Updating files: 100% (396/396), done. [INFO] validating manifest of git repo https://github.com/nemanjab17/solana-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/nemanjab17/solana-escrow [INFO] finished tweaking git repo https://github.com/nemanjab17/solana-escrow [INFO] tweaked toml for git repo https://github.com/nemanjab17/solana-escrow written to /workspace/builds/worker-76/source/Cargo.toml [INFO] crate git repo https://github.com/nemanjab17/solana-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] 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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d831c1a9a6b072544101890a167f017ef7230af523a7e908c92542fc27b48eeb [INFO] running `Command { std: "docker" "start" "-a" "d831c1a9a6b072544101890a167f017ef7230af523a7e908c92542fc27b48eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d831c1a9a6b072544101890a167f017ef7230af523a7e908c92542fc27b48eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d831c1a9a6b072544101890a167f017ef7230af523a7e908c92542fc27b48eeb", kill_on_drop: false }` [INFO] [stdout] d831c1a9a6b072544101890a167f017ef7230af523a7e908c92542fc27b48eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b4d822d4fb5756a27248542694555cdd39110ab5dd6b122c60b60aa5708d240 [INFO] running `Command { std: "docker" "start" "-a" "0b4d822d4fb5756a27248542694555cdd39110ab5dd6b122c60b60aa5708d240", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [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 version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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 regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling solana-logger v1.8.1 [INFO] [stderr] Compiling rand v0.7.3 [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 bytemuck_derive v1.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.8.1 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [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 libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [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 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: expected one of `,`, `=`, or `}`, found `FinalizeEscrow` [INFO] [stdout] --> src/instruction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `=`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 23 | [INFO] [stdout] 24 | FinalizeEscrow { [INFO] [stdout] | ^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/processor.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | ) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 165 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenAccount` [INFO] [stdout] --> src/processor.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | TokenAccount::unpack(&token_temp_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `TokenAccount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl` [INFO] [stdout] --> src/processor.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | let transfer_ix = spl::token::transfer( [INFO] [stdout] | ^^^ use of undeclared crate or module `spl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/processor.rs:134:71 [INFO] [stdout] | [INFO] [stdout] 134 | if escrow_info.initializer_token_to_receive_account_pubkey != initializer_token_to_receive_account_pubkey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Pubkey`, found `&AccountInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `key` on type `Pubkey` [INFO] [stdout] --> src/processor.rs:149:51 [INFO] [stdout] | [INFO] [stdout] 149 | escrow_info.temp_token_account_pubkey.key, // src [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/processor.rs:98:95 [INFO] [stdout] | [INFO] [stdout] 98 | fn process_finalize_escrow(accounts: &[AccountInfo], amount: u64, program_id: &Pubkey) -> ProgramResult { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), ProgramError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bpf-program-template` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "0b4d822d4fb5756a27248542694555cdd39110ab5dd6b122c60b60aa5708d240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4d822d4fb5756a27248542694555cdd39110ab5dd6b122c60b60aa5708d240", kill_on_drop: false }` [INFO] [stdout] 0b4d822d4fb5756a27248542694555cdd39110ab5dd6b122c60b60aa5708d240