[INFO] cloning repository https://github.com/ganeshrvel/quant-scrubbed [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ganeshrvel/quant-scrubbed" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganeshrvel%2Fquant-scrubbed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganeshrvel%2Fquant-scrubbed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c5d53d7502d40a881b6d57ffce7787fa3d8d127 [INFO] testing ganeshrvel/quant-scrubbed against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fganeshrvel%2Fquant-scrubbed" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ganeshrvel/quant-scrubbed on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ganeshrvel/quant-scrubbed [INFO] finished tweaking git repo https://github.com/ganeshrvel/quant-scrubbed [INFO] tweaked toml for git repo https://github.com/ganeshrvel/quant-scrubbed written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/ganeshrvel/quant-scrubbed already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9582fb1964d86ac53d2963112511eb284702241d63d6c72a304767994ae9b747 [INFO] running `Command { std: "docker" "start" "-a" "9582fb1964d86ac53d2963112511eb284702241d63d6c72a304767994ae9b747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9582fb1964d86ac53d2963112511eb284702241d63d6c72a304767994ae9b747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9582fb1964d86ac53d2963112511eb284702241d63d6c72a304767994ae9b747", kill_on_drop: false }` [INFO] [stdout] 9582fb1964d86ac53d2963112511eb284702241d63d6c72a304767994ae9b747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62deb8b70a4f22e87d9b79e8089bba1ba434de62353762f7034b4368c10659cf [INFO] running `Command { std: "docker" "start" "-a" "62deb8b70a4f22e87d9b79e8089bba1ba434de62353762f7034b4368c10659cf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling const-oid v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64ct v1.0.0 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling partial-min-max v0.4.0 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling qd v0.2.0-alpha (https://github.com/ganeshrvel/qd#0fb276d7) [INFO] [stderr] Compiling text_io v0.1.9 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling der v0.4.0 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling min-max v0.1.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling spki v0.4.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling pkcs8 v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.10.0 [INFO] [stderr] Compiling password-hash v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling crypto-bigint v0.2.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling salsa20 v0.8.1 [INFO] [stderr] Compiling ctr v0.7.0 [INFO] [stderr] Compiling aes v0.7.4 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling blake2 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling base58check v0.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling elliptic-curve v0.10.5 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling scrypt v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ecdsa v0.12.3 [INFO] [stderr] Compiling k256 v0.9.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dialoguer v0.8.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling auto_impl v0.4.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling fern v0.6.0 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling cancellable-timer v0.1.0 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling coins-core v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling rlp v0.5.0 [INFO] [stderr] Compiling coins-bip32 v0.3.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling ethbloom v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.14.0 [INFO] [stderr] Compiling eth-keystore v0.3.0 [INFO] [stderr] Compiling serde-aux v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling coins-bip39 v0.3.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling ethers-core v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling hyper v0.14.9 [INFO] [stderr] Compiling ethers-signers v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling ethers-contract-abigen v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling ethers-providers v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling ethers-contract-derive v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling ethers-contract v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling ethers-middleware v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling ethers v0.4.0 (https://github.com/gakonst/ethers-rs?rev=746d8b7bf25e20bb01c890eb94431e485da27e3a#746d8b7b) [INFO] [stderr] Compiling quant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `trace_line` [INFO] [stdout] --> src/common/helpers/errors.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! trace_line { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/common/utils/f256.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_transfer_ctx` [INFO] [stdout] --> src/main.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | QuantFeature::TokenTransfers(token_transfer_ctx) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_transfer_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buy` [INFO] [stdout] --> src/features/trade.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let buy = QuantBuy::new(d, q, entry_points).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sell` [INFO] [stdout] --> src/features/trade.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let sell = QuantSell::new(d, q, entry_points).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pair_address` is never read [INFO] [stdout] --> src/features/trade_helper.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut pair_address: Address = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `paired_tokens_value` is never read [INFO] [stdout] --> src/features/trade_helper.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut paired_tokens_value: U256 = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_value_to_eth_to_human_display` is never read [INFO] [stdout] --> src/features/trade_helper.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut token_value_to_eth_to_human_display: Quad = Quad::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/common/helpers/timer.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let n = r.await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreatingPair` [INFO] [stdout] --> src/common/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CreatingPair(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiquidityCheck` [INFO] [stdout] --> src/common/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LiquidityCheck(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApprovingToken` [INFO] [stdout] --> src/common/errors.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ApprovingToken(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/common/errors.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Closure(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpawnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_receipt` [INFO] [stdout] --> src/features/buy.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | transaction_receipt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_receipt` [INFO] [stdout] --> src/features/sell.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | transaction_receipt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Paths` [INFO] [stdout] --> src/common/constants/paths.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Paths {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_unix_timestamp_ms` [INFO] [stdout] --> src/common/helpers/date.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_unix_timestamp_ms() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_unix_timestamp_us` [INFO] [stdout] --> src/common/helpers/date.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_unix_timestamp_us() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IS_DEBUG` [INFO] [stdout] --> src/common/helpers/qenv.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub const IS_DEBUG: bool = cfg!(debug_assertions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_out_h160` [INFO] [stdout] --> src/common/models/trade_scheme.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn token_out_h160(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trade_actuator` [INFO] [stdout] --> src/common/models/trade_scheme.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn trade_actuator(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_in_h160` [INFO] [stdout] --> src/common/models/trade_scheme.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn token_in_h160(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/common/models/trade_scheme.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | Static(StaticTradeActuatorForBuy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradeActuatorForBuy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/models/trade_scheme.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `price_to_gwei` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn price_to_gwei(value: u64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `price_to_gwei_option` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn price_to_gwei_option(value: &Option) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contract_to_h160_option` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn contract_to_h160_option(contract: &Option) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recipient_wallet_address_h160` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn recipient_wallet_address_h160(&self) -> anyhow::Result
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_token_u256` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn amount_of_token_u256(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gas_price_gwei` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn gas_price_gwei(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gas_limit_u256` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn gas_limit_u256(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of2` [INFO] [stdout] --> src/common/utils/core.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn type_of2(v: T) -> (&'static str, T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TokenTransfers` [INFO] [stdout] --> src/controllers/quant/quant.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | TokenTransfers(QuantTokenTransfer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuantFeature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/quant/quant.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "62deb8b70a4f22e87d9b79e8089bba1ba434de62353762f7034b4368c10659cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62deb8b70a4f22e87d9b79e8089bba1ba434de62353762f7034b4368c10659cf", kill_on_drop: false }` [INFO] [stdout] 62deb8b70a4f22e87d9b79e8089bba1ba434de62353762f7034b4368c10659cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e52aadbc87ac5c32ebb81cdc39845cffcd044dd45682729c8d0267a0a3a9ffbd [INFO] running `Command { std: "docker" "start" "-a" "e52aadbc87ac5c32ebb81cdc39845cffcd044dd45682729c8d0267a0a3a9ffbd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Compiling ci_info v0.10.2 [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stderr] Compiling quant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `trace_line` [INFO] [stdout] --> src/common/helpers/errors.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | macro_rules! trace_line { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/common/utils/f256.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_transfer_ctx` [INFO] [stdout] --> src/main.rs:72:38 [INFO] [stdout] | [INFO] [stdout] 72 | QuantFeature::TokenTransfers(token_transfer_ctx) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_transfer_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buy` [INFO] [stdout] --> src/features/trade.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let buy = QuantBuy::new(d, q, entry_points).await?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sell` [INFO] [stdout] --> src/features/trade.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let sell = QuantSell::new(d, q, entry_points).await?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pair_address` is never read [INFO] [stdout] --> src/features/trade_helper.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut pair_address: Address = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `paired_tokens_value` is never read [INFO] [stdout] --> src/features/trade_helper.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut paired_tokens_value: U256 = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token_value_to_eth_to_human_display` is never read [INFO] [stdout] --> src/features/trade_helper.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let mut token_value_to_eth_to_human_display: Quad = Quad::from(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/common/helpers/timer.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let n = r.await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CreatingPair` [INFO] [stdout] --> src/common/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | CreatingPair(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LiquidityCheck` [INFO] [stdout] --> src/common/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LiquidityCheck(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ApprovingToken` [INFO] [stdout] --> src/common/errors.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | ApprovingToken(&'a str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/common/errors.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | Closure(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SpawnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/errors.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_receipt` [INFO] [stdout] --> src/features/buy.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | transaction_receipt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `transaction_receipt` [INFO] [stdout] --> src/features/sell.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | transaction_receipt: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Paths` [INFO] [stdout] --> src/common/constants/paths.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Paths {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_unix_timestamp_ms` [INFO] [stdout] --> src/common/helpers/date.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_unix_timestamp_ms() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_unix_timestamp_us` [INFO] [stdout] --> src/common/helpers/date.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_unix_timestamp_us() -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IS_DEBUG` [INFO] [stdout] --> src/common/helpers/qenv.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub const IS_DEBUG: bool = cfg!(debug_assertions); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_out_h160` [INFO] [stdout] --> src/common/models/trade_scheme.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn token_out_h160(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trade_actuator` [INFO] [stdout] --> src/common/models/trade_scheme.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn trade_actuator(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `token_in_h160` [INFO] [stdout] --> src/common/models/trade_scheme.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn token_in_h160(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Static` [INFO] [stdout] --> src/common/models/trade_scheme.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | Static(StaticTradeActuatorForBuy), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TradeActuatorForBuy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/common/models/trade_scheme.rs:299:10 [INFO] [stdout] | [INFO] [stdout] 299 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `price_to_gwei` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn price_to_gwei(value: u64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `price_to_gwei_option` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn price_to_gwei_option(value: &Option) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contract_to_h160_option` [INFO] [stdout] --> src/common/models/scheme_helpers.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn contract_to_h160_option(contract: &Option) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recipient_wallet_address_h160` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn recipient_wallet_address_h160(&self) -> anyhow::Result
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `amount_of_token_u256` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn amount_of_token_u256(&self) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gas_price_gwei` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn gas_price_gwei(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gas_limit_u256` [INFO] [stdout] --> src/common/models/token_transfer_scheme.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn gas_limit_u256(&self) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of2` [INFO] [stdout] --> src/common/utils/core.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn type_of2(v: T) -> (&'static str, T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TokenTransfers` [INFO] [stdout] --> src/controllers/quant/quant.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | TokenTransfers(QuantTokenTransfer), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QuantFeature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/controllers/quant/quant.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 11s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/quant-3281de03bc352604) [INFO] running `Command { std: "docker" "inspect" "e52aadbc87ac5c32ebb81cdc39845cffcd044dd45682729c8d0267a0a3a9ffbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52aadbc87ac5c32ebb81cdc39845cffcd044dd45682729c8d0267a0a3a9ffbd", kill_on_drop: false }` [INFO] [stdout] e52aadbc87ac5c32ebb81cdc39845cffcd044dd45682729c8d0267a0a3a9ffbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75e16eab5df9ee92049813bd93cc5d926b41ecc6f8d4d498ed38a3554bf0d6e9 [INFO] running `Command { std: "docker" "start" "-a" "75e16eab5df9ee92049813bd93cc5d926b41ecc6f8d4d498ed38a3554bf0d6e9", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `trace_line` [INFO] [stderr] --> src/common/helpers/errors.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | macro_rules! trace_line { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/common/utils/f256.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token_transfer_ctx` [INFO] [stderr] --> src/main.rs:72:38 [INFO] [stderr] | [INFO] [stderr] 72 | QuantFeature::TokenTransfers(token_transfer_ctx) => {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_transfer_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `buy` [INFO] [stderr] --> src/features/trade.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let buy = QuantBuy::new(d, q, entry_points).await?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_buy` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sell` [INFO] [stderr] --> src/features/trade.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | let sell = QuantSell::new(d, q, entry_points).await?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sell` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `pair_address` is never read [INFO] [stderr] --> src/features/trade_helper.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | let mut pair_address: Address = Default::default(); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `paired_tokens_value` is never read [INFO] [stderr] --> src/features/trade_helper.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | let mut paired_tokens_value: U256 = Default::default(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `token_value_to_eth_to_human_display` is never read [INFO] [stderr] --> src/features/trade_helper.rs:153:17 [INFO] [stderr] | [INFO] [stderr] 153 | let mut token_value_to_eth_to_human_display: Quad = Quad::from(0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/common/helpers/timer.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let n = r.await?; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CreatingPair` [INFO] [stderr] --> src/common/errors.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | CreatingPair(), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/common/errors.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `LiquidityCheck` [INFO] [stderr] --> src/common/errors.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | LiquidityCheck(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/common/errors.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ApprovingToken` [INFO] [stderr] --> src/common/errors.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | ApprovingToken(&'a str), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TradingError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/common/errors.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Closure` [INFO] [stderr] --> src/common/errors.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | Closure(), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SpawnError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/common/errors.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Error, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `transaction_receipt` [INFO] [stderr] --> src/features/buy.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | transaction_receipt: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `transaction_receipt` [INFO] [stderr] --> src/features/sell.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | transaction_receipt: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Paths` [INFO] [stderr] --> src/common/constants/paths.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Paths {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_unix_timestamp_ms` [INFO] [stderr] --> src/common/helpers/date.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn get_unix_timestamp_ms() -> i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_unix_timestamp_us` [INFO] [stderr] --> src/common/helpers/date.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn get_unix_timestamp_us() -> i64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `IS_DEBUG` [INFO] [stderr] --> src/common/helpers/qenv.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub const IS_DEBUG: bool = cfg!(debug_assertions); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `token_out_h160` [INFO] [stderr] --> src/common/models/trade_scheme.rs:217:12 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn token_out_h160(&self) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `trade_actuator` [INFO] [stderr] --> src/common/models/trade_scheme.rs:225:12 [INFO] [stderr] | [INFO] [stderr] 225 | pub fn trade_actuator(&self) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `token_in_h160` [INFO] [stderr] --> src/common/models/trade_scheme.rs:247:12 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn token_in_h160(&self) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Static` [INFO] [stderr] --> src/common/models/trade_scheme.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 301 | Static(StaticTradeActuatorForBuy), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `TradeActuatorForBuy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/common/models/trade_scheme.rs:299:10 [INFO] [stderr] | [INFO] [stderr] 299 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `price_to_gwei` [INFO] [stderr] --> src/common/models/scheme_helpers.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn price_to_gwei(value: u64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `price_to_gwei_option` [INFO] [stderr] --> src/common/models/scheme_helpers.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn price_to_gwei_option(value: &Option) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `contract_to_h160_option` [INFO] [stderr] --> src/common/models/scheme_helpers.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn contract_to_h160_option(contract: &Option) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `recipient_wallet_address_h160` [INFO] [stderr] --> src/common/models/token_transfer_scheme.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn recipient_wallet_address_h160(&self) -> anyhow::Result
{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `amount_of_token_u256` [INFO] [stderr] --> src/common/models/token_transfer_scheme.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn amount_of_token_u256(&self) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `gas_price_gwei` [INFO] [stderr] --> src/common/models/token_transfer_scheme.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn gas_price_gwei(&self) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `gas_limit_u256` [INFO] [stderr] --> src/common/models/token_transfer_scheme.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn gas_limit_u256(&self) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `type_of2` [INFO] [stderr] --> src/common/utils/core.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn type_of2(v: T) -> (&'static str, T) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TokenTransfers` [INFO] [stderr] --> src/controllers/quant/quant.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | TokenTransfers(QuantTokenTransfer), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QuantFeature` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/controllers/quant/quant.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `quant` (bin "quant" test) generated 32 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/quant-3281de03bc352604) [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" "75e16eab5df9ee92049813bd93cc5d926b41ecc6f8d4d498ed38a3554bf0d6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e16eab5df9ee92049813bd93cc5d926b41ecc6f8d4d498ed38a3554bf0d6e9", kill_on_drop: false }` [INFO] [stdout] 75e16eab5df9ee92049813bd93cc5d926b41ecc6f8d4d498ed38a3554bf0d6e9