[INFO] fetching crate aptos-network-sdk 0.3.5... [INFO] checking aptos-network-sdk-0.3.5 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate aptos-network-sdk 0.3.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate aptos-network-sdk 0.3.5 [INFO] finished tweaking crates.io crate aptos-network-sdk 0.3.5 [INFO] tweaked toml for crates.io crate aptos-network-sdk 0.3.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aptos-network-sdk 0.3.5 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aptos-network-sdk 0.3.5 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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcs v0.1.6 [INFO] [stderr] Downloaded generic-array v0.14.8 [INFO] [stderr] Downloaded aptos-network-tool v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17dd3f2a931d7ee5f8ba87049ea338dcdee11e2a10560e0001798ab84459e224 [INFO] running `Command { std: "docker" "start" "-a" "17dd3f2a931d7ee5f8ba87049ea338dcdee11e2a10560e0001798ab84459e224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17dd3f2a931d7ee5f8ba87049ea338dcdee11e2a10560e0001798ab84459e224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17dd3f2a931d7ee5f8ba87049ea338dcdee11e2a10560e0001798ab84459e224", kill_on_drop: false }` [INFO] [stdout] 17dd3f2a931d7ee5f8ba87049ea338dcdee11e2a10560e0001798ab84459e224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e9258a3455aa5dfa33cd13a8f8ecd703fdd3eb415b43d6e334c9dcaeaf0295c [INFO] running `Command { std: "docker" "start" "-a" "6e9258a3455aa5dfa33cd13a8f8ecd703fdd3eb415b43d6e334c9dcaeaf0295c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling generic-array v0.14.8 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking aptos-network-tool v0.1.0 [INFO] [stderr] Checking aptos-network-sdk v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [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 import: `futures::future::join_all` [INFO] [stdout] --> src/multicall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/multicall.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/trade.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trade::TransactionInfo` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::trade::TransactionInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/lib.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/block.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [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 import: `Aptos` [INFO] [stdout] --> src/block.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{Aptos, trade::TransactionInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/multicall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Semaphore` [INFO] [stdout] --> src/multicall.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::sync::Semaphore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trade::TransactionInfo` [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::trade::TransactionInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/contract.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 400 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 401 | / let payload = json!({ [INFO] [stdout] 402 | | "function": function, [INFO] [stdout] 403 | | "type_arguments": contract_call.type_arguments, [INFO] [stdout] 404 | | "arguments": contract_call.arguments, [INFO] [stdout] 405 | | "sender": wallet.address().map_err(|e| e.to_string())?, [INFO] [stdout] 406 | | }); [INFO] [stdout] | |___________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dex/auxswap.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut start_seq: Option = None; [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: variable does not need to be mutable [INFO] [stdout] --> src/dex/cellana.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut start_seq: Option = None; [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] --> src/dex/liquidswap.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut start_seq: Option = None; [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] --> src/dex/pancakeswap.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut start_seq: Option = None; [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] --> src/dex/thala.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut start_seq: Option = None; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/contract.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 400 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 401 | / let payload = json!({ [INFO] [stdout] 402 | | "function": function, [INFO] [stdout] 403 | | "type_arguments": contract_call.type_arguments, [INFO] [stdout] 404 | | "arguments": contract_call.arguments, [INFO] [stdout] 405 | | "sender": wallet.address().map_err(|e| e.to_string())?, [INFO] [stdout] 406 | | }); [INFO] [stdout] | |___________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dex/auxswap.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut start_seq: Option = None; [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: variable does not need to be mutable [INFO] [stdout] --> src/dex/cellana.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut start_seq: Option = None; [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] --> src/dex/liquidswap.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut start_seq: Option = None; [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] --> src/dex/pancakeswap.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut start_seq: Option = None; [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] --> src/dex/thala.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut start_seq: Option = None; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/nft_market.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 680 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 681 | / Ok(MarketStats { [INFO] [stdout] 682 | | volume_24h: 0, [INFO] [stdout] 683 | | transactions_24h: 0, [INFO] [stdout] 684 | | floor_price: 0, [INFO] [stdout] 685 | | listed_count: 0, [INFO] [stdout] 686 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/nft_market.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 680 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 681 | / Ok(MarketStats { [INFO] [stdout] 682 | | volume_24h: 0, [INFO] [stdout] 683 | | transactions_24h: 0, [INFO] [stdout] 684 | | floor_price: 0, [INFO] [stdout] 685 | | listed_count: 0, [INFO] [stdout] 686 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/contract.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet` [INFO] [stdout] --> src/contract.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | wallet: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/contract.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let function = format!( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/contract.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_address` [INFO] [stdout] --> src/contract.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | module_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/contract.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | module_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/contract.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | metadata: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_timestamp` [INFO] [stdout] --> src/dex/animeswap.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let event_timestamp = std::time::SystemTime::now() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/contract.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet` [INFO] [stdout] --> src/contract.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | wallet: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/contract.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | let function = format!( [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/contract.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_address` [INFO] [stdout] --> src/contract.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 420 | module_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_name` [INFO] [stdout] --> src/contract.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | module_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/contract.rs:503:9 [INFO] [stdout] | [INFO] [stdout] 503 | metadata: Option, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_timestamp` [INFO] [stdout] --> src/dex/animeswap.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let event_timestamp = std::time::SystemTime::now() [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_name` [INFO] [stdout] --> src/dex/mod.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | for (dex_name, check_future) in dex_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_name` [INFO] [stdout] --> src/dex/mod.rs:733:18 [INFO] [stdout] | [INFO] [stdout] 733 | for (dex_name, check_future) in dex_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_name` [INFO] [stdout] --> src/dex/mod.rs:552:14 [INFO] [stdout] | [INFO] [stdout] 552 | for (dex_name, check_future) in dex_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dex_name` [INFO] [stdout] --> src/dex/mod.rs:733:18 [INFO] [stdout] | [INFO] [stdout] 733 | for (dex_name, check_future) in dex_checks { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dex_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/nft.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | collection: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/nft.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/nft_market.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market_address` [INFO] [stdout] --> src/nft_market.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | market_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/nft_market.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | collection: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/nft.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | collection: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/nft.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/token.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let address = parts[0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/token.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | let module = parts[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_token` [INFO] [stdout] --> src/token.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let base_token = "0x1::aptos_coin::AptosCoin"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/token.rs:732:30 [INFO] [stdout] | [INFO] [stdout] 732 | async fn estimate_volume(client: Arc, token_address: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/nft_market.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | client: Arc, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market_address` [INFO] [stdout] --> src/nft_market.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | market_address: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/nft_market.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | collection: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/token.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | let address = parts[0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/token.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | let module = parts[1]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_token` [INFO] [stdout] --> src/token.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | let base_token = "0x1::aptos_coin::AptosCoin"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/token.rs:732:30 [INFO] [stdout] | [INFO] [stdout] 732 | async fn estimate_volume(client: Arc, token_address: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/trade.rs:1168:21 [INFO] [stdout] | [INFO] [stdout] 1168 | for (token, total) in &spent_map { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1169:17 [INFO] [stdout] | [INFO] [stdout] 1169 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/trade.rs:1171:21 [INFO] [stdout] | [INFO] [stdout] 1171 | for (token, total) in &received_map { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1172:17 [INFO] [stdout] | [INFO] [stdout] 1172 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1180:21 [INFO] [stdout] | [INFO] [stdout] 1180 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/trade.rs:1190:20 [INFO] [stdout] | [INFO] [stdout] 1190 | if let guid = &event.guid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/trade.rs:1168:21 [INFO] [stdout] | [INFO] [stdout] 1168 | for (token, total) in &spent_map { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1169:17 [INFO] [stdout] | [INFO] [stdout] 1169 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> src/trade.rs:1171:21 [INFO] [stdout] | [INFO] [stdout] 1171 | for (token, total) in &received_map { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1172:17 [INFO] [stdout] | [INFO] [stdout] 1172 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimals` [INFO] [stdout] --> src/trade.rs:1180:21 [INFO] [stdout] | [INFO] [stdout] 1180 | let decimals = Self::get_decimals_for_token(token); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/trade.rs:1190:20 [INFO] [stdout] | [INFO] [stdout] 1190 | if let guid = &event.guid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub const name: &str = "token"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_collection_script` should have an upper case name [INFO] [stdout] --> src/global.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub const create_collection_script: &str = "create_collection_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_COLLECTION_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_token_script` should have an upper case name [INFO] [stdout] --> src/global.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub const create_token_script: &str = "create_token_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_TOKEN_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `transfer_script` should have an upper case name [INFO] [stdout] --> src/global.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub const transfer_script: &str = "transfer_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TRANSFER_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `collections` should have an upper case name [INFO] [stdout] --> src/global.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub const collections: &str = "0x3::token::Collections"; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `COLLECTIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `token_store` should have an upper case name [INFO] [stdout] --> src/global.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub const token_store: &str = "0x3::token::TokenStore"; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOKEN_STORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub const name: &str = "managed_coin"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `initialize` should have an upper case name [INFO] [stdout] --> src/global.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub const initialize: &str = "initialize"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mint` should have an upper case name [INFO] [stdout] --> src/global.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub const mint: &str = "mint"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `burn` should have an upper case name [INFO] [stdout] --> src/global.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub const burn: &str = "burn"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BURN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `register` should have an upper case name [INFO] [stdout] --> src/global.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub const register: &str = "register"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REGISTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `supply` should have an upper case name [INFO] [stdout] --> src/global.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub const supply: &str = "supply"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `SUPPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub const name: &str = "coin"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_currency` should have an upper case name [INFO] [stdout] --> src/global.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | pub const create_currency: &str = "create_currency"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_CURRENCY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mint` should have an upper case name [INFO] [stdout] --> src/global.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub const mint: &str = "mint"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `burn` should have an upper case name [INFO] [stdout] --> src/global.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub const burn: &str = "burn"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BURN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `register` should have an upper case name [INFO] [stdout] --> src/global.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub const register: &str = "register"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REGISTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `supply` should have an upper case name [INFO] [stdout] --> src/global.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub const supply: &str = "supply"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `SUPPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `is_coin_initialized` should have an upper case name [INFO] [stdout] --> src/global.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub const is_coin_initialized: &str = "is_coin_initialized"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IS_COIN_INITIALIZED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `is_account_registered` should have an upper case name [INFO] [stdout] --> src/global.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | pub const is_account_registered: &str = "is_account_registered"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IS_ACCOUNT_REGISTERED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deposit` should have an upper case name [INFO] [stdout] --> src/global.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub const deposit: &str = "deposit"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DEPOSIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `withdraw` should have an upper case name [INFO] [stdout] --> src/global.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub const withdraw: &str = "withdraw"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `WITHDRAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `transfer` should have an upper case name [INFO] [stdout] --> src/global.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub const transfer: &str = "transfer"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `TRANSFER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `balance` should have an upper case name [INFO] [stdout] --> src/global.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub const balance: &str = "balance"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `BALANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `value` should have an upper case name [INFO] [stdout] --> src/global.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub const value: &str = "value"; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zero` should have an upper case name [INFO] [stdout] --> src/global.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub const zero: &str = "zero"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `destroy_zero` should have an upper case name [INFO] [stdout] --> src/global.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub const destroy_zero: &str = "destroy_zero"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DESTROY_ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDirection` should have a snake case name [INFO] [stdout] --> src/trade.rs:1116:12 [INFO] [stdout] | [INFO] [stdout] 1116 | pub fn getDirection(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub const name: &str = "token"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_collection_script` should have an upper case name [INFO] [stdout] --> src/global.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub const create_collection_script: &str = "create_collection_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_COLLECTION_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_token_script` should have an upper case name [INFO] [stdout] --> src/global.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | pub const create_token_script: &str = "create_token_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_TOKEN_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `transfer_script` should have an upper case name [INFO] [stdout] --> src/global.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub const transfer_script: &str = "transfer_script"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TRANSFER_SCRIPT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `collections` should have an upper case name [INFO] [stdout] --> src/global.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | pub const collections: &str = "0x3::token::Collections"; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `COLLECTIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `token_store` should have an upper case name [INFO] [stdout] --> src/global.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | pub const token_store: &str = "0x3::token::TokenStore"; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOKEN_STORE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub const name: &str = "managed_coin"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `initialize` should have an upper case name [INFO] [stdout] --> src/global.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub const initialize: &str = "initialize"; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `INITIALIZE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mint` should have an upper case name [INFO] [stdout] --> src/global.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub const mint: &str = "mint"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `burn` should have an upper case name [INFO] [stdout] --> src/global.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub const burn: &str = "burn"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BURN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `register` should have an upper case name [INFO] [stdout] --> src/global.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub const register: &str = "register"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REGISTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `supply` should have an upper case name [INFO] [stdout] --> src/global.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | pub const supply: &str = "supply"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `SUPPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `name` should have an upper case name [INFO] [stdout] --> src/global.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub const name: &str = "coin"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NAME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `create_currency` should have an upper case name [INFO] [stdout] --> src/global.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | pub const create_currency: &str = "create_currency"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CREATE_CURRENCY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mint` should have an upper case name [INFO] [stdout] --> src/global.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub const mint: &str = "mint"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MINT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `burn` should have an upper case name [INFO] [stdout] --> src/global.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | pub const burn: &str = "burn"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BURN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `register` should have an upper case name [INFO] [stdout] --> src/global.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub const register: &str = "register"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `REGISTER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `supply` should have an upper case name [INFO] [stdout] --> src/global.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub const supply: &str = "supply"; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `SUPPLY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `is_coin_initialized` should have an upper case name [INFO] [stdout] --> src/global.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | pub const is_coin_initialized: &str = "is_coin_initialized"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IS_COIN_INITIALIZED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `is_account_registered` should have an upper case name [INFO] [stdout] --> src/global.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | pub const is_account_registered: &str = "is_account_registered"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IS_ACCOUNT_REGISTERED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deposit` should have an upper case name [INFO] [stdout] --> src/global.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | pub const deposit: &str = "deposit"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `DEPOSIT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `withdraw` should have an upper case name [INFO] [stdout] --> src/global.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub const withdraw: &str = "withdraw"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `WITHDRAW` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `transfer` should have an upper case name [INFO] [stdout] --> src/global.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | pub const transfer: &str = "transfer"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `TRANSFER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `balance` should have an upper case name [INFO] [stdout] --> src/global.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub const balance: &str = "balance"; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `BALANCE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `value` should have an upper case name [INFO] [stdout] --> src/global.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | pub const value: &str = "value"; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `VALUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `zero` should have an upper case name [INFO] [stdout] --> src/global.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | pub const zero: &str = "zero"; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `destroy_zero` should have an upper case name [INFO] [stdout] --> src/global.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | pub const destroy_zero: &str = "destroy_zero"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `DESTROY_ZERO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getDirection` should have a snake case name [INFO] [stdout] --> src/trade.rs:1116:12 [INFO] [stdout] | [INFO] [stdout] 1116 | pub fn getDirection(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.46s [INFO] running `Command { std: "docker" "inspect" "6e9258a3455aa5dfa33cd13a8f8ecd703fdd3eb415b43d6e334c9dcaeaf0295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9258a3455aa5dfa33cd13a8f8ecd703fdd3eb415b43d6e334c9dcaeaf0295c", kill_on_drop: false }` [INFO] [stdout] 6e9258a3455aa5dfa33cd13a8f8ecd703fdd3eb415b43d6e334c9dcaeaf0295c