[INFO] cloning repository https://github.com/devrose04/token_swap_smart_contract_solana [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devrose04/token_swap_smart_contract_solana" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevrose04%2Ftoken_swap_smart_contract_solana", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevrose04%2Ftoken_swap_smart_contract_solana'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c934074313e1f21948a2ccf335e6e23a46c4e7a2 [INFO] testing devrose04/token_swap_smart_contract_solana against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevrose04%2Ftoken_swap_smart_contract_solana" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devrose04/token_swap_smart_contract_solana on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devrose04/token_swap_smart_contract_solana [INFO] finished tweaking git repo https://github.com/devrose04/token_swap_smart_contract_solana [INFO] tweaked toml for git repo https://github.com/devrose04/token_swap_smart_contract_solana written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/devrose04/token_swap_smart_contract_solana 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.85.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-4-tc1/source/programs/seahorseswap/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bbbe78d5dea1588755d3869b69831b98f2335100655b5ea21baff857d074186 [INFO] running `Command { std: "docker" "start" "-a" "5bbbe78d5dea1588755d3869b69831b98f2335100655b5ea21baff857d074186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bbbe78d5dea1588755d3869b69831b98f2335100655b5ea21baff857d074186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbbe78d5dea1588755d3869b69831b98f2335100655b5ea21baff857d074186", kill_on_drop: false }` [INFO] [stdout] 5bbbe78d5dea1588755d3869b69831b98f2335100655b5ea21baff857d074186 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6104babaec6599a6b224b64f1742c236ef9e804bbaf558c1189eb23169280d2 [INFO] running `Command { std: "docker" "start" "-a" "d6104babaec6599a6b224b64f1742c236ef9e804bbaf558c1189eb23169280d2", 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/seahorseswap/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.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.127 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.60 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.29 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling solana-frozen-abi v1.9.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-program v1.9.29 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling memmap2 v0.5.5 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling solana-logger v1.9.29 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling bytemuck_derive v1.1.1 [INFO] [stderr] Compiling solana-sdk-macro v1.9.29 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.7 [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.6 [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 sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [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-event 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-access-control v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state 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-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.24.2 [INFO] [stderr] Compiling seahorseswap v0.1.0 (/opt/rustwide/workdir/programs/seahorseswap) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (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/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut requesting_wallet_pubkey: Pubkey, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut offering_token_mint = &mut ctx.accounts.offering_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut requesting_token_mint = &mut ctx.accounts.requesting_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut escrow = escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut escrow_offering_token_account = escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:56 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut final_offering_token_account = &mut ctx.accounts.final_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut final_requesting_token_account = &mut ctx.accounts.final_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d6104babaec6599a6b224b64f1742c236ef9e804bbaf558c1189eb23169280d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6104babaec6599a6b224b64f1742c236ef9e804bbaf558c1189eb23169280d2", kill_on_drop: false }` [INFO] [stdout] d6104babaec6599a6b224b64f1742c236ef9e804bbaf558c1189eb23169280d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7447f6d4c849f7b5a539a181e695bac36cf449de42ccd2a94c53a6b658a0ea38 [INFO] running `Command { std: "docker" "start" "-a" "7447f6d4c849f7b5a539a181e695bac36cf449de42ccd2a94c53a6b658a0ea38", 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/seahorseswap/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] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (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/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut requesting_wallet_pubkey: Pubkey, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut offering_token_mint = &mut ctx.accounts.offering_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut requesting_token_mint = &mut ctx.accounts.requesting_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut escrow = escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut escrow_offering_token_account = escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling seahorseswap v0.1.0 (/opt/rustwide/workdir/programs/seahorseswap) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:56 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut final_offering_token_account = &mut ctx.accounts.final_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut final_requesting_token_account = &mut ctx.accounts.final_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (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/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_lang::solana_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:316:10 [INFO] [stdout] | [INFO] [stdout] 316 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:397:10 [INFO] [stdout] | [INFO] [stdout] 397 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 410 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:425:10 [INFO] [stdout] | [INFO] [stdout] 425 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mut requesting_wallet_pubkey: Pubkey, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut offering_token_mint = &mut ctx.accounts.offering_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut requesting_token_mint = &mut ctx.accounts.requesting_token_mint; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut escrow = escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut escrow_offering_token_account = escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | mut ctx: Context, [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | mut escrow_bump: u8, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:238:56 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut final_offering_token_account = &mut ctx.accounts.final_offering_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> programs/seahorseswap/src/lib.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | let mut final_requesting_token_account = &mut ctx.accounts.final_requesting_token_account; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7447f6d4c849f7b5a539a181e695bac36cf449de42ccd2a94c53a6b658a0ea38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7447f6d4c849f7b5a539a181e695bac36cf449de42ccd2a94c53a6b658a0ea38", kill_on_drop: false }` [INFO] [stdout] 7447f6d4c849f7b5a539a181e695bac36cf449de42ccd2a94c53a6b658a0ea38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e38caf07044f79410dd6352a986a8e75a9d411db076c7b06e2ab0291c4bbcbe [INFO] running `Command { std: "docker" "start" "-a" "8e38caf07044f79410dd6352a986a8e75a9d411db076c7b06e2ab0291c4bbcbe", 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/seahorseswap/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] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stderr] | [INFO] [stderr] 444 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (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/seahorseswap/src/lib.rs:444:1 [INFO] [stderr] | [INFO] [stderr] 444 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [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 attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `anchor_lang::solana_program` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_lang::solana_program; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:316:10 [INFO] [stderr] | [INFO] [stderr] 316 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:369:10 [INFO] [stderr] | [INFO] [stderr] 369 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:382:10 [INFO] [stderr] | [INFO] [stderr] 382 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:397:10 [INFO] [stderr] | [INFO] [stderr] 397 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:410:10 [INFO] [stderr] | [INFO] [stderr] 410 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:425:10 [INFO] [stderr] | [INFO] [stderr] 425 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:444:1 [INFO] [stderr] | [INFO] [stderr] 444 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, `no-idl`, and `no-log-ix-name` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryFrom` [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | mut ctx: Context, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | mut requesting_wallet_pubkey: Pubkey, [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let mut offering_token_mint = &mut ctx.accounts.offering_token_mint; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | let mut requesting_token_mint = &mut ctx.accounts.requesting_token_mint; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let mut escrow = escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let mut escrow_offering_token_account = escrow_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | mut ctx: Context, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | mut ctx: Context, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | mut escrow_bump: u8, [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let mut offering_signer = &mut ctx.accounts.offering_signer; [INFO] [stderr] | ----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 115 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:155:5 [INFO] [stderr] | [INFO] [stderr] 155 | mut ctx: Context, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:159:9 [INFO] [stderr] | [INFO] [stderr] 159 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:193:5 [INFO] [stderr] | [INFO] [stderr] 193 | mut ctx: Context, [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | mut escrow_bump: u8, [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | let mut requesting_signer = &mut ctx.accounts.requesting_signer; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:197:9 [INFO] [stderr] | [INFO] [stderr] 197 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 199 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:238:27 [INFO] [stderr] | [INFO] [stderr] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:238:56 [INFO] [stderr] | [INFO] [stderr] 238 | pub fn crank_swap_handler(mut ctx: Context, mut escrow_bump: u8) -> Result<()> { [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:239:9 [INFO] [stderr] | [INFO] [stderr] 239 | let mut escrow = &mut ctx.accounts.escrow; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:240:9 [INFO] [stderr] | [INFO] [stderr] 240 | let mut original_offering_token_account = &mut ctx.accounts.original_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:241:9 [INFO] [stderr] | [INFO] [stderr] 241 | let mut original_requesting_token_account = &mut ctx.accounts.original_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | let mut escrow_offering_token_account = &mut ctx.accounts.escrow_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | let mut escrow_requesting_token_account = &mut ctx.accounts.escrow_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | let mut final_offering_token_account = &mut ctx.accounts.final_offering_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> programs/seahorseswap/src/lib.rs:245:9 [INFO] [stderr] | [INFO] [stderr] 245 | let mut final_requesting_token_account = &mut ctx.accounts.final_requesting_token_account; [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `seahorseswap` (lib) generated 56 warnings (run `cargo fix --lib -p seahorseswap` to apply 46 suggestions) [INFO] [stderr] warning: `seahorseswap` (lib test) generated 56 warnings (56 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/seahorseswap-f1503d18afb084bf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests seahorseswap [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e38caf07044f79410dd6352a986a8e75a9d411db076c7b06e2ab0291c4bbcbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e38caf07044f79410dd6352a986a8e75a9d411db076c7b06e2ab0291c4bbcbe", kill_on_drop: false }` [INFO] [stdout] 8e38caf07044f79410dd6352a986a8e75a9d411db076c7b06e2ab0291c4bbcbe