[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] testing jasperdg/nearyswap against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjasperdg%2Fnearyswap" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain [INFO] started tweaking 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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jasperdg/nearyswap on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jasperdg/nearyswap 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded borsh-derive-internal v0.7.1 [INFO] [stderr] Downloaded near-rpc-error-macro v0.1.0 [INFO] [stderr] Downloaded borsh-derive v0.7.1 [INFO] [stderr] Downloaded near-runtime-fees v2.2.0 [INFO] [stderr] Downloaded borsh v0.7.1 [INFO] [stderr] Downloaded near-sdk v2.0.0 [INFO] [stderr] Downloaded near-sdk-core v2.0.0 [INFO] [stderr] Downloaded near-vm-errors v2.2.0 [INFO] [stderr] Downloaded near-rpc-error-core v0.1.0 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.7.1 [INFO] [stderr] Downloaded near-runtime-utils v2.2.0 [INFO] [stderr] Downloaded near-sdk-macros v2.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] [stderr] Downloaded serde v1.0.116 [INFO] [stderr] Downloaded serde_derive v1.0.116 [INFO] [stderr] Downloaded hashbrown v0.9.0 [INFO] [stderr] Downloaded near-vm-logic v2.2.0 [INFO] [stderr] Downloaded serde_json v1.0.57 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0 [INFO] running `Command { std: "docker" "start" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-runtime-utils v2.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.1 [INFO] [stderr] Compiling near-sdk-core v2.0.0 [INFO] [stderr] Compiling borsh-derive v0.7.1 [INFO] [stderr] Compiling near-sdk-macros v2.0.0 [INFO] [stderr] Compiling borsh v0.7.1 [INFO] [stderr] Compiling 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] Compiling near-vm-errors v2.2.0 [INFO] [stderr] Compiling near-vm-logic v2.2.0 [INFO] [stderr] Compiling near-sdk v2.0.0 [INFO] [stderr] Compiling nearyswap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnorderedMap` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORAGE_PRICE_PER_BYTE` is never used [INFO] [stdout] --> src/mintable_fungible_token.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Account` is never constructed [INFO] [stdout] --> src/mintable_fungible_token.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Account { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_allowance`, and `get_allowance` are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Account { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 40 | /// Initializes a new Account with 0 balance and no allowances for a given `account_hash`. [INFO] [stdout] 41 | pub fn new(account_hash: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintableFungibleToken` is never constructed [INFO] [stdout] --> src/mintable_fungible_token.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MintableFungibleToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_balance(&self, owner_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn mint (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_account`, `set_account`, and `refund_storage` are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 252 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 253 | /// Helper method to get the account details for `owner_id`. [INFO] [stdout] 254 | fn get_account(&self, owner_id: &AccountId) -> Account { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn set_account(&mut self, owner_id: &AccountId, account: &Account) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pool.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pool { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(token0: AccountId, token1: AccountId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn update(&mut self, new_balance0: u128, new_balance1: u128) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_liquidity(&mut self, amount0: U128, amount1: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn swap_t0_for_t1(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn swap_t1_for_t0(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_balance(&self, owner: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.14s [INFO] running `Command { std: "docker" "inspect" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling nearyswap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnorderedMap` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORAGE_PRICE_PER_BYTE` is never used [INFO] [stdout] --> src/mintable_fungible_token.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Account` is never constructed [INFO] [stdout] --> src/mintable_fungible_token.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Account { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_allowance`, and `get_allowance` are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Account { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 40 | /// Initializes a new Account with 0 balance and no allowances for a given `account_hash`. [INFO] [stdout] 41 | pub fn new(account_hash: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintableFungibleToken` is never constructed [INFO] [stdout] --> src/mintable_fungible_token.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct MintableFungibleToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_balance(&self, owner_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn mint (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_account`, `set_account`, and `refund_storage` are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 252 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 253 | /// Helper method to get the account details for `owner_id`. [INFO] [stdout] 254 | fn get_account(&self, owner_id: &AccountId) -> Account { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn set_account(&mut self, owner_id: &AccountId, account: &Account) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [INFO] [stdout] --> src/pool.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/pool.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pool { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(token0: AccountId, token1: AccountId) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn update(&mut self, new_balance0: u128, new_balance1: u128) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_liquidity(&mut self, amount0: U128, amount1: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn swap_t0_for_t1(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn swap_t1_for_t0(&mut self, amount_out: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_balance(&self, owner: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnorderedMap` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STORAGE_PRICE_PER_BYTE` is never used [INFO] [stdout] --> src/mintable_fungible_token.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_allowance` and `get_allowance` are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Account { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/mintable_fungible_token.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refund_storage` is never used [INFO] [stdout] --> src/mintable_fungible_token.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 252 | impl MintableFungibleToken { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_liquidity` is never used [INFO] [stdout] --> src/pool.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Pool { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `UnorderedMap` and `Vector` [INFO] [stderr] --> src/pool.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use near_sdk::collections::{UnorderedMap, Vector}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_balance` [INFO] [stderr] --> src/mintable_fungible_token.rs:230:13 [INFO] [stderr] | [INFO] [stderr] 230 | let new_balance = cur_balance + amount; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_balance` [INFO] [stderr] --> src/mintable_fungible_token.rs:242:13 [INFO] [stderr] | [INFO] [stderr] 242 | let new_balance = cur_balance + amount; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_balance` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/pool.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | let mut liquidity; [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `STORAGE_PRICE_PER_BYTE` is never used [INFO] [stderr] --> src/mintable_fungible_token.rs:24:7 [INFO] [stderr] | [INFO] [stderr] 24 | const STORAGE_PRICE_PER_BYTE: Balance = 100000000000000000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Account` is never constructed [INFO] [stderr] --> src/mintable_fungible_token.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Account { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_allowance`, and `get_allowance` are never used [INFO] [stderr] --> src/mintable_fungible_token.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl Account { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 40 | /// Initializes a new Account with 0 balance and no allowances for a given `account_hash`. [INFO] [stderr] 41 | pub fn new(account_hash: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MintableFungibleToken` is never constructed [INFO] [stderr] --> src/mintable_fungible_token.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct MintableFungibleToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/mintable_fungible_token.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 83 | impl MintableFungibleToken { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn transfer_from(&mut self, owner_id: AccountId, new_owner_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub fn get_balance(&self, owner_id: AccountId) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | pub fn mint (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_account`, `set_account`, and `refund_storage` are never used [INFO] [stderr] --> src/mintable_fungible_token.rs:254:8 [INFO] [stderr] | [INFO] [stderr] 252 | impl MintableFungibleToken { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] 253 | /// Helper method to get the account details for `owner_id`. [INFO] [stderr] 254 | fn get_account(&self, owner_id: &AccountId) -> Account { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 261 | fn set_account(&mut self, owner_id: &AccountId, account: &Account) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Pool` is never constructed [INFO] [stderr] --> src/pool.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Pool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/pool.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Pool { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn new(token0: AccountId, token1: AccountId) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | fn update(&mut self, new_balance0: u128, new_balance1: u128) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn add_liquidity(&mut self, amount0: U128, amount1: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn swap_t0_for_t1(&mut self, amount_out: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn swap_t1_for_t0(&mut self, amount_out: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 134 | pub fn get_balance(&self, owner: AccountId) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nearyswap` (lib) generated 12 warnings (run `cargo fix --lib -p nearyswap` to apply 4 suggestions) [INFO] [stderr] warning: methods `set_allowance` and `get_allowance` are never used [INFO] [stderr] --> src/mintable_fungible_token.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl Account { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn set_allowance(&mut self, escrow_account_id: &AccountId, allowance: Balance) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn get_allowance(&self, escrow_account_id: &AccountId) -> Balance { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/mintable_fungible_token.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 83 | impl MintableFungibleToken { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 98 | pub fn inc_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | pub fn dec_allowance(&mut self, escrow_account_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 148 | pub fn transfer_from(&mut self, owner_id: AccountId, new_owner_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 199 | pub fn transfer(&mut self, new_owner_id: AccountId, amount: U128) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 206 | pub fn get_total_supply(&self) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | pub fn get_allowance(&self, owner_id: AccountId, escrow_account_id: AccountId) -> U128 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | pub fn burn (&mut self, owner_id: &AccountId, amount: u128) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `refund_storage` is never used [INFO] [stderr] --> src/mintable_fungible_token.rs:270:8 [INFO] [stderr] | [INFO] [stderr] 252 | impl MintableFungibleToken { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 270 | fn refund_storage(&self, initial_storage: StorageUsage) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `remove_liquidity` is never used [INFO] [stderr] --> src/pool.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Pool { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn remove_liquidity(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nearyswap` (lib test) generated 9 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nearyswap-e9b33d648314c523) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::pool_test::init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nearyswap [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" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0", kill_on_drop: false }` [INFO] [stdout] 03debb0b6077c0f7e7819d1a73a94e282cd17f944745c904fa9b2226c48567a0