[INFO] cloning repository https://github.com/jasperdg/nearyswap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jasperdg/nearyswap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasperdg%2Fnearyswap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasperdg%2Fnearyswap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd71af62564b247d8a6f42eae832a3f8187e186e [INFO] checking jasperdg/nearyswap against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasperdg%2Fnearyswap" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jasperdg/nearyswap on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jasperdg/nearyswap [INFO] removed workspace from git repo https://github.com/jasperdg/nearyswap [INFO] finished tweaking git repo https://github.com/jasperdg/nearyswap [INFO] tweaked toml for git repo https://github.com/jasperdg/nearyswap written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/jasperdg/nearyswap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hashbrown v0.9.0 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd0ac841c98c46641c587e260e023b20ee88c4d20a6c230b50dbe7b277ac92d0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd0ac841c98c46641c587e260e023b20ee88c4d20a6c230b50dbe7b277ac92d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd0ac841c98c46641c587e260e023b20ee88c4d20a6c230b50dbe7b277ac92d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd0ac841c98c46641c587e260e023b20ee88c4d20a6c230b50dbe7b277ac92d0", kill_on_drop: false }` [INFO] [stdout] fd0ac841c98c46641c587e260e023b20ee88c4d20a6c230b50dbe7b277ac92d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5147e81195a7e6f03536921affc2fb338cf052c12a82acab061b0897402ce457 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5147e81195a7e6f03536921affc2fb338cf052c12a82acab061b0897402ce457", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking near-runtime-utils v2.2.0 [INFO] [stderr] Checking memory_units v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.1 [INFO] [stderr] Compiling borsh-derive-internal v0.7.1 [INFO] [stderr] Compiling near-sdk-core v2.0.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling borsh-derive v0.7.1 [INFO] [stderr] Compiling near-sdk-macros v2.0.0 [INFO] [stderr] Checking borsh v0.7.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking near-runtime-fees v2.2.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Checking near-vm-errors v2.2.0 [INFO] [stderr] Checking near-vm-logic v2.2.0 [INFO] [stderr] Checking near-sdk v2.0.0 [INFO] [stderr] Checking nearyswap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnorderedMap`, `Vector` [INFO] [stdout] --> src/pool.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::collections::{UnorderedMap, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnorderedMap`, `Vector` [INFO] [stdout] --> src/pool.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::collections::{UnorderedMap, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_balance` [INFO] [stdout] --> src/mintable_fungible_token.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let new_balance = cur_balance + amount; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_balance` [INFO] [stdout] --> src/mintable_fungible_token.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let new_balance = cur_balance + amount; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pool.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut liquidity; [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: constant is never used: `STORAGE_PRICE_PER_BYTE` [INFO] [stdout] --> src/mintable_fungible_token.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer_from` [INFO] [stdout] --> src/mintable_fungible_token.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn transfer_from(&mut self, owner_id: AccountId, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer` [INFO] [stdout] --> src/mintable_fungible_token.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_supply` [INFO] [stdout] --> src/mintable_fungible_token.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `burn` [INFO] [stdout] --> src/mintable_fungible_token.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refund_storage` [INFO] [stdout] --> src/mintable_fungible_token.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_liquidity` [INFO] [stdout] --> src/pool.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_balance` [INFO] [stdout] --> src/mintable_fungible_token.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let new_balance = cur_balance + amount; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_balance` [INFO] [stdout] --> src/mintable_fungible_token.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let new_balance = cur_balance + amount; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/pool.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut liquidity; [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: constant is never used: `STORAGE_PRICE_PER_BYTE` [INFO] [stdout] --> src/mintable_fungible_token.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mintable_fungible_token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(account_hash: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mintable_fungible_token.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer_from` [INFO] [stdout] --> src/mintable_fungible_token.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn transfer_from(&mut self, owner_id: AccountId, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer` [INFO] [stdout] --> src/mintable_fungible_token.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_supply` [INFO] [stdout] --> src/mintable_fungible_token.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_balance` [INFO] [stdout] --> src/mintable_fungible_token.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn get_balance(&self, owner_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_allowance` [INFO] [stdout] --> src/mintable_fungible_token.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mint` [INFO] [stdout] --> src/mintable_fungible_token.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn mint (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `burn` [INFO] [stdout] --> src/mintable_fungible_token.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_account` [INFO] [stdout] --> src/mintable_fungible_token.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 254 | fn get_account(&self, owner_id: &AccountId) -> Account { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_account` [INFO] [stdout] --> src/mintable_fungible_token.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 261 | fn set_account(&mut self, owner_id: &AccountId, account: &Account) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refund_storage` [INFO] [stdout] --> src/mintable_fungible_token.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pool.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(token0: AccountId, token1: AccountId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/pool.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn update(&mut self, new_balance0: u128, new_balance1: u128) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_liquidity` [INFO] [stdout] --> src/pool.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn add_liquidity(&mut self, amount0: U128, amount1: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_liquidity` [INFO] [stdout] --> src/pool.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap_t0_for_t1` [INFO] [stdout] --> src/pool.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn swap_t0_for_t1(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap_t1_for_t0` [INFO] [stdout] --> src/pool.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn swap_t1_for_t0(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_balance` [INFO] [stdout] --> src/pool.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_balance(&self, owner: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "5147e81195a7e6f03536921affc2fb338cf052c12a82acab061b0897402ce457", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5147e81195a7e6f03536921affc2fb338cf052c12a82acab061b0897402ce457", kill_on_drop: false }` [INFO] [stdout] 5147e81195a7e6f03536921affc2fb338cf052c12a82acab061b0897402ce457