[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 beta-2022-04-10 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: 8% (32/396) Updating files: 9% (36/396) Updating files: 10% (40/396) Updating files: 11% (44/396) Updating files: 12% (48/396) Updating files: 13% (52/396) Updating files: 14% (56/396) Updating files: 15% (60/396) Updating files: 16% (64/396) Updating files: 17% (68/396) Updating files: 18% (72/396) Updating files: 19% (76/396) Updating files: 20% (80/396) Updating files: 21% (84/396) Updating files: 22% (88/396) Updating files: 23% (92/396) Updating files: 24% (96/396) Updating files: 25% (99/396) Updating files: 26% (103/396) Updating files: 27% (107/396) Updating files: 28% (111/396) Updating files: 29% (115/396) Updating files: 30% (119/396) Updating files: 31% (123/396) Updating files: 32% (127/396) Updating files: 33% (131/396) Updating files: 34% (135/396) Updating files: 35% (139/396) Updating files: 36% (143/396) Updating files: 37% (147/396) Updating files: 38% (151/396) Updating files: 39% (155/396) Updating files: 40% (159/396) Updating files: 41% (163/396) Updating files: 41% (166/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: 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: 61% (245/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: 77% (306/396) 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 841361b0b696088b8898689cc2e7593715b084febb533fc95b70905ee4c38bb2 [INFO] running `Command { std: "docker" "start" "-a" "841361b0b696088b8898689cc2e7593715b084febb533fc95b70905ee4c38bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "841361b0b696088b8898689cc2e7593715b084febb533fc95b70905ee4c38bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "841361b0b696088b8898689cc2e7593715b084febb533fc95b70905ee4c38bb2", kill_on_drop: false }` [INFO] [stdout] 841361b0b696088b8898689cc2e7593715b084febb533fc95b70905ee4c38bb2 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dffef28f75504856aa0388d729ae7be1950759b9d33b083e3a2dc04a0cecfb5a [INFO] running `Command { std: "docker" "start" "-a" "dffef28f75504856aa0388d729ae7be1950759b9d33b083e3a2dc04a0cecfb5a", kill_on_drop: false }` [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 ppv-lite86 v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling zeroize v1.4.3 [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 generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling regex v1.5.4 [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 digest v0.8.1 [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 curve25519-dalek v2.1.3 [INFO] [stderr] Compiling solana-logger v1.8.1 [INFO] [stderr] Compiling rand v0.7.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 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 bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling sha2 v0.9.8 [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" "dffef28f75504856aa0388d729ae7be1950759b9d33b083e3a2dc04a0cecfb5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffef28f75504856aa0388d729ae7be1950759b9d33b083e3a2dc04a0cecfb5a", kill_on_drop: false }` [INFO] [stdout] dffef28f75504856aa0388d729ae7be1950759b9d33b083e3a2dc04a0cecfb5a