[INFO] cloning repository https://github.com/jon-nona/solana-escrow-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jon-nona/solana-escrow-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0a132fd1002035e3ec8252b22fb9c8054665721 [INFO] checking jon-nona/solana-escrow-example against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jon-nona/solana-escrow-example 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/jon-nona/solana-escrow-example [INFO] finished tweaking git repo https://github.com/jon-nona/solana-escrow-example [INFO] tweaked toml for git repo https://github.com/jon-nona/solana-escrow-example written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jon-nona/solana-escrow-example 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-sdk-macro v1.8.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Downloaded solana-logger v1.8.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.8.1 [INFO] [stderr] Downloaded solana-program v1.8.1 [INFO] [stderr] Downloaded libc v0.2.109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] dedcfa237247e20def943ec7b0d983d0ce1b2445c408891e62023dcf3e67c908 [INFO] running `Command { std: "docker" "start" "-a" "dedcfa237247e20def943ec7b0d983d0ce1b2445c408891e62023dcf3e67c908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dedcfa237247e20def943ec7b0d983d0ce1b2445c408891e62023dcf3e67c908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedcfa237247e20def943ec7b0d983d0ce1b2445c408891e62023dcf3e67c908", kill_on_drop: false }` [INFO] [stdout] dedcfa237247e20def943ec7b0d983d0ce1b2445c408891e62023dcf3e67c908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0ebed64f1d94057ac4ed07ea1b3e94de077ac304a3f303c826303a48ec0f61a4 [INFO] running `Command { std: "docker" "start" "-a" "0ebed64f1d94057ac4ed07ea1b3e94de077ac304a3f303c826303a48ec0f61a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [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 libc v0.2.109 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling solana-frozen-abi v1.8.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling solana-program v1.8.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking env_logger v0.8.4 [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 solana-sdk-macro v1.8.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_bytes v0.11.5 [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 sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.8.1 [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 solana_escrow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/error.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror:Error; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/error.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use thiserror:Error; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error:ProgramError; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use solana_program::program_error:ProgramError; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/instruction.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/instruction.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/instruction.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `unpack_amount` [INFO] [stdout] --> src/instruction.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl EscrowInstruction { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 40 | fun unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | | [INFO] [stdout] | help: write `fn` instead of `fun` to declare a function [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `unpack_amount` [INFO] [stdout] --> src/instruction.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 26 | impl EscrowInstruction { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 40 | fun unpack_amount(input: &[u8]) -> Result { [INFO] [stdout] | --- ^^^^^^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] | | [INFO] [stdout] | help: write `fn` instead of `fun` to declare a function [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `::`, `as`, or `}`, found `msg` [INFO] [stdout] --> src/processor.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | entrypoint::ProgramResult [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `::`, `as`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `::`, `as`, or `}`, found `msg` [INFO] [stdout] --> src/processor.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | entrypoint::ProgramResult [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `,`, `::`, `as`, or `}` [INFO] [stdout] | help: missing `,` [INFO] [stdout] 4 | msg, [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/processor.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::{instruction::EscrowInstruction, error::EscrowError}; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `use` [INFO] [stdout] --> src/processor.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 7 | [INFO] [stdout] 8 | use crate::{instruction::EscrowInstruction, error::EscrowError}; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/processor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: path separator must be a double colon [INFO] [stdout] --> src/processor.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^ help: use a double colon instead: `::` [INFO] [stdout] | [INFO] [stdout] = note: if you meant to annotate an expression with a type, the type ascription syntax has been removed, see issue #101728 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/state.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey:Pubkey; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/state.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use solana_program::pubkey:Pubkey; [INFO] [stdout] | ^ help: use double colon [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `entrypoint` is defined multiple times [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod entrypoint; [INFO] [stdout] | ------------------- previous definition of the module `entrypoint` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub mod entrypoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `entrypoint` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `entrypoint` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `entrypoint` is defined multiple times [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod entrypoint; [INFO] [stdout] | ------------------- previous definition of the module `entrypoint` here [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub mod entrypoint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `entrypoint` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `entrypoint` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `create` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `create` [INFO] [stdout] --> src/instruction.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use create:error:EscrowError::InvalidInstruction; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `create` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let initializer = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | return Err(ProgramError:MissinRequiredSignature); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | let temp_token_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let token_to_receive_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::IncorrectProgramId); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(ProgramError::IncorrectProgramId); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let escrot_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let escrot_account = next_account_info(account_info_iter)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> src/processor.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^ use of undeclared type `Rent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::rent::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent` [INFO] [stdout] --> src/processor.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^ use of undeclared type `Rent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::rent::Rent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_account_info` in this scope [INFO] [stdout] --> src/processor.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let rent = &Rent::from_account_info(next_account_info(account_info_iter)?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::account_info::next_account_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | if(!rent.is_exempt(escrow_account.lamports(), escrow_account.data_len())) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state::Escrow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Escrow` [INFO] [stdout] --> src/processor.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Escrow` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::state::Escrow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::AccountAlreadyInitialized); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `escrow_account` in this scope [INFO] [stdout] --> src/processor.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | let mut escrow_info = Escrow::unpack_unchecked(&escrow_account.try_borrow_data()?)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `escrot_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> src/processor.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | return Err(ProgramError::AccountAlreadyInitialized); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use solana_program::sysvar::slot_history::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpack_amount` found for enum `EscrowInstruction` in the current scope [INFO] [stdout] --> src/instruction.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EscrowInstruction { [INFO] [stdout] | -------------------------- variant or associated item `unpack_amount` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `EscrowInstruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `EscrowInstruction`, consider using `EscrowInstruction::unpack` which returns `Result` [INFO] [stdout] --> src/instruction.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unpack(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `unpack_amount` found for enum `EscrowInstruction` in the current scope [INFO] [stdout] --> src/instruction.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum EscrowInstruction { [INFO] [stdout] | -------------------------- variant or associated item `unpack_amount` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 34 | amount: Self:unpack_amount(rest)?, [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `EscrowInstruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `EscrowInstruction`, consider using `EscrowInstruction::unpack` which returns `Result` [INFO] [stdout] --> src/instruction.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unpack(input: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana_escrow` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `solana_escrow` (lib test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "0ebed64f1d94057ac4ed07ea1b3e94de077ac304a3f303c826303a48ec0f61a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebed64f1d94057ac4ed07ea1b3e94de077ac304a3f303c826303a48ec0f61a4", kill_on_drop: false }` [INFO] [stdout] 0ebed64f1d94057ac4ed07ea1b3e94de077ac304a3f303c826303a48ec0f61a4 [INFO] checking jon-nona/solana-escrow-example against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjon-nona%2Fsolana-escrow-example" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jon-nona/solana-escrow-example on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jon-nona/solana-escrow-example [INFO] finished tweaking git repo https://github.com/jon-nona/solana-escrow-example [INFO] tweaked toml for git repo https://github.com/jon-nona/solana-escrow-example written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jon-nona/solana-escrow-example 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1c5f7b2da9e243a7ee1b05fe548a29d366345dd0f76169fee81dd8dc1f05de0 [INFO] running `Command { std: "docker" "start" "-a" "c1c5f7b2da9e243a7ee1b05fe548a29d366345dd0f76169fee81dd8dc1f05de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1c5f7b2da9e243a7ee1b05fe548a29d366345dd0f76169fee81dd8dc1f05de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c5f7b2da9e243a7ee1b05fe548a29d366345dd0f76169fee81dd8dc1f05de0", kill_on_drop: false }` [INFO] [stdout] c1c5f7b2da9e243a7ee1b05fe548a29d366345dd0f76169fee81dd8dc1f05de0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 901144dc0003b625db5d8748ccdb99964035d17a1570ef7e1e1b3e48ff81ac8c [INFO] running `Command { std: "docker" "start" "-a" "901144dc0003b625db5d8748ccdb99964035d17a1570ef7e1e1b3e48ff81ac8c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "901144dc0003b625db5d8748ccdb99964035d17a1570ef7e1e1b3e48ff81ac8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901144dc0003b625db5d8748ccdb99964035d17a1570ef7e1e1b3e48ff81ac8c", kill_on_drop: false }` [INFO] [stdout] 901144dc0003b625db5d8748ccdb99964035d17a1570ef7e1e1b3e48ff81ac8c