[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 beta-2025-10-28 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falizeeshan1234%2Fpinocchio_perpetuals" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 51% (3735/7185) Updating files: 52% (3737/7185) Updating files: 53% (3809/7185) Updating files: 54% (3880/7185) Updating files: 55% (3952/7185) Updating files: 56% (4024/7185) Updating files: 57% (4096/7185) Updating files: 58% (4168/7185) Updating files: 59% (4240/7185) Updating files: 59% (4268/7185) Updating files: 60% (4311/7185) Updating files: 60% (4365/7185) Updating files: 61% (4383/7185) Updating files: 62% (4455/7185) Updating files: 63% (4527/7185) Updating files: 63% (4597/7185) Updating files: 64% (4599/7185) Updating files: 65% (4671/7185) Updating files: 65% (4721/7185) Updating files: 66% (4743/7185) Updating files: 67% (4814/7185) Updating files: 67% (4823/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: 72% (5231/7185) Updating files: 73% (5246/7185) Updating files: 74% (5317/7185) Updating files: 74% (5376/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: 80% (5748/7185) Updating files: 81% (5820/7185) Updating files: 82% (5892/7185) Updating files: 83% (5964/7185) Updating files: 83% (6012/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: 95% (6826/7185) Updating files: 96% (6898/7185) Updating files: 97% (6970/7185) Updating files: 98% (7042/7185) Updating files: 98% (7082/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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alizeeshan1234/pinocchio_perpetuals on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "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" "+beta-2025-10-28" "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/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d5036c91580e7d912850e805cd727659d1f00df51f8d8f0af1220528a59cd6a [INFO] running `Command { std: "docker" "start" "-a" "1d5036c91580e7d912850e805cd727659d1f00df51f8d8f0af1220528a59cd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d5036c91580e7d912850e805cd727659d1f00df51f8d8f0af1220528a59cd6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5036c91580e7d912850e805cd727659d1f00df51f8d8f0af1220528a59cd6a", kill_on_drop: false }` [INFO] [stdout] 1d5036c91580e7d912850e805cd727659d1f00df51f8d8f0af1220528a59cd6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97bf8f311113e4a5611449976939d87c806f762e5db195b1d96c62d65fa466f7 [INFO] running `Command { std: "docker" "start" "-a" "97bf8f311113e4a5611449976939d87c806f762e5db195b1d96c62d65fa466f7", 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/beta/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 unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling five8_core v0.1.2 [INFO] [stderr] Compiling five8_const v0.1.4 [INFO] [stderr] Compiling pinocchio v0.9.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ieee754 v0.2.6 [INFO] [stderr] Compiling fast-math v0.1.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pinocchio-token-program v0.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pinocchio-pubkey v0.3.0 [INFO] [stderr] Compiling pinocchio-associated-token-account v0.2.0 [INFO] [stderr] Compiling pinocchio-token v0.4.0 [INFO] [stderr] Compiling pinocchio-system v0.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hashbrown v0.13.2 [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 borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling thiserror v1.0.69 [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 bincode v1.3.3 [INFO] [stderr] Compiling hex v0.4.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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 37.30s [INFO] running `Command { std: "docker" "inspect" "97bf8f311113e4a5611449976939d87c806f762e5db195b1d96c62d65fa466f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bf8f311113e4a5611449976939d87c806f762e5db195b1d96c62d65fa466f7", kill_on_drop: false }` [INFO] [stdout] 97bf8f311113e4a5611449976939d87c806f762e5db195b1d96c62d65fa466f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0a06337302d878b898f695b03c49a712df5657f865a570ef5a09df2ad66ddfd [INFO] running `Command { std: "docker" "start" "-a" "b0a06337302d878b898f695b03c49a712df5657f865a570ef5a09df2ad66ddfd", 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/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling solana-sanitize v2.2.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling solana-atomic-u64 v2.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling solana-decode-error v2.3.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling solana-msg v2.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-program-memory v2.3.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling solana-precompile-error v2.2.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [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 borsh-derive v1.5.7 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling solana-sdk-macro v2.2.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling solana-hash v2.3.0 [INFO] [stderr] Compiling solana-sha256-hasher 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-fee-calculator v2.2.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling serde-big-array v0.5.1 [INFO] [stderr] Compiling solana-short-vec v2.2.1 [INFO] [stderr] Compiling solana-signature v2.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling solana-pubkey v2.4.0 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling solana-instruction v2.3.0 [INFO] [stderr] Compiling solana-sdk-ids v2.2.1 [INFO] [stderr] Compiling solana-sysvar-id v2.2.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling solana-epoch-schedule v2.2.1 [INFO] [stderr] Compiling solana-clock v2.2.2 [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-serialize-utils v2.2.1 [INFO] [stderr] Compiling solana-account-info v2.3.0 [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-stake-interface v1.2.1 [INFO] [stderr] Compiling solana-instructions-sysvar v2.2.2 [INFO] [stderr] Compiling solana-program-entrypoint v2.3.0 [INFO] [stderr] Compiling solana-epoch-rewards v2.2.1 [INFO] [stderr] Compiling solana-last-restart-slot v2.2.1 [INFO] [stderr] Compiling solana-slot-history v2.2.1 [INFO] [stderr] Compiling solana-bincode v2.2.1 [INFO] [stderr] Compiling solana-message v2.4.0 [INFO] [stderr] Compiling solana-feature-set v2.2.5 [INFO] [stderr] Compiling solana-signer v2.2.1 [INFO] [stderr] Compiling solana-cluster-type v2.2.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling solana-sysvar v2.3.0 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling solana-account v2.2.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling solana-time-utils v2.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling solana-derivation-path v2.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling solana-native-token v2.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling async-compression v0.4.27 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling solana-seed-derivable v2.2.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling solana-secp256k1-program v2.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling solana-transaction-context v2.3.7 [INFO] [stderr] Compiling solana-ed25519-program v2.2.3 [INFO] [stderr] Compiling solana-stable-layout v2.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling solana-svm-feature-set v2.3.7 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling solana-keypair v2.2.3 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling solana-fee-structure v2.3.0 [INFO] [stderr] Compiling solana-nonce v2.2.1 [INFO] [stderr] Compiling cfg_eval v0.1.2 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-timings v2.3.7 [INFO] [stderr] Compiling solana-packet v2.2.1 [INFO] [stderr] Compiling solana-metrics v2.3.7 [INFO] [stderr] Compiling solana-svm-callback v2.3.7 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling solana-keccak-hasher v2.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling solana-type-overrides v2.3.7 [INFO] [stderr] Compiling solana-log-collector v2.3.7 [INFO] [stderr] Compiling solana-measure v2.3.7 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling solana-logger v2.3.1 [INFO] [stderr] Compiling solana-secp256k1-recover v2.2.1 [INFO] [stderr] Compiling solana-loader-v3-interface v5.0.0 [INFO] [stderr] Compiling solana-loader-v4-interface 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-big-mod-exp v2.2.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling solana-define-syscall v2.3.0 [INFO] [stderr] Compiling solana-bn254 v2.2.2 [INFO] [stderr] Compiling solana-shred-version v2.2.1 [INFO] [stderr] Compiling solana-nonce-account v2.2.1 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling solana-address-lookup-table-interface v2.2.2 [INFO] [stderr] Compiling solana-serde-varint v2.2.2 [INFO] [stderr] Compiling solana-poh-config v2.2.1 [INFO] [stderr] Compiling solana-inflation v2.2.1 [INFO] [stderr] Compiling solana-sbpf v0.11.1 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling solana-poseidon v2.3.7 [INFO] [stderr] Compiling solana-vote-interface v2.2.6 [INFO] [stderr] Compiling solana-example-mocks v2.2.1 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling agave-feature-set v2.3.7 [INFO] [stderr] Compiling mollusk-svm-error v0.4.2 [INFO] [stderr] Compiling solana-feature-gate-interface v2.2.2 [INFO] [stderr] Compiling slow_primes v0.1.14 [INFO] [stderr] Compiling solana-genesis-config v2.3.0 [INFO] [stderr] Compiling solana-program-pack v2.2.1 [INFO] [stderr] Compiling solana-loader-v2-interface v2.2.1 [INFO] [stderr] Compiling solana-curve25519 v2.3.7 [INFO] [stderr] Compiling solana-epoch-info v2.2.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling solana-commitment-config v2.2.1 [INFO] [stderr] Compiling solana-reward-info v2.2.1 [INFO] [stderr] Compiling solana-borsh v2.2.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling solana-program-option v2.2.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pythnet-sdk v2.3.1 [INFO] [stderr] Compiling solana-epoch-rewards-hasher v2.2.1 [INFO] [stderr] Compiling solana-rent-debits v2.2.1 [INFO] [stderr] Compiling solana-rent-collector v2.3.0 [INFO] [stderr] Compiling mollusk-svm-keys v0.4.2 [INFO] [stderr] Compiling solana-offchain-message v2.2.1 [INFO] [stderr] Compiling solana-quic-definitions v2.3.1 [INFO] [stderr] Compiling mollusk-svm-result v0.4.2 [INFO] [stderr] Compiling solana-reserved-account-keys v2.2.2 [INFO] [stderr] Compiling solana-presigner v2.2.1 [INFO] [stderr] Compiling solana-compute-budget-interface v2.2.2 [INFO] [stderr] Compiling solana-program v2.3.0 [INFO] [stderr] Compiling solana-loader-v3-interface v3.0.0 [INFO] [stderr] Compiling solana-serde v2.2.1 [INFO] [stderr] Compiling solana-program-runtime v2.3.7 [INFO] [stderr] Compiling solana-validator-exit v2.2.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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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-compute-budget v2.3.7 [INFO] [stderr] Compiling solana-bpf-loader-program v2.3.7 [INFO] [stderr] Compiling solana-system-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 solana-client-traits v2.2.1 [INFO] [stderr] Compiling solana-system-transaction v2.2.1 [INFO] [stderr] Compiling mollusk-svm v0.4.2 [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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 8m 27s [INFO] running `Command { std: "docker" "inspect" "b0a06337302d878b898f695b03c49a712df5657f865a570ef5a09df2ad66ddfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a06337302d878b898f695b03c49a712df5657f865a570ef5a09df2ad66ddfd", kill_on_drop: false }` [INFO] [stdout] b0a06337302d878b898f695b03c49a712df5657f865a570ef5a09df2ad66ddfd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8a82e3080481b3e061515d22ac168bead5ec7d71f121f6d77c88274062f74c1 [INFO] running `Command { std: "docker" "start" "-a" "c8a82e3080481b3e061515d22ac168bead5ec7d71f121f6d77c88274062f74c1", 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/beta/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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 17 suggestions) [INFO] [stderr] warning: `pinocchio-perp` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pinocchio_perp-bacfe6a55baac772) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] [2025-11-05T02:16:59.308749057Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV invoke [1] [INFO] [stderr] [2025-11-05T02:16:59.310491217Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV consumed 133 of 1400000 compute units [INFO] [stderr] [2025-11-05T02:16:59.310586937Z DEBUG solana_runtime::message_processor::stable_log] Program BXacY2xWwx7ogSa1CnvrdXxAigBMwwszoZf4Q98E2YoV failed: invalid instruction data [INFO] [stderr] error: test failed, to rerun pass `--lib` [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' (17) 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: 0x60e743aa2f22 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x60e743aa2f22 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x60e743aa2f22 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x60e743aa2f22 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x60e743ab49ff - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x60e743ab49ff - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x60e743a6e763 - std::io::default_write_fmt::hd4797e693c0ec256 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x60e743a6e763 - std::io::Write::write_fmt::h791e240ad2720c99 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60e743a7b732 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60e743a809ef - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60e743a80881 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x60e74292bf6e - as core::ops::function::Fn>::call::h3f5a16438cee2b4e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 12: 0x60e74292bf6e - test::test_main_with_exit_callback::{{closure}}::h9214498cef9aafc5 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x60e743a810af - as core::ops::function::Fn>::call::hdb18da3e68df7464 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2019:9 [INFO] [stdout] 14: 0x60e743a810af - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x60e743a80e5a - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x60e743a7b869 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x60e743a62e2d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x60e743abe3b0 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x60e742ec32e0 - core::panicking::panic_display::h7b7497a56da3cd03 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x60e74294f55d - mollusk_svm_result::check::::run_checks::h34b4eceb2b60846c [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] 21: 0x60e74296b6e1 - mollusk_svm::Mollusk::process_and_validate_instruction::hee1b71c057956f5f [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] 22: 0x60e74290a9c6 - pinocchio_perp::instructions::open_position::tests::test_process_open_position::hd598bbbefbbbc790 [INFO] [stdout] at /opt/rustwide/workdir/src/instructions/open_position.rs:583:17 [INFO] [stdout] 23: 0x60e74290ac47 - pinocchio_perp::instructions::open_position::tests::test_process_open_position::{{closure}}::h7bd676724667da36 [INFO] [stdout] at /opt/rustwide/workdir/src/instructions/open_position.rs:419:36 [INFO] [stdout] 24: 0x60e74290ace6 - core::ops::function::FnOnce::call_once::h79d11453eb891664 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x60e74292bdbb - core::ops::function::FnOnce::call_once::h43f43c5185cf39c2 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x60e74292bdbb - test::__rust_begin_short_backtrace::hc4fa634eb2764bdc [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x60e7429403d8 - test::run_test_in_process::{{closure}}::h9f4b799a5211b72a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x60e7429403d8 - as core::ops::function::FnOnce<()>>::call_once::ha572bf7dc5230a8f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x60e7429403d8 - std::panicking::catch_unwind::do_call::hfd6ff51f25dd177b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x60e7429403d8 - std::panicking::catch_unwind::h8609b446221def5f [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x60e7429403d8 - std::panic::catch_unwind::h362f73cc48531e26 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x60e7429403d8 - test::run_test_in_process::hf52fd21d696aae67 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x60e7429403d8 - test::run_test::{{closure}}::h7e780b8354e6d007 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x60e7429191a4 - test::run_test::{{closure}}::hdc2695f2276aad3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x60e7429191a4 - std::sys::backtrace::__rust_begin_short_backtrace::h2555b2113ed90fc9 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x60e74291cada - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h99800d480987dfb6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 37: 0x60e74291cada - as core::ops::function::FnOnce<()>>::call_once::hbbb69b5294b2221b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x60e74291cada - std::panicking::catch_unwind::do_call::h495689350c27df20 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x60e74291cada - std::panicking::catch_unwind::hf22437c51d1b3740 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x60e74291cada - std::panic::catch_unwind::habda1a57de8231f8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x60e74291cada - std::thread::Builder::spawn_unchecked_::{{closure}}::h5833d8dda8c7e80b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 42: 0x60e74291cada - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha2910283a5058402 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x60e743a76b5f - as core::ops::function::FnOnce>::call_once::he4d85cb537521972 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/alloc/src/boxed.rs:2005:9 [INFO] [stdout] 44: 0x60e743a76b5f - std::sys::thread::unix::Thread::new::thread_start::hbaf586a9e50a98cd [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x763f12b09aa4 - [INFO] [stdout] 46: 0x763f12b96a64 - clone [INFO] [stdout] 47: 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.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8a82e3080481b3e061515d22ac168bead5ec7d71f121f6d77c88274062f74c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a82e3080481b3e061515d22ac168bead5ec7d71f121f6d77c88274062f74c1", kill_on_drop: false }` [INFO] [stdout] c8a82e3080481b3e061515d22ac168bead5ec7d71f121f6d77c88274062f74c1