[INFO] cloning repository https://github.com/deanmlittle/native-amm-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deanmlittle/native-amm-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1278324550c368c3b151c8e08021e32f4f993741 [INFO] testing deanmlittle/native-amm-2024 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deanmlittle/native-amm-2024 [INFO] finished tweaking git repo https://github.com/deanmlittle/native-amm-2024 [INFO] tweaked toml for git repo https://github.com/deanmlittle/native-amm-2024 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deanmlittle/native-amm-2024 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deanmlittle/native-amm-2024 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.5 [INFO] [stderr] Downloaded solana-sdk-macro v2.0.13 [INFO] [stderr] Downloaded solana-poseidon v2.0.13 [INFO] [stderr] Downloaded solana-type-overrides v2.0.13 [INFO] [stderr] Downloaded solana-curve25519 v2.0.13 [INFO] [stderr] Downloaded spl-associated-token-account-client v1.0.0 [INFO] [stderr] Downloaded spl-type-length-value v0.6.0 [INFO] [stderr] Downloaded solana-logger v2.0.10 [INFO] [stderr] Downloaded solana-measure v2.0.13 [INFO] [stderr] Downloaded solana-system-program v2.0.13 [INFO] [stderr] Downloaded scroll_derive v0.11.1 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded cc v1.1.21 [INFO] [stderr] Downloaded ipnet v2.10.0 [INFO] [stderr] Downloaded solana-bpf-loader-program v2.0.13 [INFO] [stderr] Downloaded indexmap v2.5.0 [INFO] [stderr] Downloaded async-compression v0.4.12 [INFO] [stderr] Downloaded flate2 v1.0.33 [INFO] [stderr] Downloaded solana-compute-budget v2.0.13 [INFO] [stderr] Downloaded solana-vote v2.0.13 [INFO] [stderr] Downloaded solana-program v2.0.13 [INFO] [stderr] Downloaded solana_rbpf v0.8.4 [INFO] [stderr] Downloaded goblin v0.5.4 [INFO] [stderr] Downloaded gimli v0.31.0 [INFO] [stderr] Downloaded syn v2.0.77 [INFO] [stderr] Downloaded object v0.36.4 [INFO] [stderr] Downloaded spl-token-2022 v5.0.2 [INFO] [stderr] Downloaded winnow v0.6.19 [INFO] [stderr] Downloaded addr2line v0.24.1 [INFO] [stderr] Downloaded solana-metrics v2.0.13 [INFO] [stderr] Downloaded solana-program-runtime v2.0.13 [INFO] [stderr] Downloaded spl-tlv-account-resolution v0.8.1 [INFO] [stderr] Downloaded mollusk-svm v0.0.1 [INFO] [stderr] Downloaded spl-token-group-interface v0.4.2 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.8.2 [INFO] [stderr] Downloaded solana-invoke v0.2.0 [INFO] [stderr] Downloaded spl-associated-token-account v5.0.1 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-extraction v0.1.0 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.5.1 [INFO] [stderr] Downloaded spl-pod v0.4.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-ciphertext-arithmetic v0.1.0 [INFO] [stderr] Downloaded spl-token-confidential-transfer-proof-generation v0.1.0 [INFO] [stderr] Downloaded solana-sdk v2.0.13 [INFO] [stderr] Downloaded solana-zk-sdk v2.0.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6b3f19d6ea33e9bd49a540a95e72ea941938198dfed5037c00e04bc4fe202b3 [INFO] running `Command { std: "docker" "start" "-a" "d6b3f19d6ea33e9bd49a540a95e72ea941938198dfed5037c00e04bc4fe202b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6b3f19d6ea33e9bd49a540a95e72ea941938198dfed5037c00e04bc4fe202b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6b3f19d6ea33e9bd49a540a95e72ea941938198dfed5037c00e04bc4fe202b3", kill_on_drop: false }` [INFO] [stdout] d6b3f19d6ea33e9bd49a540a95e72ea941938198dfed5037c00e04bc4fe202b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36681b853c0584a959f54df819b689367fdab053a88d003448ae05942a763662 [INFO] running `Command { std: "docker" "start" "-a" "36681b853c0584a959f54df819b689367fdab053a88d003448ae05942a763662", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling winnow v0.6.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling solana-program v2.0.13 [INFO] [stderr] Compiling solana-sdk v2.0.13 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/crates/constant-product-curve) [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling solana-sdk-macro v2.0.13 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling native-amm-macros v0.1.0 (/opt/rustwide/workdir/crates/native-amm-macros) [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling spl-program-error v0.5.0 [INFO] [stderr] Compiling spl-discriminator v0.3.0 [INFO] [stderr] Compiling solana-curve25519 v2.0.13 [INFO] [stderr] Compiling spl-token v6.0.0 [INFO] [stderr] Compiling spl-memo v5.0.0 [INFO] [stderr] Compiling solana-invoke v0.2.0 [INFO] [stderr] Compiling solana-zk-sdk v2.0.13 [INFO] [stderr] Compiling spl-pod v0.4.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.1.0 [INFO] [stderr] Compiling spl-type-length-value v0.6.0 [INFO] [stderr] Compiling spl-token-group-interface v0.4.2 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.8.1 [INFO] [stderr] Compiling spl-token-metadata-interface v0.5.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.8.2 [INFO] [stderr] Compiling spl-token-2022 v5.0.2 [INFO] [stderr] Compiling native-amm-2024 v0.1.0 (/opt/rustwide/workdir/programs/native-amm-2024) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `spl_token_2022::extension::confidential_transfer::instruction::deposit` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spl_token_2022::extension::confidential_transfer::instruction::deposit; [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: `Withdraw` [INFO] [stdout] --> programs/native-amm-2024/src/lock.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Config, Withdraw}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> programs/native-amm-2024/src/initialize.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AMMInstructions { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 30 | pub fn serialize(&self, ix: T) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Initialize { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 40 | | pub struct Initialize { [INFO] [stdout] 41 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub padding: [u8; 6], [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deposit { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 49 | | pub struct Deposit { [INFO] [stdout] 50 | | pub amount: u64, // Amount of LP token to claim [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub expiration: i64, [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Withdraw { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / #[repr(C)] [INFO] [stdout] 57 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 58 | | pub struct Withdraw { [INFO] [stdout] 59 | | pub amount: u64, // Amount of LP token to burn [INFO] [stdout] ... | [INFO] [stdout] 62 | | pub expiration: i64, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Swap { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 67 | | pub struct Swap { [INFO] [stdout] 68 | | pub amount: u64, // Amount of tokens we deposit [INFO] [stdout] 69 | | pub min: u64, // Minimum amount of tokens I'd be willing to withdraw [INFO] [stdout] 70 | | pub expiration: i64, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[repr(C)] [INFO] [stdout] 19 | | #[derive(Clone, Copy, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 20 | | pub struct Config { [INFO] [stdout] 21 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub padding: [u8; 1], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "36681b853c0584a959f54df819b689367fdab053a88d003448ae05942a763662", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36681b853c0584a959f54df819b689367fdab053a88d003448ae05942a763662", kill_on_drop: false }` [INFO] [stdout] 36681b853c0584a959f54df819b689367fdab053a88d003448ae05942a763662 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204a6c8d71625d1b6dcc89c1c3807ecd22db04b96a632aa46e72306b68a377ec [INFO] running `Command { std: "docker" "start" "-a" "204a6c8d71625d1b6dcc89c1c3807ecd22db04b96a632aa46e72306b68a377ec", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling solana-compute-budget v2.0.13 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling solana-vote v2.0.13 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling solana-program-runtime v2.0.13 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling goblin v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling percentage v0.1.0 [INFO] [stderr] Compiling solana-type-overrides v2.0.13 [INFO] [stderr] Compiling eager v0.1.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling native-amm-macros v0.1.0 (/opt/rustwide/workdir/crates/native-amm-macros) [INFO] [stderr] Compiling enum-iterator v1.5.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/crates/constant-product-curve) [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling solana-poseidon v2.0.13 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling solana-program v2.0.13 [INFO] [stderr] Compiling solana_rbpf v0.8.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling solana-logger v2.0.10 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling solana-sdk v2.0.13 [INFO] [stderr] Compiling spl-program-error v0.5.0 [INFO] [stderr] Compiling spl-discriminator v0.3.0 [INFO] [stderr] Compiling solana-curve25519 v2.0.13 [INFO] [stderr] Compiling spl-token v6.0.0 [INFO] [stderr] Compiling spl-memo v5.0.0 [INFO] [stderr] Compiling spl-associated-token-account-client v1.0.0 [INFO] [stderr] Compiling solana-invoke v0.2.0 [INFO] [stderr] Compiling solana-zk-sdk v2.0.13 [INFO] [stderr] Compiling solana-measure v2.0.13 [INFO] [stderr] Compiling solana-metrics v2.0.13 [INFO] [stderr] Compiling solana-bpf-loader-program v2.0.13 [INFO] [stderr] Compiling solana-system-program v2.0.13 [INFO] [stderr] Compiling mollusk-svm v0.0.1 [INFO] [stderr] Compiling spl-pod v0.4.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.1.0 [INFO] [stderr] Compiling spl-type-length-value v0.6.0 [INFO] [stderr] Compiling spl-token-group-interface v0.4.2 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.8.1 [INFO] [stderr] Compiling spl-token-metadata-interface v0.5.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.8.2 [INFO] [stderr] Compiling spl-token-2022 v5.0.2 [INFO] [stderr] Compiling spl-associated-token-account v5.0.1 [INFO] [stderr] Compiling native-amm-2024 v0.1.0 (/opt/rustwide/workdir/programs/native-amm-2024) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `spl_token_2022::extension::confidential_transfer::instruction::deposit` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spl_token_2022::extension::confidential_transfer::instruction::deposit; [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: `Withdraw` [INFO] [stdout] --> programs/native-amm-2024/src/lock.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Config, Withdraw}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> programs/native-amm-2024/src/initialize.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AMMInstructions { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 30 | pub fn serialize(&self, ix: T) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Initialize { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 40 | | pub struct Initialize { [INFO] [stdout] 41 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub padding: [u8; 6], [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deposit { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 49 | | pub struct Deposit { [INFO] [stdout] 50 | | pub amount: u64, // Amount of LP token to claim [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub expiration: i64, [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Withdraw { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / #[repr(C)] [INFO] [stdout] 57 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 58 | | pub struct Withdraw { [INFO] [stdout] 59 | | pub amount: u64, // Amount of LP token to burn [INFO] [stdout] ... | [INFO] [stdout] 62 | | pub expiration: i64, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Swap { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 67 | | pub struct Swap { [INFO] [stdout] 68 | | pub amount: u64, // Amount of tokens we deposit [INFO] [stdout] 69 | | pub min: u64, // Minimum amount of tokens I'd be willing to withdraw [INFO] [stdout] 70 | | pub expiration: i64, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[repr(C)] [INFO] [stdout] 19 | | #[derive(Clone, Copy, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 20 | | pub struct Config { [INFO] [stdout] 21 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub padding: [u8; 1], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `spl_token_2022::extension::confidential_transfer::instruction::deposit` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spl_token_2022::extension::confidential_transfer::instruction::deposit; [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: `Withdraw` [INFO] [stdout] --> programs/native-amm-2024/src/lock.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Config, Withdraw}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> programs/native-amm-2024/src/initialize.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Initialize { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 40 | | pub struct Initialize { [INFO] [stdout] 41 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub padding: [u8; 6], [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deposit { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 49 | | pub struct Deposit { [INFO] [stdout] 50 | | pub amount: u64, // Amount of LP token to claim [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub expiration: i64, [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Withdraw { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / #[repr(C)] [INFO] [stdout] 57 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 58 | | pub struct Withdraw { [INFO] [stdout] 59 | | pub amount: u64, // Amount of LP token to burn [INFO] [stdout] ... | [INFO] [stdout] 62 | | pub expiration: i64, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Swap { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 67 | | pub struct Swap { [INFO] [stdout] 68 | | pub amount: u64, // Amount of tokens we deposit [INFO] [stdout] 69 | | pub min: u64, // Minimum amount of tokens I'd be willing to withdraw [INFO] [stdout] 70 | | pub expiration: i64, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[repr(C)] [INFO] [stdout] 19 | | #[derive(Clone, Copy, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 20 | | pub struct Config { [INFO] [stdout] 21 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub padding: [u8; 1], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.90s [INFO] running `Command { std: "docker" "inspect" "204a6c8d71625d1b6dcc89c1c3807ecd22db04b96a632aa46e72306b68a377ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204a6c8d71625d1b6dcc89c1c3807ecd22db04b96a632aa46e72306b68a377ec", kill_on_drop: false }` [INFO] [stdout] 204a6c8d71625d1b6dcc89c1c3807ecd22db04b96a632aa46e72306b68a377ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a33787b5f6e6ac97d7ea08c28bed92085e23eb46aed6f480f52cb5eba748213b [INFO] running `Command { std: "docker" "start" "-a" "a33787b5f6e6ac97d7ea08c28bed92085e23eb46aed6f480f52cb5eba748213b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [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::custom_heap_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stderr] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | entrypoint!(process_instruction); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | 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`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` 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: `spl_token_2022::extension::confidential_transfer::instruction::deposit` [INFO] [stderr] --> programs/native-amm-2024/src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use spl_token_2022::extension::confidential_transfer::instruction::deposit; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Withdraw` [INFO] [stderr] --> programs/native-amm-2024/src/lock.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{Config, Withdraw}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `padding` [INFO] [stderr] --> programs/native-amm-2024/src/initialize.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | padding, [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `serialize` is never used [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl AMMInstructions { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] 30 | pub fn serialize(&self, ix: T) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Initialize { [INFO] [stderr] | ^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / #[repr(C)] [INFO] [stderr] 39 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stderr] 40 | | pub struct Initialize { [INFO] [stderr] 41 | | pub seed: u64, [INFO] [stderr] ... | [INFO] [stderr] 44 | | pub padding: [u8; 6], [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct Deposit { [INFO] [stderr] | ^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / #[repr(C)] [INFO] [stderr] 48 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stderr] 49 | | pub struct Deposit { [INFO] [stderr] 50 | | pub amount: u64, // Amount of LP token to claim [INFO] [stderr] ... | [INFO] [stderr] 53 | | pub expiration: i64, [INFO] [stderr] 54 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub struct Withdraw { [INFO] [stderr] | ^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / #[repr(C)] [INFO] [stderr] 57 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stderr] 58 | | pub struct Withdraw { [INFO] [stderr] 59 | | pub amount: u64, // Amount of LP token to burn [INFO] [stderr] ... | [INFO] [stderr] 62 | | pub expiration: i64, [INFO] [stderr] 63 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct Swap { [INFO] [stderr] | ^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | / #[repr(C)] [INFO] [stderr] 66 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stderr] 67 | | pub struct Swap { [INFO] [stderr] 68 | | pub amount: u64, // Amount of tokens we deposit [INFO] [stderr] 69 | | pub min: u64, // Minimum amount of tokens I'd be willing to withdraw [INFO] [stderr] 70 | | pub expiration: i64, [INFO] [stderr] 71 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/state.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Config { [INFO] [stderr] | ^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> programs/native-amm-2024/src/state.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / #[repr(C)] [INFO] [stderr] 19 | | #[derive(Clone, Copy, Pod, Zeroable, TryFromBytes)] [INFO] [stderr] 20 | | pub struct Config { [INFO] [stderr] 21 | | pub seed: u64, [INFO] [stderr] ... | [INFO] [stderr] 31 | | pub padding: [u8; 1], [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `native-amm-2024` (lib) generated 18 warnings (run `cargo fix --lib -p native-amm-2024` to apply 2 suggestions) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct Initialize { [INFO] [stderr] | ^^^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `native-amm-2024` (lib test) generated 17 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-849cc1d0988317fb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::swap ... ok [INFO] [stdout] test tests::swap_with_fee ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/native_amm_2024-a4941fc60a52be5e) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::initialize ... FAILED [INFO] [stdout] test tests::withdraw ... FAILED [INFO] [stdout] test tests::swap ... FAILED [INFO] [stdout] test tests::deposit ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::initialize stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::initialize' (29) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28: [INFO] [stdout] Program file data not available for "target/deploy/native_amm_2024.so" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x568c9ce52492 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x568c9ce52492 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x568c9ce52492 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x568c9ce52492 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x568c9ce641ff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x568c9ce641ff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x568c9ce1dc41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x568c9ce1dc41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x568c9ce2a6c2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x568c9ce2f9ef - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x568c9ce2f881 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x568c9bf8eb2e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x568c9bf8eb2e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x568c9ce3015f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x568c9ce3015f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x568c9ce2ff0a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x568c9ce2a809 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x568c9ce11c6d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x568c9ce6db80 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x568c9bfc135d - mollusk_svm::file::load_program_elf::{{closure}}::h1a9f216dd82ceae0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28 [INFO] [stdout] 20: 0x568c9bfbdeec - core::option::Option::unwrap_or_else::h54f3dc472e965337 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:1060:21 [INFO] [stdout] 21: 0x568c9bfc12c3 - mollusk_svm::file::load_program_elf::h6108098fbec4ea5b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:10 [INFO] [stdout] 22: 0x568c9bfc7406 - mollusk_svm::Mollusk::add_program::hd7daf1803d1d1c8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:119:19 [INFO] [stdout] 23: 0x568c9bfc85ae - mollusk_svm::Mollusk::new::ha2e4ccd4341aba8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:111:17 [INFO] [stdout] 24: 0x568c9bf63692 - native_amm_2024::tests::initialize::hc91dc6caa9f29017 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:19:32 [INFO] [stdout] 25: 0x568c9bf65337 - native_amm_2024::tests::initialize::{{closure}}::h931bdf42aece9469 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:17:16 [INFO] [stdout] 26: 0x568c9bf61806 - core::ops::function::FnOnce::call_once::h6cc0b32199c9a694 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x568c9bf8e8eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x568c9bf8e8eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x568c9bfa43d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x568c9bfa43d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x568c9bfa43d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x568c9bfa43d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x568c9bfa43d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x568c9bfa43d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x568c9bfa43d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x568c9bf7ad44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x568c9bf7ad44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x568c9bf7e6ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x568c9bf7e6ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x568c9bf7e6ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x568c9bf7e6ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x568c9bf7e6ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x568c9ce2463f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x568c9ce2463f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7af32b73daa4 - [INFO] [stdout] 48: 0x7af32b7caa34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::withdraw stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::withdraw' (31) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28: [INFO] [stdout] Program file data not available for "target/deploy/native_amm_2024.so" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x568c9ce52492 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x568c9ce52492 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x568c9ce52492 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x568c9ce52492 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x568c9ce641ff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x568c9ce641ff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x568c9ce1dc41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x568c9ce1dc41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x568c9ce2a6c2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x568c9ce2f9ef - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x568c9ce2f881 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x568c9bf8eb2e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x568c9bf8eb2e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x568c9ce3015f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x568c9ce3015f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x568c9ce2ff0a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x568c9ce2a809 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x568c9ce11c6d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x568c9ce6db80 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x568c9bfc135d - mollusk_svm::file::load_program_elf::{{closure}}::h1a9f216dd82ceae0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28 [INFO] [stdout] 20: 0x568c9bfbdeec - core::option::Option::unwrap_or_else::h54f3dc472e965337 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:1060:21 [INFO] [stdout] 21: 0x568c9bfc12c3 - mollusk_svm::file::load_program_elf::h6108098fbec4ea5b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:10 [INFO] [stdout] 22: 0x568c9bfc7406 - mollusk_svm::Mollusk::add_program::hd7daf1803d1d1c8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:119:19 [INFO] [stdout] 23: 0x568c9bfc85ae - mollusk_svm::Mollusk::new::ha2e4ccd4341aba8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:111:17 [INFO] [stdout] 24: 0x568c9bf6acc9 - native_amm_2024::tests::withdraw::hb0aaf387155c0092 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:407:32 [INFO] [stdout] 25: 0x568c9bf6dc87 - native_amm_2024::tests::withdraw::{{closure}}::h994ce085e1d62bb2 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:405:14 [INFO] [stdout] 26: 0x568c9bf61896 - core::ops::function::FnOnce::call_once::hb9cf4be9c5ebfe3c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x568c9bf8e8eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x568c9bf8e8eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x568c9bfa43d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x568c9bfa43d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x568c9bfa43d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x568c9bfa43d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x568c9bfa43d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x568c9bfa43d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x568c9bfa43d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x568c9bf7ad44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x568c9bf7ad44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x568c9bf7e6ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x568c9bf7e6ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x568c9bf7e6ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x568c9bf7e6ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x568c9bf7e6ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x568c9ce2463f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x568c9ce2463f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7af32b73daa4 - [INFO] [stdout] 48: 0x7af32b7caa34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::swap stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::swap' (30) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28: [INFO] [stdout] Program file data not available for "target/deploy/native_amm_2024.so" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x568c9ce52492 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x568c9ce52492 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x568c9ce52492 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x568c9ce52492 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x568c9ce641ff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x568c9ce641ff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x568c9ce1dc41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x568c9ce1dc41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x568c9ce2a6c2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x568c9ce2f9ef - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x568c9ce2f881 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x568c9bf8eb2e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x568c9bf8eb2e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x568c9ce3015f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x568c9ce3015f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x568c9ce2ff0a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x568c9ce2a809 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x568c9ce11c6d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x568c9ce6db80 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x568c9bfc135d - mollusk_svm::file::load_program_elf::{{closure}}::h1a9f216dd82ceae0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28 [INFO] [stdout] 20: 0x568c9bfbdeec - core::option::Option::unwrap_or_else::h54f3dc472e965337 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:1060:21 [INFO] [stdout] 21: 0x568c9bfc12c3 - mollusk_svm::file::load_program_elf::h6108098fbec4ea5b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:10 [INFO] [stdout] 22: 0x568c9bfc7406 - mollusk_svm::Mollusk::add_program::hd7daf1803d1d1c8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:119:19 [INFO] [stdout] 23: 0x568c9bfc85ae - mollusk_svm::Mollusk::new::ha2e4ccd4341aba8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:111:17 [INFO] [stdout] 24: 0x568c9bf653da - native_amm_2024::tests::swap::h23b93e70ead3d852 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:682:32 [INFO] [stdout] 25: 0x568c9bf67b17 - native_amm_2024::tests::swap::{{closure}}::h9b33cced3ec19c77 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:680:10 [INFO] [stdout] 26: 0x568c9bf61856 - core::ops::function::FnOnce::call_once::hb803d6b29194da75 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x568c9bf8e8eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x568c9bf8e8eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x568c9bfa43d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x568c9bfa43d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x568c9bfa43d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x568c9bfa43d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x568c9bfa43d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x568c9bfa43d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x568c9bfa43d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x568c9bf7ad44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x568c9bf7ad44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x568c9bf7e6ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x568c9bf7e6ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x568c9bf7e6ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x568c9bf7e6ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x568c9bf7e6ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x568c9ce2463f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x568c9ce2463f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7af32b73daa4 - [INFO] [stdout] 48: 0x7af32b7caa34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::deposit stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::deposit' (28) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28: [INFO] [stdout] Program file data not available for "target/deploy/native_amm_2024.so" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x568c9ce52492 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x568c9ce52492 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x568c9ce52492 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x568c9ce52492 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x568c9ce641ff - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x568c9ce641ff - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x568c9ce1dc41 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x568c9ce1dc41 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x568c9ce2a6c2 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x568c9ce2f9ef - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x568c9ce2f881 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x568c9bf8eb2e - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x568c9bf8eb2e - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x568c9ce3015f - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x568c9ce3015f - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x568c9ce2ff0a - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x568c9ce2a809 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x568c9ce11c6d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x568c9ce6db80 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x568c9bfc135d - mollusk_svm::file::load_program_elf::{{closure}}::h1a9f216dd82ceae0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:28 [INFO] [stdout] 20: 0x568c9bfbdeec - core::option::Option::unwrap_or_else::h54f3dc472e965337 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/option.rs:1060:21 [INFO] [stdout] 21: 0x568c9bfc12c3 - mollusk_svm::file::load_program_elf::h6108098fbec4ea5b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/file.rs:81:10 [INFO] [stdout] 22: 0x568c9bfc7406 - mollusk_svm::Mollusk::add_program::hd7daf1803d1d1c8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:119:19 [INFO] [stdout] 23: 0x568c9bfc85ae - mollusk_svm::Mollusk::new::ha2e4ccd4341aba8a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mollusk-svm-0.0.1/src/lib.rs:111:17 [INFO] [stdout] 24: 0x568c9bf67bd9 - native_amm_2024::tests::deposit::h1bda728f6edcc817 [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:131:32 [INFO] [stdout] 25: 0x568c9bf6ac07 - native_amm_2024::tests::deposit::{{closure}}::h7a4b800df69983ac [INFO] [stdout] at /opt/rustwide/workdir/programs/native-amm-2024/src/tests/mod.rs:129:13 [INFO] [stdout] 26: 0x568c9bf617c6 - core::ops::function::FnOnce::call_once::h383bc6e1d48b7b16 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 27: 0x568c9bf8e8eb - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 28: 0x568c9bf8e8eb - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x568c9bfa43d5 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x568c9bfa43d5 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x568c9bfa43d5 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x568c9bfa43d5 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x568c9bfa43d5 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x568c9bfa43d5 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x568c9bfa43d5 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x568c9bf7ad44 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x568c9bf7ad44 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 39: 0x568c9bf7e6ea - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x568c9bf7e6ea - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x568c9bf7e6ea - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x568c9bf7e6ea - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x568c9bf7e6ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 44: 0x568c9bf7e6ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 45: 0x568c9ce2463f - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 46: 0x568c9ce2463f - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 47: 0x7af32b73daa4 - [INFO] [stdout] 48: 0x7af32b7caa34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::deposit [INFO] [stdout] tests::initialize [INFO] [stdout] tests::swap [INFO] [stdout] tests::withdraw [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p native-amm-2024 --lib` [INFO] running `Command { std: "docker" "inspect" "a33787b5f6e6ac97d7ea08c28bed92085e23eb46aed6f480f52cb5eba748213b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33787b5f6e6ac97d7ea08c28bed92085e23eb46aed6f480f52cb5eba748213b", kill_on_drop: false }` [INFO] [stdout] a33787b5f6e6ac97d7ea08c28bed92085e23eb46aed6f480f52cb5eba748213b