[INFO] cloning repository https://github.com/PeggyJV/contract_monitor_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeggyJV/contract_monitor_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Fcontract_monitor_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Fcontract_monitor_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98851368805d3a695fd7aa7f265c500c5abd4139 [INFO] checking PeggyJV/contract_monitor_rs against master#0a8629bff642c3c3b84bb644c0099194f063b627 for pr-86231 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Fcontract_monitor_rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeggyJV/contract_monitor_rs on toolchain 0a8629bff642c3c3b84bb644c0099194f063b627 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PeggyJV/contract_monitor_rs [INFO] finished tweaking git repo https://github.com/PeggyJV/contract_monitor_rs [INFO] tweaked toml for git repo https://github.com/PeggyJV/contract_monitor_rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PeggyJV/contract_monitor_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a30b67cc00da15984287788bc1d25416f89b0f4757e73e731362d73d2e3809 [INFO] running `Command { std: "docker" "start" "-a" "97a30b67cc00da15984287788bc1d25416f89b0f4757e73e731362d73d2e3809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a30b67cc00da15984287788bc1d25416f89b0f4757e73e731362d73d2e3809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a30b67cc00da15984287788bc1d25416f89b0f4757e73e731362d73d2e3809", kill_on_drop: false }` [INFO] [stdout] 97a30b67cc00da15984287788bc1d25416f89b0f4757e73e731362d73d2e3809 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6230b08e10714108f00c464b2d1d137a8f73014b78bb04bf8df62d7e1951b6cc [INFO] running `Command { std: "docker" "start" "-a" "6230b08e10714108f00c464b2d1d137a8f73014b78bb04bf8df62d7e1951b6cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking byte-slice-cast v1.0.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking arrayvec v0.7.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking base64ct v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Checking object v0.24.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.19 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking fs-err v2.6.0 [INFO] [stderr] Checking canonical-path v2.0.2 [INFO] [stderr] Checking arc-swap v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Checking proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.18 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking uint v0.9.0 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking salsa20 v0.7.2 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking elliptic-curve v0.9.12 [INFO] [stderr] Checking password-hash v0.1.4 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking pbkdf2 v0.7.5 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking scrypt v0.6.5 [INFO] [stderr] Checking addr2line v0.15.1 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling gumdrop_derive v0.7.0 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling abscissa_derive v0.5.0 [INFO] [stderr] Checking gumdrop v0.7.0 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.2.18 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking impl-serde v0.3.1 [INFO] [stderr] Checking parity-scale-codec v2.1.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Checking rlp v0.5.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking impl-codec v0.5.0 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking ethbloom v0.11.0 [INFO] [stderr] Checking primitive-types v0.9.0 [INFO] [stderr] Checking abscissa_core v0.6.0-pre.1 [INFO] [stderr] Checking eth-keystore v0.2.1 [INFO] [stderr] Checking serde-aux v2.2.0 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi-next v13.3.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking ethers-core v0.2.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking abscissa_tokio v0.6.0-pre.1 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking ethers-contract-abigen v0.2.2 [INFO] [stderr] Checking ethers-signers v0.2.2 [INFO] [stderr] Checking hyper v0.14.8 [INFO] [stderr] Compiling ethers-contract-derive v0.2.2 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking ethers-providers v0.2.2 [INFO] [stderr] Checking ethers-contract v0.2.2 [INFO] [stderr] Checking ethers-middleware v0.2.2 [INFO] [stderr] Checking ethers v0.2.2 [INFO] [stderr] Checking contract_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cellar_wrapper` [INFO] [stdout] --> src/commands/cellarcontract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::cellar_wrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::time_range` [INFO] [stdout] --> src/commands/cellarcontract.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::time_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cellar_wrapper` [INFO] [stdout] --> src/commands/cellarcontract.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::cellar_wrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::time_range` [INFO] [stdout] --> src/commands/cellarcontract.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::time_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/time_range.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | time: T,// i don't know what data types to use for time [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `previous_update` [INFO] [stdout] --> src/time_range.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | previous_update: T, // i don't know what data types to use for time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pair_id` [INFO] [stdout] --> src/time_range.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pair_id: U256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_weights` [INFO] [stdout] --> src/time_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tick_weights: TickWeights, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `upper_bound` [INFO] [stdout] --> src/time_range.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | upper_bound: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lower_bound` [INFO] [stdout] --> src/time_range.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | lower_bound: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weight` [INFO] [stdout] --> src/time_range.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | weight: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod cellar_wrapper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | missing_docs, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/cellar_wrapper.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / abigen!( [INFO] [stdout] 9 | | Cellar, [INFO] [stdout] 10 | | "./contract_abi.json", [INFO] [stdout] 11 | | event_derives(serde::Deserialize, serde::Serialize) [INFO] [stdout] 12 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `abigen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/cellar_wrapper.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / abigen!( [INFO] [stdout] 9 | | Cellar, [INFO] [stdout] 10 | | "./contract_abi.json", [INFO] [stdout] 11 | | event_derives(serde::Deserialize, serde::Serialize) [INFO] [stdout] 12 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `abigen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cellar_wrapper.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / abigen!( [INFO] [stdout] 9 | | Cellar, [INFO] [stdout] 10 | | "./contract_abi.json", [INFO] [stdout] 11 | | event_derives(serde::Deserialize, serde::Serialize) [INFO] [stdout] 12 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `abigen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/cellar_wrapper.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CellarWrapper{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cellar_wrapper.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub contract:Cellar [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(address: H160, client:Arc)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn rebalance(&mut self, cellar_tick_info:Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn add_liquidity_for_uni_v3(&mut self, cellar_add_params:CellarAddParams){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn add_liquidity_eth_for_uni_v3(&mut self, cellar_add_params:CellarAddParams){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn remove_liquidity_eth_from_uni_v3(&mut self, cellar_remove_params:CellarRemoveParams){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn remove_liquidity_from_uni_v3(&mut self, cellar_remove_params:CellarRemoveParams){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/cellar_wrapper.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct CellarTickInfo{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(token_id: U256, tick_upper:i32, tick_lower:i32, weight:u32)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn to_tuple(self)->(U256, i32, i32, u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/cellar_wrapper.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct CellarAddParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / pub fn new(amount0_desired: U256, amount1_desired: U256, amount0_min: U256, amount1_min: U256, [INFO] [stdout] 78 | | recipient: H160, deadline: U256)-> Self{ [INFO] [stdout] 79 | | CellarAddParams{amount0_desired, amount1_desired, amount0_min, amount1_min, recipient, deadline} [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn to_tuple(self)->(U256, U256, U256, U256, H160, U256){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/cellar_wrapper.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct CellarRemoveParams { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(token_amount: U256, amount0_min: U256, amount1_min: U256, recipient: H160, deadline: U256,) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/time_range.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | time: T,// i don't know what data types to use for time [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cellar_wrapper.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn to_tuple(self)->(U256, U256, U256, H160, U256){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `previous_update` [INFO] [stdout] --> src/time_range.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | previous_update: T, // i don't know what data types to use for time [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub mod time_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pair_id` [INFO] [stdout] --> src/time_range.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pair_id: U256, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/time_range.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(time: T, previous_update: T, pair_id: U256, tick_weights: TickWeights) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tick_weights` [INFO] [stdout] --> src/time_range.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tick_weights: TickWeights, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `upper_bound` [INFO] [stdout] --> src/time_range.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | upper_bound: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lower_bound` [INFO] [stdout] --> src/time_range.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | lower_bound: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weight` [INFO] [stdout] --> src/time_range.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | weight: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.contract.rebalance(cellar_tick_info.into_iter().map(|x|x.to_tuple()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | self.contract.add_liquidity_for_uni_v3(cellar_add_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.contract.add_liquidity_eth_for_uni_v3(cellar_add_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.contract.remove_liquidity_eth_from_uni_v3(cellar_remove_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | self.contract.remove_liquidity_from_uni_v3(cellar_remove_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | self.contract.rebalance(cellar_tick_info.into_iter().map(|x|x.to_tuple()).collect()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | self.contract.add_liquidity_for_uni_v3(cellar_add_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.contract.add_liquidity_eth_for_uni_v3(cellar_add_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.contract.remove_liquidity_eth_from_uni_v3(cellar_remove_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ContractCall` that must be used [INFO] [stdout] --> src/cellar_wrapper.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | self.contract.remove_liquidity_from_uni_v3(cellar_remove_params.to_tuple()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: contract calls do nothing unless you `send` or `call` them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "6230b08e10714108f00c464b2d1d137a8f73014b78bb04bf8df62d7e1951b6cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6230b08e10714108f00c464b2d1d137a8f73014b78bb04bf8df62d7e1951b6cc", kill_on_drop: false }` [INFO] [stdout] 6230b08e10714108f00c464b2d1d137a8f73014b78bb04bf8df62d7e1951b6cc