[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] checking nemanjab17/solana-escrow against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnemanjab17%2Fsolana-escrow" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 78% (309/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 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.8.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.8.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.8.1 [INFO] [stderr] Downloaded solana-program v1.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cade5544d1f2302e5dd4277344a0a9dba7069f5b2cea489e2b821207e714283 [INFO] running `Command { std: "docker" "start" "-a" "9cade5544d1f2302e5dd4277344a0a9dba7069f5b2cea489e2b821207e714283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cade5544d1f2302e5dd4277344a0a9dba7069f5b2cea489e2b821207e714283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cade5544d1f2302e5dd4277344a0a9dba7069f5b2cea489e2b821207e714283", kill_on_drop: false }` [INFO] [stdout] 9cade5544d1f2302e5dd4277344a0a9dba7069f5b2cea489e2b821207e714283 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c72095f2bb519827f395b34094c7c827ab0e2c0d76ca9d67482eceb2fd45fef [INFO] running `Command { std: "docker" "start" "-a" "9c72095f2bb519827f395b34094c7c827ab0e2c0d76ca9d67482eceb2fd45fef", 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 version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi v1.8.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling solana-program v1.8.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking solana-logger v1.8.1 [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 num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-sdk-macro v1.8.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Checking borsh v0.9.1 [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] Checking num_enum v0.5.4 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking 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 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: 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 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[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[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 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[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 `Pubkey`, found `&AccountInfo<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Pubkey` [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 `Pubkey`, found `&AccountInfo<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `Pubkey` [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[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 `Result<(), ProgramError>`, 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[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 `Result<(), ProgramError>`, 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] [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` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bpf-program-template` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9c72095f2bb519827f395b34094c7c827ab0e2c0d76ca9d67482eceb2fd45fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c72095f2bb519827f395b34094c7c827ab0e2c0d76ca9d67482eceb2fd45fef", kill_on_drop: false }` [INFO] [stdout] 9c72095f2bb519827f395b34094c7c827ab0e2c0d76ca9d67482eceb2fd45fef