[INFO] cloning repository https://github.com/Aoi1011/token-swap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aoi1011/token-swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Ftoken-swap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Ftoken-swap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42fe383fc2b92da255e81fabc7f3c35d80b93a1d
[INFO] testing Aoi1011/token-swap against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Ftoken-swap" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Aoi1011/token-swap on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Aoi1011/token-swap
[INFO] finished tweaking git repo https://github.com/Aoi1011/token-swap
[INFO] tweaked toml for git repo https://github.com/Aoi1011/token-swap written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Aoi1011/token-swap already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc1/source/programs/token-swap/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml
[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]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded arbitrary v1.1.0
[INFO] [stderr]   Downloaded derive_arbitrary v1.1.0
[INFO] [stderr]   Downloaded solana-sdk-macro v1.9.22
[INFO] [stderr]   Downloaded solana-frozen-abi-macro v1.9.22
[INFO] [stderr]   Downloaded solana-logger v1.9.22
[INFO] [stderr]   Downloaded solana-frozen-abi v1.9.22
[INFO] [stderr]   Downloaded roots v0.0.7
[INFO] [stderr]   Downloaded solana-program v1.9.22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a07e2ae3d331322887ded2a6ada8d2ee90cf8a9da4a5f859e53c89b8a65f9305
[INFO] running `Command { std: "docker" "start" "-a" "a07e2ae3d331322887ded2a6ada8d2ee90cf8a9da4a5f859e53c89b8a65f9305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a07e2ae3d331322887ded2a6ada8d2ee90cf8a9da4a5f859e53c89b8a65f9305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a07e2ae3d331322887ded2a6ada8d2ee90cf8a9da4a5f859e53c89b8a65f9305", kill_on_drop: false }`
[INFO] [stdout] a07e2ae3d331322887ded2a6ada8d2ee90cf8a9da4a5f859e53c89b8a65f9305
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 427f4e8f208c028a0ea150f9185c0c4a9fad7a1b1931068455b5461549fb29fa
[INFO] running `Command { std: "docker" "start" "-a" "427f4e8f208c028a0ea150f9185c0c4a9fad7a1b1931068455b5461549fb29fa", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/programs/token-swap/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[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]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling semver v1.0.9
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.80
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling once_cell v1.11.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.80
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling uint v0.8.5
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.22
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.22
[INFO] [stderr]    Compiling solana-program v1.9.22
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling memmap2 v0.5.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling solana-logger v1.9.22
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.80
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.7.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.7.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling bytemuck_derive v1.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.22
[INFO] [stderr]    Compiling borsh-derive v0.7.2
[INFO] [stderr]    Compiling enum_dispatch v0.3.8
[INFO] [stderr]    Compiling borsh v0.7.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.80
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[INFO] [stderr]    Compiling bincode v1.3.3
[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 crypto-common v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[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 digest v0.10.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling anchor-syn v0.24.2
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh-derive v0.8.2
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling num_enum v0.5.7
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-program v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-state v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.24.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.24.2
[INFO] [stderr]    Compiling spl-token v3.3.0
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling spl-math v0.1.0
[INFO] [stderr]    Compiling spl-associated-token-account v1.0.5
[INFO] [stderr]    Compiling anchor-spl v0.24.2
[INFO] [stderr]    Compiling token-swap v0.1.0 (/opt/rustwide/workdir/programs/token-swap)
[INFO] [stdout] warning: unused imports: `DynPack`, `anchor_lang::solana_program::program_error::ProgramError`
[INFO] [stdout]  --> programs/token-swap/src/curve/constant_product.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |             map_zero_to_none, CurveCalculator, DynPack, RoundDirection, SwapWithoutFeesResult,
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     anchor_lang::solana_program::program_error::ProgramError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array_mut_ref`, `array_ref`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     arrayref::{array_mut_ref, array_ref},
[INFO] [stdout]    |                ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CurveCalculator`, `DynPack`, `IsInitialized`, `Pack`, `RoundDirection`, `Sealed`, `SwapWithoutFeesResult`, `TradeDirection`, `TradingTokenResult`, `array_mut_ref`, `array_ref`, `checked_ceil_div::CheckedCeilDiv`, `errors::SwapError`, `precise_number::PreciseNumber`, `program_error::ProgramError`
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:5:13
[INFO] [stdout]    |
[INFO] [stdout] 5  |             CurveCalculator, DynPack, RoundDirection, SwapWithoutFeesResult, TradeDirection,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 6  |             TradingTokenResult,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7  |         },
[INFO] [stdout] 8  |         errors::SwapError,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |         program_error::ProgramError,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |         program_pack::{IsInitialized, Pack, Sealed},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^  ^^^^  ^^^^^^
[INFO] [stdout] 13 |     },
[INFO] [stdout] 14 |     arrayref::{array_mut_ref, array_ref},
[INFO] [stdout]    |                ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 15 |     spl_math::{checked_ceil_div::CheckedCeilDiv, precise_number::PreciseNumber, uint::U256},
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_amount`
[INFO] [stdout]    --> programs/token-swap/src/curve/constant_price.rs:191:52
[INFO] [stdout]     |
[INFO] [stdout] 191 |     fn validate_supply(&self, token_a_amount: u64, token_b_amount: u64) -> Result<(), SwapError> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]    --> programs/token-swap/src/curve/offset.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_amount`
[INFO] [stdout]    --> programs/token-swap/src/curve/offset.rs:123:52
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn validate_supply(&self, token_a_amount: u64, token_b_amount: u64) -> Result<(), SwapError> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> programs/token-swap/src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn initialize(ctx: Context<Initialize>) -> Result<()> {
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_COINS` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const N_COINS: u8 = 2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_COINS_SQUARED` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const N_COINS_SQUARED: u8 = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITERATIONS` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const ITERATIONS: u8 = 32;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_a` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn compute_a(amp: u64) -> Option<u64> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_u8_power` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn checked_u8_power(a: &U256, b: u8) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_u8_mul` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn checked_u8_mul(a: &U256, b: u8) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_step` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn calculate_step(initial_d: &U256, leverage: u64, sum_x: u128, d_product: &U256) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_d` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn compute_d(leverage: u64, amount_a: u128, amount_b: u128) -> Option<u128> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcccTN4a/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcccTN4a/symbols.o" "/opt/rustwide/target/debug/deps/token_swap.token_swap.caf370a97fdd029a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/token_swap.1z36v8665x85oo2l.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/blake3-028d9b87716f6990/out" "-L" "/opt/rustwide/target/debug/build/blake3-028d9b87716f6990/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libspl_math-ce1bc2b732eee1e2.rlib" "/opt/rustwide/target/debug/deps/libuint-9397783886e26318.rlib" "/opt/rustwide/target/debug/deps/libstatic_assertions-06b6572b5d394a0a.rlib" "/opt/rustwide/target/debug/deps/librustc_hex-95472170041180ae.rlib" "/opt/rustwide/target/debug/deps/libborsh-7e7f94a091d2c945.rlib" "/opt/rustwide/target/debug/deps/libanchor_lang-2bc8accae3a8fa67.rlib" "/opt/rustwide/target/debug/deps/libsolana_program-e73a63fcf7064af4.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1-3f05830f5e3ae15d.rlib" "/opt/rustwide/target/debug/deps/libbase64-a29b27598b578f1a.rlib" "/opt/rustwide/target/debug/deps/libhmac_drbg-c145b29ce48a1333.rlib" "/opt/rustwide/target/debug/deps/libhmac-71f047452b17889c.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-42a1511be805321e.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1_core-51a50b58938013fc.rlib" "/opt/rustwide/target/debug/deps/libcrunchy-c43d2db6a36103cf.rlib" "/opt/rustwide/target/debug/deps/librand-678aecd421eb01fd.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-1a5bab181eb91d55.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-a99ab8a0983e0261.rlib" "/opt/rustwide/target/debug/deps/libcurve25519_dalek-fee1cfd26f0a7c24.rlib" "/opt/rustwide/target/debug/deps/libzeroize-97b9c37c9ac06594.rlib" "/opt/rustwide/target/debug/deps/librand_core-5988c60e0dbdf316.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-d5758029fe09154e.rlib" "/opt/rustwide/target/debug/deps/liblibc-0c8a998f85f3ba51.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-b2a0e2a402064362.rlib" "/opt/rustwide/target/debug/deps/libbase64-8ea64d3566a9d67e.rlib" "/opt/rustwide/target/debug/deps/libserde_bytes-48e37087cff516e6.rlib" "/opt/rustwide/target/debug/deps/libbs58-6b52eb147dc37b19.rlib" "/opt/rustwide/target/debug/deps/libwasm_bindgen-0ee3226f0b76c89d.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b7cee2ca4fb438d0.rlib" "/opt/rustwide/target/debug/deps/libbv-cac4f46cafb55d55.rlib" "/opt/rustwide/target/debug/deps/libitertools-c35821b23775529e.rlib" "/opt/rustwide/target/debug/deps/libeither-4beac2e2abd4c5f7.rlib" "/opt/rustwide/target/debug/deps/libblake3-f6e3c5d073e925dd.rlib" "/opt/rustwide/target/debug/deps/libconstant_time_eq-47127742af566368.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-e9346d0f13006eff.rlib" "/opt/rustwide/target/debug/deps/libdigest-d88a9a6764bb47bb.rlib" "/opt/rustwide/target/debug/deps/libsubtle-e81364e96654a740.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-778b772e36b2b8ca.rlib" "/opt/rustwide/target/debug/deps/libcrypto_common-7fdf89fe1546cee4.rlib" "/opt/rustwide/target/debug/deps/libarrayref-ff686991724e9e8c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-591486ebcb9a7ead.rlib" "/opt/rustwide/target/debug/deps/libsha3-898bb9ee4347956b.rlib" "/opt/rustwide/target/debug/deps/libkeccak-64bdda24f9360f5d.rlib" "/opt/rustwide/target/debug/deps/libsha2-5c280eda4b536056.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-59f0e929fa0e0586.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-15273823c1ba1453.rlib" "/opt/rustwide/target/debug/deps/libdigest-e7ae15dc1f2eba76.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-4b2995b408fbde83.rlib" "/opt/rustwide/target/debug/deps/libblock_padding-f342a93ff9370570.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-406aedcb194bc39d.rlib" "/opt/rustwide/target/debug/deps/libtypenum-62ca5a12b60d0fda.rlib" "/opt/rustwide/target/debug/deps/liblog-d88d404ed4a3e8b9.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-61dc7a6799e72b18.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6c5b3645d4c7692b.rlib" "/opt/rustwide/target/debug/deps/libbincode-e209feefee6b6861.rlib" "/opt/rustwide/target/debug/deps/libserde-e3cb648fd20ece65.rlib" "/opt/rustwide/target/debug/deps/libthiserror-df7509af81674a76.rlib" "/opt/rustwide/target/debug/deps/libborsh-e9e0fea2e3ecfd5e.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-df163e15875f1d8a.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-90f6ddbf82de36ec.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-480c41e9d4e1f677.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-db744c0ca03eed1d.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-8ba652dc7d4b285a.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d5f4520a9ebc0d58.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-4ad84de58f0cb463.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0d10aae2e0f38735.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c17cff739e6745b.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b29e17139dde1aa8.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1f975299829cc7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-86bae3bc3079f89b.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-321b82c30dffdf5f.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3dd8a6810a0bdfef.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-eb39a61c0c879984.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-aa769569f91c3548.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-510a192a50a983ed.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-0577018320f99037.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-193cf992125ccd4c.rlib" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-8e138eaf26ebb4a8.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtoken_swap.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libspl_math-ce1bc2b732eee1e2.rlib(spl_math-ce1bc2b732eee1e2.spl_math.908f178eedb9c6cc-cgu.2.rcgu.o): in function `entrypoint':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.9.22/src/entrypoint.rs:120: multiple definition of `entrypoint'; /opt/rustwide/target/debug/deps/token_swap.token_swap.caf370a97fdd029a-cgu.0.rcgu.o:/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.9.22/src/entrypoint.rs:120: first defined here
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `token-swap` (lib) due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "427f4e8f208c028a0ea150f9185c0c4a9fad7a1b1931068455b5461549fb29fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "427f4e8f208c028a0ea150f9185c0c4a9fad7a1b1931068455b5461549fb29fa", kill_on_drop: false }`
[INFO] [stdout] 427f4e8f208c028a0ea150f9185c0c4a9fad7a1b1931068455b5461549fb29fa
[INFO] testing Aoi1011/token-swap against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAoi1011%2Ftoken-swap" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Aoi1011/token-swap on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Aoi1011/token-swap
[INFO] finished tweaking git repo https://github.com/Aoi1011/token-swap
[INFO] tweaked toml for git repo https://github.com/Aoi1011/token-swap written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Aoi1011/token-swap already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc2/source/programs/token-swap/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml
[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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 845e9786fdea51071af69b9dadd6008f5d393d766569adf43a2a051886e7fc73
[INFO] running `Command { std: "docker" "start" "-a" "845e9786fdea51071af69b9dadd6008f5d393d766569adf43a2a051886e7fc73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "845e9786fdea51071af69b9dadd6008f5d393d766569adf43a2a051886e7fc73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "845e9786fdea51071af69b9dadd6008f5d393d766569adf43a2a051886e7fc73", kill_on_drop: false }`
[INFO] [stdout] 845e9786fdea51071af69b9dadd6008f5d393d766569adf43a2a051886e7fc73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17520412510ae62ae978c3c8881db644cb1bc435f09c62a22e582d7c6f36a52a
[INFO] running `Command { std: "docker" "start" "-a" "17520412510ae62ae978c3c8881db644cb1bc435f09c62a22e582d7c6f36a52a", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/programs/token-swap/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[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]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling semver v1.0.9
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.80
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling bumpalo v3.9.1
[INFO] [stderr]    Compiling once_cell v1.11.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.80
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling uint v0.8.5
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.22
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.22
[INFO] [stderr]    Compiling solana-program v1.9.22
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling memmap2 v0.5.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling solana-logger v1.9.22
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.80
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.7.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.7.2
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.8.2
[INFO] [stderr]    Compiling borsh-derive-internal v0.8.2
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling bytemuck_derive v1.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.22
[INFO] [stderr]    Compiling borsh-derive v0.7.2
[INFO] [stderr]    Compiling enum_dispatch v0.3.8
[INFO] [stderr]    Compiling borsh v0.7.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.80
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[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 block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling anchor-syn v0.24.2
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling num_enum_derive v0.5.7
[INFO] [stderr]    Compiling borsh-derive v0.8.2
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling num_enum v0.5.7
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-program v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.24.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-state v0.24.2
[INFO] [stderr]    Compiling spl-token v3.3.0
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling spl-math v0.1.0
[INFO] [stderr]    Compiling spl-associated-token-account v1.0.5
[INFO] [stderr]    Compiling anchor-spl v0.24.2
[INFO] [stderr]    Compiling token-swap v0.1.0 (/opt/rustwide/workdir/programs/token-swap)
[INFO] [stdout] warning: unused imports: `DynPack`, `anchor_lang::solana_program::program_error::ProgramError`
[INFO] [stdout]  --> programs/token-swap/src/curve/constant_product.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |             map_zero_to_none, CurveCalculator, DynPack, RoundDirection, SwapWithoutFeesResult,
[INFO] [stdout]   |                                                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     anchor_lang::solana_program::program_error::ProgramError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `array_mut_ref`, `array_ref`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     arrayref::{array_mut_ref, array_ref},
[INFO] [stdout]    |                ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CurveCalculator`, `DynPack`, `IsInitialized`, `Pack`, `RoundDirection`, `Sealed`, `SwapWithoutFeesResult`, `TradeDirection`, `TradingTokenResult`, `array_mut_ref`, `array_ref`, `checked_ceil_div::CheckedCeilDiv`, `errors::SwapError`, `precise_number::PreciseNumber`, `program_error::ProgramError`
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:5:13
[INFO] [stdout]    |
[INFO] [stdout] 5  |             CurveCalculator, DynPack, RoundDirection, SwapWithoutFeesResult, TradeDirection,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 6  |             TradingTokenResult,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7  |         },
[INFO] [stdout] 8  |         errors::SwapError,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |         program_error::ProgramError,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |         program_pack::{IsInitialized, Pack, Sealed},
[INFO] [stdout]    |                        ^^^^^^^^^^^^^  ^^^^  ^^^^^^
[INFO] [stdout] 13 |     },
[INFO] [stdout] 14 |     arrayref::{array_mut_ref, array_ref},
[INFO] [stdout]    |                ^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 15 |     spl_math::{checked_ceil_div::CheckedCeilDiv, precise_number::PreciseNumber, uint::U256},
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_amount`
[INFO] [stdout]    --> programs/token-swap/src/curve/constant_price.rs:191:52
[INFO] [stdout]     |
[INFO] [stdout] 191 |     fn validate_supply(&self, token_a_amount: u64, token_b_amount: u64) -> Result<(), SwapError> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 |         let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]   --> programs/token-swap/src/curve/offset.rs:85:11
[INFO] [stdout]    |
[INFO] [stdout] 85 |       let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_offset`
[INFO] [stdout]    --> programs/token-swap/src/curve/offset.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let token_b_offset = self.token_b_offset as u128;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_b_amount`
[INFO] [stdout]    --> programs/token-swap/src/curve/offset.rs:123:52
[INFO] [stdout]     |
[INFO] [stdout] 123 |     fn validate_supply(&self, token_a_amount: u64, token_b_amount: u64) -> Result<(), SwapError> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> programs/token-swap/src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn initialize(ctx: Context<Initialize>) -> Result<()> {
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_COINS` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const N_COINS: u8 = 2;
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_COINS_SQUARED` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const N_COINS_SQUARED: u8 = 4;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITERATIONS` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const ITERATIONS: u8 = 32;
[INFO] [stdout]    |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_a` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn compute_a(amp: u64) -> Option<u64> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_u8_power` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn checked_u8_power(a: &U256, b: u8) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checked_u8_mul` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn checked_u8_mul(a: &U256, b: u8) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_step` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn calculate_step(initial_d: &U256, leverage: u64, sum_x: u128, d_product: &U256) -> Option<U256> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_d` is never used
[INFO] [stdout]   --> programs/token-swap/src/curve/stable.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn compute_d(leverage: u64, amount_a: u128, amount_b: u128) -> Option<u128> {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcu6OYY7/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcu6OYY7/symbols.o" "/opt/rustwide/target/debug/deps/token_swap.token_swap.c1a90696f951c8c-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/token_swap.3k4guwd4dnct144z.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/blake3-315b8dddbaef3e19/out" "-L" "/opt/rustwide/target/debug/build/blake3-315b8dddbaef3e19/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libspl_math-95b1d06a7a1c6411.rlib" "/opt/rustwide/target/debug/deps/libuint-228a5ab689d40199.rlib" "/opt/rustwide/target/debug/deps/libstatic_assertions-0ef270c4de502b0e.rlib" "/opt/rustwide/target/debug/deps/librustc_hex-8343ac267e41f73d.rlib" "/opt/rustwide/target/debug/deps/libborsh-4e9421e5018eca9f.rlib" "/opt/rustwide/target/debug/deps/libanchor_lang-6930801e5afb6722.rlib" "/opt/rustwide/target/debug/deps/libsolana_program-bd0557b80c2f3276.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1-310f96874f811453.rlib" "/opt/rustwide/target/debug/deps/libbase64-00978a2741532e14.rlib" "/opt/rustwide/target/debug/deps/libhmac_drbg-a32e28709b5a55fb.rlib" "/opt/rustwide/target/debug/deps/libhmac-2c1118a14f208401.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-9b264924d1a10fc3.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1_core-b47d9b5f03f02455.rlib" "/opt/rustwide/target/debug/deps/libcrunchy-c045dfa9fb989133.rlib" "/opt/rustwide/target/debug/deps/librand-9673523560f68cb9.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-908c03293c6365b5.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-7d6f1ee516acde66.rlib" "/opt/rustwide/target/debug/deps/libcurve25519_dalek-fe8037bfbb8d2985.rlib" "/opt/rustwide/target/debug/deps/libzeroize-7076c4ced37f8e9f.rlib" "/opt/rustwide/target/debug/deps/librand_core-5bc2c09d9f57b642.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-f884bef5394ac98a.rlib" "/opt/rustwide/target/debug/deps/liblibc-85b828953cb5f446.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-66395afc999da73b.rlib" "/opt/rustwide/target/debug/deps/libbase64-450a6d9dcba13b9b.rlib" "/opt/rustwide/target/debug/deps/libserde_bytes-5f5df4521191b4df.rlib" "/opt/rustwide/target/debug/deps/libbs58-5df4082cdc088375.rlib" "/opt/rustwide/target/debug/deps/libwasm_bindgen-ed0b60cb6ca6c728.rlib" "/opt/rustwide/target/debug/deps/libbitflags-85e13ed1e0c6d910.rlib" "/opt/rustwide/target/debug/deps/libbv-40b6bc222c1e6d1d.rlib" "/opt/rustwide/target/debug/deps/libitertools-6742c538525f0ef7.rlib" "/opt/rustwide/target/debug/deps/libeither-8184e77a300434cc.rlib" "/opt/rustwide/target/debug/deps/libblake3-e8693d6e3206620f.rlib" "/opt/rustwide/target/debug/deps/libconstant_time_eq-ad62baf7b795d7e9.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2f4a663d61956759.rlib" "/opt/rustwide/target/debug/deps/libdigest-ead6efbddc3f0f92.rlib" "/opt/rustwide/target/debug/deps/libsubtle-76006a9bd5a47a01.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-c300b44575dee0ce.rlib" "/opt/rustwide/target/debug/deps/libcrypto_common-0de7913e9a324ca1.rlib" "/opt/rustwide/target/debug/deps/libarrayref-5415a74d7f013a3b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-efa3519517df6cf0.rlib" "/opt/rustwide/target/debug/deps/libsha3-bbbbf44133494a2f.rlib" "/opt/rustwide/target/debug/deps/libkeccak-d5f4f1b99207263c.rlib" "/opt/rustwide/target/debug/deps/libsha2-65851c0e0ea5ee31.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-18db14691b5465d8.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-75789ad55cd94475.rlib" "/opt/rustwide/target/debug/deps/libdigest-7e1d3ca867849df7.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-62124d378b8c922b.rlib" "/opt/rustwide/target/debug/deps/libblock_padding-5fe545f1233db42b.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-962eaddb3964440b.rlib" "/opt/rustwide/target/debug/deps/libtypenum-d1feac8ebe5aef3f.rlib" "/opt/rustwide/target/debug/deps/liblog-5dd7ca7285786d5e.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-e7002d307f97bc56.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-3b46dfbf697523e2.rlib" "/opt/rustwide/target/debug/deps/libbincode-89131795e42e5b71.rlib" "/opt/rustwide/target/debug/deps/libserde-b47de8fdf698cc7f.rlib" "/opt/rustwide/target/debug/deps/libthiserror-b09288c3784704cb.rlib" "/opt/rustwide/target/debug/deps/libborsh-2f94326531d29425.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-31484d1fac33209b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0672489a78b613de.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-7eb3ffc34a49f675.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6478a9daa4bee8e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-0c75d871a5c3923d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d163ef63ad37bb71.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8a3fd810a85b9f4c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-462a2cde8c5dfc10.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-cb06ac9f54713f71.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-f20bfd1f8e59b393.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1ef460949b49da4b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2cb0c0ffe4f87514.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-58d841eb322a11a2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-aa2ae0b0a9d11533.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-23874e15830ed336.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e47cddc003bce885.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22b13b48a8f128e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-e46bc3da6d7c462f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8d1ac131d3cb2645.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-a1b43df8c6899c1f.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtoken_swap.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libspl_math-95b1d06a7a1c6411.rlib(spl_math-95b1d06a7a1c6411.spl_math.e6999fb6568a3263-cgu.2.rcgu.o): in function `entrypoint':
[INFO] [stdout]           /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.9.22/src/entrypoint.rs:120: multiple definition of `entrypoint'; /opt/rustwide/target/debug/deps/token_swap.token_swap.c1a90696f951c8c-cgu.0.rcgu.o:/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/solana-program-1.9.22/src/entrypoint.rs:120: first defined here
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `token-swap` (lib) due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "17520412510ae62ae978c3c8881db644cb1bc435f09c62a22e582d7c6f36a52a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17520412510ae62ae978c3c8881db644cb1bc435f09c62a22e582d7c6f36a52a", kill_on_drop: false }`
[INFO] [stdout] 17520412510ae62ae978c3c8881db644cb1bc435f09c62a22e582d7c6f36a52a
