[INFO] fetching crate mercurial-amm 0.1.4... [INFO] building mercurial-amm-0.1.4 against master#f3126500f25114ba4e0ac3e76694dd45a22de56d for pr-107620-1 [INFO] extracting crate mercurial-amm 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate mercurial-amm 0.1.4 on toolchain f3126500f25114ba4e0ac3e76694dd45a22de56d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mercurial-amm 0.1.4 [INFO] finished tweaking crates.io crate mercurial-amm 0.1.4 [INFO] tweaked toml for crates.io crate mercurial-amm 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spl-token v3.3.1 [INFO] [stderr] Downloaded anchor-spl v0.25.0 [INFO] [stderr] Downloaded mercurial-vault v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6f1044b94653b0ddafd92a3aa02d796b0040cfc7427c802d689240f6031cd5b [INFO] running `Command { std: "docker" "start" "-a" "f6f1044b94653b0ddafd92a3aa02d796b0040cfc7427c802d689240f6031cd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6f1044b94653b0ddafd92a3aa02d796b0040cfc7427c802d689240f6031cd5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f1044b94653b0ddafd92a3aa02d796b0040cfc7427c802d689240f6031cd5b", kill_on_drop: false }` [INFO] [stdout] f6f1044b94653b0ddafd92a3aa02d796b0040cfc7427c802d689240f6031cd5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 768dc865d83dddb1a3a30a2ac5d89e8b792d02856b6cf6c898ebc1f1e7a274da [INFO] running `Command { std: "docker" "start" "-a" "768dc865d83dddb1a3a30a2ac5d89e8b792d02856b6cf6c898ebc1f1e7a274da", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.84 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bumpalo v3.12.0 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.10.41 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling blake3 v1.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling solana-frozen-abi v1.10.41 [INFO] [stderr] Compiling toml_datetime v0.5.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.84 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-program v1.10.41 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.2.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling keccak v0.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_edit v0.18.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.84 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.84 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling bytemuck_derive v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.84 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.10.41 [INFO] [stderr] Compiling num_enum_derive v0.5.9 [INFO] [stderr] Compiling bytemuck v1.13.0 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling num_enum v0.5.9 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling anchor-syn v0.25.0 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-program v0.25.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.25.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.25.0 [INFO] [stderr] Compiling anchor-attribute-error v0.25.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.25.0 [INFO] [stderr] Compiling anchor-attribute-state v0.25.0 [INFO] [stderr] Compiling anchor-attribute-event v0.25.0 [INFO] [stderr] Compiling anchor-attribute-account v0.25.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.25.0 [INFO] [stderr] Compiling spl-token v3.3.1 [INFO] [stderr] Compiling anchor-lang v0.25.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.5 [INFO] [stderr] Compiling anchor-spl v0.25.0 [INFO] [stderr] Compiling mercurial-vault v0.4.4 [INFO] [stderr] Compiling mercurial-amm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ctx: Context<'a, 'b, 'c, 'info, Swap<'info>>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_amount` [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | in_amount: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_pool_token_amount` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | minimum_pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_a_amount` [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b_amount` [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_a_token_out` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | minimum_a_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_a_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_b_token_out` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | minimum_b_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_b_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_a_amount` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | maximum_token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_b_amount` [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | maximum_token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn sync_apy(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_pool_info(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "768dc865d83dddb1a3a30a2ac5d89e8b792d02856b6cf6c898ebc1f1e7a274da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768dc865d83dddb1a3a30a2ac5d89e8b792d02856b6cf6c898ebc1f1e7a274da", kill_on_drop: false }` [INFO] [stdout] 768dc865d83dddb1a3a30a2ac5d89e8b792d02856b6cf6c898ebc1f1e7a274da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:542af8c9c691278ea8427c9f55ce1005b509eeebcbbcbc893145cd6832507671" "/opt/rustwide/cargo-home/bin/cargo" "+f3126500f25114ba4e0ac3e76694dd45a22de56d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2123d62498b8a6e1f1ddcd562dbdd217974a63ce5a66b42e5d359f968d1ccfff [INFO] running `Command { std: "docker" "start" "-a" "2123d62498b8a6e1f1ddcd562dbdd217974a63ce5a66b42e5d359f968d1ccfff", kill_on_drop: false }` [INFO] [stderr] Compiling mercurial-amm v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ctx: Context<'a, 'b, 'c, 'info, Swap<'info>>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_amount` [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | in_amount: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_pool_token_amount` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | minimum_pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_a_amount` [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b_amount` [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_a_token_out` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | minimum_a_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_a_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_b_token_out` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | minimum_b_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_b_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_a_amount` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | maximum_token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_b_amount` [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | maximum_token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn sync_apy(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_pool_info(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants` [INFO] [stdout] --> src/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | ctx: Context<'a, 'b, 'c, 'info, Swap<'info>>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_amount` [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | in_amount: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_out_amount` [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | minimum_out_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_out_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_pool_token_amount` [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | minimum_pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_a_amount` [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_b_amount` [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_a_token_out` [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | minimum_a_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_a_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minimum_b_token_out` [INFO] [stdout] --> src/lib.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | minimum_b_token_out: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minimum_b_token_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | ctx: Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_token_amount` [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pool_token_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_token_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_a_amount` [INFO] [stdout] --> src/lib.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | maximum_token_a_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_a_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maximum_token_b_amount` [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | maximum_token_b_amount: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maximum_token_b_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn sync_apy(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn get_pool_info(ctx: Context) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.05s [INFO] running `Command { std: "docker" "inspect" "2123d62498b8a6e1f1ddcd562dbdd217974a63ce5a66b42e5d359f968d1ccfff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2123d62498b8a6e1f1ddcd562dbdd217974a63ce5a66b42e5d359f968d1ccfff", kill_on_drop: false }` [INFO] [stdout] 2123d62498b8a6e1f1ddcd562dbdd217974a63ce5a66b42e5d359f968d1ccfff