[INFO] cloning repository https://github.com/alizeeshan1234/pinocchio_perpetuals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alizeeshan1234/pinocchio_perpetuals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fpinocchio_perpetuals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fpinocchio_perpetuals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2830b7b113c2a435c136207784da86e744ca202 [INFO] testing alizeeshan1234/pinocchio_perpetuals against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fpinocchio_perpetuals" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 58% (4186/7185) Updating files: 59% (4240/7185) Updating files: 60% (4311/7185) Updating files: 61% (4383/7185) Updating files: 62% (4455/7185) Updating files: 62% (4463/7185) Updating files: 63% (4527/7185) Updating files: 64% (4599/7185) Updating files: 65% (4671/7185) Updating files: 65% (4716/7185) Updating files: 66% (4743/7185) Updating files: 67% (4814/7185) Updating files: 67% (4824/7185) Updating files: 68% (4886/7185) Updating files: 69% (4958/7185) Updating files: 70% (5030/7185) Updating files: 71% (5102/7185) Updating files: 72% (5174/7185) Updating files: 73% (5246/7185) Updating files: 73% (5266/7185) Updating files: 74% (5317/7185) Updating files: 75% (5389/7185) Updating files: 76% (5461/7185) Updating files: 77% (5533/7185) Updating files: 78% (5605/7185) Updating files: 79% (5677/7185) Updating files: 79% (5720/7185) Updating files: 80% (5748/7185) Updating files: 81% (5820/7185) Updating files: 82% (5892/7185) Updating files: 83% (5964/7185) Updating files: 84% (6036/7185) Updating files: 85% (6108/7185) Updating files: 86% (6180/7185) Updating files: 87% (6251/7185) Updating files: 88% (6323/7185) Updating files: 89% (6395/7185) Updating files: 90% (6467/7185) Updating files: 91% (6539/7185) Updating files: 92% (6611/7185) Updating files: 93% (6683/7185) Updating files: 94% (6754/7185) Updating files: 94% (6818/7185) Updating files: 95% (6826/7185) Updating files: 96% (6898/7185) Updating files: 97% (6970/7185) Updating files: 98% (7042/7185) Updating files: 99% (7114/7185) Updating files: 100% (7185/7185) Updating files: 100% (7185/7185), done. [INFO] started tweaking git repo https://github.com/alizeeshan1234/pinocchio_perpetuals [INFO] finished tweaking git repo https://github.com/alizeeshan1234/pinocchio_perpetuals [INFO] tweaked toml for git repo https://github.com/alizeeshan1234/pinocchio_perpetuals written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alizeeshan1234/pinocchio_perpetuals on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alizeeshan1234/pinocchio_perpetuals 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pinocchio-token-program v0.0.0 [INFO] [stderr] Downloaded solana-transaction-context v2.3.7 [INFO] [stderr] Downloaded solana-rent-collector v2.3.0 [INFO] [stderr] Downloaded pinocchio-token v0.4.0 [INFO] [stderr] Downloaded slow_primes v0.1.14 [INFO] [stderr] Downloaded pinocchio-pubkey v0.3.0 [INFO] [stderr] Downloaded solana-measure v2.3.7 [INFO] [stderr] Downloaded pinocchio-associated-token-account v0.2.0 [INFO] [stderr] Downloaded solana-sysvar v2.3.0 [INFO] [stderr] Downloaded solana-curve25519 v2.3.7 [INFO] [stderr] Downloaded pythnet-sdk v2.3.1 [INFO] [stderr] Downloaded pinocchio v0.9.0 [INFO] [stderr] Downloaded solana-log-collector v2.3.7 [INFO] [stderr] Downloaded solana-metrics v2.3.7 [INFO] [stderr] Downloaded solana-svm-feature-set v2.3.7 [INFO] [stderr] Downloaded mollusk-svm-keys v0.4.2 [INFO] [stderr] Downloaded agave-precompiles v2.3.7 [INFO] [stderr] Downloaded mollusk-svm-error v0.4.2 [INFO] [stderr] Downloaded agave-feature-set v2.3.7 [INFO] [stderr] Downloaded solana-svm-callback v2.3.7 [INFO] [stderr] Downloaded solana-system-program v2.3.7 [INFO] [stderr] Downloaded solana-compute-budget v2.3.7 [INFO] [stderr] Downloaded solana-program-runtime v2.3.7 [INFO] [stderr] Downloaded mollusk-svm-result v0.4.2 [INFO] [stderr] Downloaded solana-poseidon v2.3.7 [INFO] [stderr] Downloaded solana-type-overrides v2.3.7 [INFO] [stderr] Downloaded solana-timings v2.3.7 [INFO] [stderr] Downloaded mollusk-svm v0.4.2 [INFO] [stderr] Downloaded pinocchio-system v0.3.0 [INFO] [stderr] Downloaded solana-bpf-loader-program v2.3.7 [INFO] [stderr] Downloaded sha2-const-stable v0.1.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62ea4f1b60ca0f04df65605f184325632c70d2f45acf6243da82d71ccdb61f3a [INFO] running `Command { std: "docker" "start" "-a" "62ea4f1b60ca0f04df65605f184325632c70d2f45acf6243da82d71ccdb61f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62ea4f1b60ca0f04df65605f184325632c70d2f45acf6243da82d71ccdb61f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ea4f1b60ca0f04df65605f184325632c70d2f45acf6243da82d71ccdb61f3a", kill_on_drop: false }` [INFO] [stdout] 62ea4f1b60ca0f04df65605f184325632c70d2f45acf6243da82d71ccdb61f3a [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ef42b5f5dd2d3f61db067ba18c0fe04f92ae7e14b0659f69abb551d6c7e909 [INFO] running `Command { std: "docker" "start" "-a" "57ef42b5f5dd2d3f61db067ba18c0fe04f92ae7e14b0659f69abb551d6c7e909", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pinocchio v0.9.0 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling pinocchio-token-program v0.0.0 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling fast-math v0.1.1 [INFO] [stderr] Compiling pinocchio-pubkey v0.3.0 [INFO] [stderr] Compiling pinocchio-associated-token-account v0.2.0 [INFO] [stderr] Compiling pinocchio-system v0.3.0 [INFO] [stderr] Compiling pinocchio-token v0.4.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling slow_primes v0.1.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling pythnet-sdk v2.3.1 [INFO] [stderr] Compiling pinocchio-perp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `open_position` [INFO] [stdout] --> src/lib.rs:4:71 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::instructions::{initialize_market, initialize_user_account, open_position, process_open_position, PerpetualInstructions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/instructions/mod.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{program_error::ProgramError, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_pubkey::*` [INFO] [stdout] --> src/instructions/pyth_price.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_pubkey::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramResult` [INFO] [stdout] --> src/states/market.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, ProgramResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/user.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/position.rs:1:103 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{pubkey::Pubkey, account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError,*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_market.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | let [authority, collateral_mint, market_account, collateral_vault, system_program, token_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_user.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let [user, user_account, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_bump` [INFO] [stdout] --> src/instructions/open_position.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let (user_account_pda, user_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_bump` [INFO] [stdout] --> src/instructions/open_position.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let (user_position_account_pda, position_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_data` [INFO] [stdout] --> src/instructions/open_position.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let position_data = if user_position_account.data_is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.27s [INFO] running `Command { std: "docker" "inspect" "57ef42b5f5dd2d3f61db067ba18c0fe04f92ae7e14b0659f69abb551d6c7e909", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ef42b5f5dd2d3f61db067ba18c0fe04f92ae7e14b0659f69abb551d6c7e909", kill_on_drop: false }` [INFO] [stdout] 57ef42b5f5dd2d3f61db067ba18c0fe04f92ae7e14b0659f69abb551d6c7e909 [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd61522818c8e2fa2482f3a2b505cb92e6f9f31503d441544c64eacd13b36f0b [INFO] running `Command { std: "docker" "start" "-a" "bd61522818c8e2fa2482f3a2b505cb92e6f9f31503d441544c64eacd13b36f0b", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling winnow v0.7.12 [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 cpufeatures v0.2.17 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling solana-precompile-error v2.2.2 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling solana-time-utils v2.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling solana-svm-feature-set v2.3.7 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling solana-type-overrides v2.3.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling solana-log-collector v2.3.7 [INFO] [stderr] Compiling solana-measure v2.3.7 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling solana-big-mod-exp v2.2.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling solana-define-syscall v2.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling slow_primes v0.1.14 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling solana-validator-exit v2.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling solana-sha256-hasher v2.3.0 [INFO] [stderr] Compiling solana-fee-calculator v2.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling solana-cluster-type v2.2.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling solana-signature v2.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling solana-blake3-hasher v2.2.1 [INFO] [stderr] Compiling solana-hard-forks v2.2.1 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling solana-timings v2.3.7 [INFO] [stderr] Compiling solana-sbpf v0.11.1 [INFO] [stderr] Compiling solana-logger v2.3.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-system-interface v1.0.0 [INFO] [stderr] Compiling solana-program-error v2.2.2 [INFO] [stderr] Compiling solana-transaction-error v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.3.0 [INFO] [stderr] Compiling solana-clock v2.2.2 [INFO] [stderr] Compiling solana-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-slot-hashes v2.2.1 [INFO] [stderr] Compiling solana-cpi v2.2.1 [INFO] [stderr] Compiling solana-rent v2.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-feature-set v2.2.5 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling solana-packet v2.2.1 [INFO] [stderr] Compiling solana-loader-v4-interface v2.2.1 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-keypair v2.2.3 [INFO] [stderr] Compiling solana-shred-version v2.2.1 [INFO] [stderr] Compiling solana-inflation v2.2.1 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling solana-poh-config v2.2.1 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling agave-feature-set v2.3.7 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-vote-interface v2.2.6 [INFO] [stderr] Compiling solana-sysvar v2.3.0 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling mollusk-svm-error v0.4.2 [INFO] [stderr] Compiling solana-curve25519 v2.3.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling solana-commitment-config v2.2.1 [INFO] [stderr] Compiling solana-epoch-info v2.2.1 [INFO] [stderr] Compiling solana-reward-info v2.2.1 [INFO] [stderr] Compiling solana-offchain-message v2.2.1 [INFO] [stderr] Compiling solana-rent-debits v2.2.1 [INFO] [stderr] Compiling solana-quic-definitions v2.3.1 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling solana-ed25519-program v2.2.3 [INFO] [stderr] Compiling pythnet-sdk v2.3.1 [INFO] [stderr] Compiling solana-reserved-account-keys v2.2.2 [INFO] [stderr] Compiling solana-presigner v2.2.1 [INFO] [stderr] Compiling solana-loader-v3-interface v3.0.0 [INFO] [stderr] Compiling solana-fee-structure v2.3.0 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling solana-compute-budget-interface v2.2.2 [INFO] [stderr] Compiling solana-transaction-context v2.3.7 [INFO] [stderr] Compiling solana-svm-callback v2.3.7 [INFO] [stderr] Compiling solana-nonce-account v2.2.1 [INFO] [stderr] Compiling solana-genesis-config v2.3.0 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling mollusk-svm-result v0.4.2 [INFO] [stderr] Compiling solana-epoch-rewards-hasher v2.2.1 [INFO] [stderr] Compiling solana-serde v2.2.1 [INFO] [stderr] Compiling solana-rent-collector v2.3.0 [INFO] [stderr] Compiling mollusk-svm-keys v0.4.2 [INFO] [stderr] Compiling pinocchio-perp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling solana-secp256k1-program v2.2.3 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `open_position` [INFO] [stdout] --> src/lib.rs:4:71 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::instructions::{initialize_market, initialize_user_account, open_position, process_open_position, PerpetualInstructions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/instructions/mod.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{program_error::ProgramError, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_pubkey::*` [INFO] [stdout] --> src/instructions/pyth_price.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_pubkey::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramResult` [INFO] [stdout] --> src/states/market.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, ProgramResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/user.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/position.rs:1:103 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{pubkey::Pubkey, account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError,*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_market.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | let [authority, collateral_mint, market_account, collateral_vault, system_program, token_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_user.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let [user, user_account, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_bump` [INFO] [stdout] --> src/instructions/open_position.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let (user_account_pda, user_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_bump` [INFO] [stdout] --> src/instructions/open_position.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let (user_position_account_pda, position_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_data` [INFO] [stdout] --> src/instructions/open_position.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let position_data = if user_position_account.data_is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-metrics v2.3.7 [INFO] [stderr] Compiling solana-program-runtime v2.3.7 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling solana-compute-budget v2.3.7 [INFO] [stderr] Compiling solana-system-program v2.3.7 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling solana-bn254 v2.2.2 [INFO] [stderr] Compiling solana-poseidon v2.3.7 [INFO] [stderr] Compiling solana-bpf-loader-program v2.3.7 [INFO] [stderr] Compiling solana-secp256r1-program v2.2.4 [INFO] [stderr] Compiling solana-precompiles v2.2.2 [INFO] [stderr] Compiling agave-precompiles v2.3.7 [INFO] [stderr] Compiling solana-transaction v2.2.3 [INFO] [stderr] Compiling mollusk-svm v0.4.2 [INFO] [stderr] Compiling solana-system-transaction v2.2.1 [INFO] [stderr] Compiling solana-client-traits v2.2.1 [INFO] [stderr] Compiling solana-sdk v2.3.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `open_position` [INFO] [stdout] --> src/lib.rs:4:71 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::instructions::{initialize_market, initialize_user_account, open_position, process_open_position, PerpetualInstructions}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/instructions/mod.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{program_error::ProgramError, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pinocchio_pubkey::*` [INFO] [stdout] --> src/instructions/pyth_price.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pinocchio_pubkey::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramResult` [INFO] [stdout] --> src/states/market.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, ProgramResult}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/user.rs:1:104 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/states/position.rs:1:103 [INFO] [stdout] | [INFO] [stdout] 1 | use pinocchio::{pubkey::Pubkey, account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError,*}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_market.rs:15:72 [INFO] [stdout] | [INFO] [stdout] 15 | let [authority, collateral_mint, market_account, collateral_vault, system_program, token_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system_program` [INFO] [stdout] --> src/instructions/init_user.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let [user, user_account, system_program] = accounts else { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_bump` [INFO] [stdout] --> src/instructions/open_position.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | let (user_account_pda, user_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_bump` [INFO] [stdout] --> src/instructions/open_position.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | let (user_position_account_pda, position_bump) = pubkey::find_program_address( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position_data` [INFO] [stdout] --> src/instructions/open_position.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let position_data = if user_position_account.data_is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/market.rs:67:43 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/user.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/states/position.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 53s [INFO] running `Command { std: "docker" "inspect" "bd61522818c8e2fa2482f3a2b505cb92e6f9f31503d441544c64eacd13b36f0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd61522818c8e2fa2482f3a2b505cb92e6f9f31503d441544c64eacd13b36f0b", kill_on_drop: false }` [INFO] [stdout] bd61522818c8e2fa2482f3a2b505cb92e6f9f31503d441544c64eacd13b36f0b [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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 029a8a5769c9bd5c2e9832295ac81aac7c8ee9fdcb3f6f5ccd45e452f6c15bcd [INFO] running `Command { std: "docker" "start" "-a" "029a8a5769c9bd5c2e9832295ac81aac7c8ee9fdcb3f6f5ccd45e452f6c15bcd", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2024` has been stabilized in the 1.85 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::default_allocator` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `solana` [INFO] [stderr] --> src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 more [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::default_panic_handler` may come from an old version of the `pinocchio` crate, try updating your dependency with `cargo update -p pinocchio` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `open_position` [INFO] [stderr] --> src/lib.rs:4:71 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::instructions::{initialize_market, initialize_user_account, open_position, process_open_position, PerpetualInstructions}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `*` [INFO] [stderr] --> src/instructions/mod.rs:1:46 [INFO] [stderr] | [INFO] [stderr] 1 | use pinocchio::{program_error::ProgramError, *}; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pinocchio_pubkey::*` [INFO] [stderr] --> src/instructions/pyth_price.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use pinocchio_pubkey::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ProgramResult` [INFO] [stderr] --> src/states/market.rs:1:104 [INFO] [stderr] | [INFO] [stderr] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, ProgramResult}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `*` [INFO] [stderr] --> src/states/user.rs:1:104 [INFO] [stderr] | [INFO] [stderr] 1 | use pinocchio::{account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError, pubkey::Pubkey, *}; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `*` [INFO] [stderr] --> src/states/position.rs:1:103 [INFO] [stderr] | [INFO] [stderr] 1 | use pinocchio::{pubkey::Pubkey, account_info::{AccountInfo, Ref, RefMut}, program_error::ProgramError,*}; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `system_program` [INFO] [stderr] --> src/instructions/init_market.rs:15:72 [INFO] [stderr] | [INFO] [stderr] 15 | let [authority, collateral_mint, market_account, collateral_vault, system_program, token_program] = accounts else { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `system_program` [INFO] [stderr] --> src/instructions/init_user.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | let [user, user_account, system_program] = accounts else { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_system_program` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_bump` [INFO] [stderr] --> src/instructions/open_position.rs:68:28 [INFO] [stderr] | [INFO] [stderr] 68 | let (user_account_pda, user_bump) = pubkey::find_program_address( [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_bump` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position_bump` [INFO] [stderr] --> src/instructions/open_position.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | let (user_position_account_pda, position_bump) = pubkey::find_program_address( [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_bump` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position_data` [INFO] [stderr] --> src/instructions/open_position.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 202 | let position_data = if user_position_account.data_is_empty() { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position_data` [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/market.rs:57:39 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/market.rs:67:43 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 67 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/user.rs:13:39 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/user.rs:23:43 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/position.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 60 | pub fn from_account_info(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/states/position.rs:70:43 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | ^^^^^^^^^^^^ ------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn from_account_info_mut(account: &AccountInfo) -> Result, ProgramError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `pinocchio-perp` (lib) generated 20 warnings (run `cargo fix --lib -p pinocchio-perp` to apply 6 suggestions) [INFO] [stderr] warning: `pinocchio-perp` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pinocchio_perp-8fc6327a97a04731) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] [2025-09-25T02:50:36.616188819Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV invoke [1] [INFO] [stderr] [2025-09-25T02:50:36.624179923Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV consumed 133 of 1400000 compute units [INFO] [stderr] [2025-09-25T02:50:36.624238533Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV failed: invalid instruction data [INFO] [stdout] test instructions::open_position::tests::test_process_open_position ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- instructions::open_position::tests::test_process_open_position stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'instructions::open_position::tests::test_process_open_position' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-result-0.4.2/src/check.rs:200:29: [INFO] [stdout] CHECK FAILED: program_result [INFO] [stdout] Expected: `Success`, [INFO] [stdout] Got: `Failure(InvalidInstructionData)` [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ea9c53cf3a2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ea9c53cf3a2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ea9c53cf3a2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ea9c53cf3a2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ea9c53f8533 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ea9c53f8533 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ea9c53cb273 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ea9c53cb273 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ea9c53cf1f2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ea9c53d0929 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5ea9c53d075e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5ea9c424c034 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5ea9c424c034 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ea9c53d13fe - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5ea9c53d13fe - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5ea9c53d10ca - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5ea9c53cf8a9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5ea9c53d0d5d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5ea9c53f6250 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5ea9c47d0fa0 - core::panicking::panic_display::haa8772b7a805cfcd [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x5ea9c427b21b - mollusk_svm_result::check::::run_checks::panic_cold_display::h5a7a917a991bfc8d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic.rs:100:13 [INFO] [stdout] 21: 0x5ea9c425cc4d - mollusk_svm_result::check::::run_checks::h607699e03366bd16 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-result-0.4.2/src/config.rs:40:17 [INFO] [stdout] 22: 0x5ea9c426a871 - mollusk_svm::Mollusk::process_and_validate_instruction::h5e92f929f3ff1810 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.4.2/src/lib.rs:852:16 [INFO] [stdout] 23: 0x5ea9c42125c1 - pinocchio_perp::instructions::open_position::tests::test_process_open_position::h093c375d4e7f53ca [INFO] [stdout] at /opt/rustwide/workdir/src/instructions/open_position.rs:583:17 [INFO] [stdout] 24: 0x5ea9c420ff97 - pinocchio_perp::instructions::open_position::tests::test_process_open_position::{{closure}}::h85ed3e0a137b2c3c [INFO] [stdout] at /opt/rustwide/workdir/src/instructions/open_position.rs:419:36 [INFO] [stdout] 25: 0x5ea9c420f6e6 - core::ops::function::FnOnce::call_once::h6e042db5a37e54ad [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x5ea9c425189b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x5ea9c425189b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 28: 0x5ea9c42509d5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 29: 0x5ea9c42509d5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x5ea9c42509d5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 31: 0x5ea9c42509d5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 32: 0x5ea9c42509d5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5ea9c42509d5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 34: 0x5ea9c42509d5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 35: 0x5ea9c42145d4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 36: 0x5ea9c42145d4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 37: 0x5ea9c4217faa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x5ea9c4217faa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x5ea9c4217faa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 40: 0x5ea9c4217faa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 41: 0x5ea9c4217faa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5ea9c4217faa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x5ea9c4217faa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 44: 0x5ea9c53d447f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 45: 0x5ea9c53d447f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 46: 0x7f4b79f9caa4 - [INFO] [stdout] 47: 0x7f4b7a029a34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] instructions::open_position::tests::test_process_open_position [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "029a8a5769c9bd5c2e9832295ac81aac7c8ee9fdcb3f6f5ccd45e452f6c15bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029a8a5769c9bd5c2e9832295ac81aac7c8ee9fdcb3f6f5ccd45e452f6c15bcd", kill_on_drop: false }` [INFO] [stdout] 029a8a5769c9bd5c2e9832295ac81aac7c8ee9fdcb3f6f5ccd45e452f6c15bcd