[INFO] cloning repository https://github.com/happybigmtn/pinocchio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/happybigmtn/pinocchio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappybigmtn%2Fpinocchio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappybigmtn%2Fpinocchio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f05b52ad22c8d2ad85fa4a6d0ec9a6ab25ab203d [INFO] testing happybigmtn/pinocchio against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappybigmtn%2Fpinocchio" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/happybigmtn/pinocchio [INFO] finished tweaking git repo https://github.com/happybigmtn/pinocchio [INFO] tweaked toml for git repo https://github.com/happybigmtn/pinocchio written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/happybigmtn/pinocchio on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/happybigmtn/pinocchio 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6ad5735f4766b695b15e9ce95880d1d9d1666cbf759fa945a74b8afd33048d6 [INFO] running `Command { std: "docker" "start" "-a" "c6ad5735f4766b695b15e9ce95880d1d9d1666cbf759fa945a74b8afd33048d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6ad5735f4766b695b15e9ce95880d1d9d1666cbf759fa945a74b8afd33048d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6ad5735f4766b695b15e9ce95880d1d9d1666cbf759fa945a74b8afd33048d6", kill_on_drop: false }` [INFO] [stdout] c6ad5735f4766b695b15e9ce95880d1d9d1666cbf759fa945a74b8afd33048d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2afa4ea3513d845876bbc65dd0dadf5cb918ed556b2196ec1585a9b146f71b67 [INFO] running `Command { std: "docker" "start" "-a" "2afa4ea3513d845876bbc65dd0dadf5cb918ed556b2196ec1585a9b146f71b67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling solana-program-memory v2.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling pinocchio v0.8.4 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pinocchio-pubkey v0.2.4 [INFO] [stderr] Compiling solana-native-token v2.2.1 [INFO] [stderr] Compiling pinocchio-system v0.2.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling pinocchio-log-macro v0.4.1 [INFO] [stderr] Compiling pinocchio-log v0.4.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling solana-hash v2.2.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling shank_macro_impl v0.4.3 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling solana-sha256-hasher v2.2.1 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling shank_render v0.4.3-alpha.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling shank_macro v0.4.3-alpha.1 [INFO] [stderr] Compiling shank v0.4.3-alpha.1 [INFO] [stderr] Compiling myproject v0.1.0 (/opt/rustwide/workdir/program) [INFO] [stdout] error: expected identifier, found keyword `pub` [INFO] [stdout] --> program/src/processor/initialize_system.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn initialize_system( [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `::`, `;`, or `as`, found keyword `fn` [INFO] [stdout] --> program/src/processor/initialize_system.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn initialize_system( [INFO] [stdout] | ^^ expected one of `::`, `;`, or `as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> program/src/processor/craps_instruction.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | rng_authority: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> program/src/processor/craps_instruction.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | epochs: Vec, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope [INFO] [stdout] --> program/src/processor/craps_instruction.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | new_authority: Pubkey, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::pubkey::Pubkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgramError` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:10:54 [INFO] [stdout] | [INFO] [stdout] 10 | try_from_slice(instruction_data).map_err(|_| ProgramError::InvalidInstructionData)?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ProgramError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use pinocchio::program_error::ProgramError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | processor::initialize_system(program_id, accounts, rng_authority) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::processor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 14 | processor::initialize_system(program_id, accounts, rng_authority) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 14 | processor::initialize_system(program_id, accounts, rng_authority) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 16 | InitializePlayer => processor::initialize_player(program_id, accounts), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 16 | InitializePlayer => processor::initialize_player(program_id, accounts), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:17:50 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | Deposit { amount } => processor::deposit(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | Deposit { amount } => processor::deposit(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:18:52 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | Withdraw { amount } => processor::withdraw(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | Withdraw { amount } => processor::withdraw(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 24 | program_id, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 25 | accounts, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `repeater_target` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | repeater_target, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | RollDice => processor::roll_dice(program_id, accounts), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:31:54 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 31 | RollDice => processor::roll_dice(program_id, accounts), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-pubkey v2.2.1 [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:32:57 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | SettleBets { epochs } => processor::settle_bets(program_id, accounts, epochs), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:32:69 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | SettleBets { epochs } => processor::settle_bets(program_id, accounts, epochs), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `myproject` (lib) due to 37 previous errors; 3 warnings emitted [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:33:54 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | PauseGame { pause } => processor::pause_game(program_id, accounts, pause), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:33:66 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 33 | PauseGame { pause } => processor::pause_game(program_id, accounts, pause), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `program_id` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:35:41 [INFO] [stdout] | [INFO] [stdout] 5 | _program_id: &Pubkey, [INFO] [stdout] | ----------- `_program_id` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | processor::update_authority(program_id, accounts, new_authority) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_program_id` marks it as unused, consider renaming it to `program_id` [INFO] [stdout] | [INFO] [stdout] 5 - _program_id: &Pubkey, [INFO] [stdout] 5 + program_id: &Pubkey, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 6 | _accounts: &[AccountInfo], [INFO] [stdout] | --------- `_accounts` defined here [INFO] [stdout] ... [INFO] [stdout] 35 | processor::update_authority(program_id, accounts, new_authority) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_accounts` marks it as unused, consider renaming it to `accounts` [INFO] [stdout] | [INFO] [stdout] 6 - _accounts: &[AccountInfo], [INFO] [stdout] 6 + accounts: &[AccountInfo], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `msg` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio::{account_info::AccountInfo, msg, pubkey::Pubkey, ProgramResult}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initialize_system::*` [INFO] [stdout] --> program/src/processor/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use initialize_system::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `program_error::ProgramError` [INFO] [stdout] --> program/src/entrypoint.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | account_info::AccountInfo, entrypoint, program_error::ProgramError, pubkey::Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0566]: conflicting representation hints [INFO] [stdout] --> program/src/instructions.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | #[repr(C, u8)] [INFO] [stdout] | ^ ^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #68585 [INFO] [stdout] = note: `#[deny(conflicting_repr_hints)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_from_slice` in this scope [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | try_from_slice(instruction_data).map_err(|_| ProgramError::InvalidInstructionData)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | InitializePlayer => processor::initialize_player(program_id, accounts), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | Deposit { amount } => processor::deposit(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | Withdraw { amount } => processor::withdraw(program_id, accounts, amount), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | } => processor::place_bet( [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | RollDice => processor::roll_dice(program_id, accounts), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | SettleBets { epochs } => processor::settle_bets(program_id, accounts, epochs), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | PauseGame { pause } => processor::pause_game(program_id, accounts, pause), [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `processor` [INFO] [stdout] --> program/src/processor/dispatch_instruction.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | processor::update_authority(program_id, accounts, new_authority) [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `processor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `processor`, use `cargo add processor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0566. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2afa4ea3513d845876bbc65dd0dadf5cb918ed556b2196ec1585a9b146f71b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afa4ea3513d845876bbc65dd0dadf5cb918ed556b2196ec1585a9b146f71b67", kill_on_drop: false }` [INFO] [stdout] 2afa4ea3513d845876bbc65dd0dadf5cb918ed556b2196ec1585a9b146f71b67