[INFO] cloning repository https://github.com/PeggyJV/uniswap_sdk_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/uniswap_sdk_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Funiswap_sdk_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Funiswap_sdk_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf8574b8306001d48cab7be6e788079fa5c1a15f [INFO] checking PeggyJV/uniswap_sdk_rs against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeggyJV%2Funiswap_sdk_rs" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PeggyJV/uniswap_sdk_rs on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PeggyJV/uniswap_sdk_rs [INFO] finished tweaking git repo https://github.com/PeggyJV/uniswap_sdk_rs [INFO] tweaked toml for git repo https://github.com/PeggyJV/uniswap_sdk_rs written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/PeggyJV/uniswap_sdk_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c53afb0944cf20f79dcb959fac87bdc7407e3b54278a9235c7ec80f91e9547eb [INFO] running `Command { std: "docker" "start" "-a" "c53afb0944cf20f79dcb959fac87bdc7407e3b54278a9235c7ec80f91e9547eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c53afb0944cf20f79dcb959fac87bdc7407e3b54278a9235c7ec80f91e9547eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53afb0944cf20f79dcb959fac87bdc7407e3b54278a9235c7ec80f91e9547eb", kill_on_drop: false }` [INFO] [stdout] c53afb0944cf20f79dcb959fac87bdc7407e3b54278a9235c7ec80f91e9547eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be39f0efe6583a3484038390b7901633c43e5b07ede49de1196e0e2050f41d9c [INFO] running `Command { std: "docker" "start" "-a" "be39f0efe6583a3484038390b7901633c43e5b07ede49de1196e0e2050f41d9c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking uniswap_v3_sdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mul`, `ptr::read` [INFO] [stdout] --> src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Mul, Rem}, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | ptr::read, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | if (sqrtRatioCurrentX96 <= sqrtRatioAX96) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | } else if (sqrtRatioCurrentX96 < sqrtRatioBX96) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mulShift` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn mulShift(val: BigInt, mulBy: &[u8]) -> BigInt { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `mul_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mulBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn mulShift(val: BigInt, mulBy: &[u8]) -> BigInt { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `mul_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mulBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mulBy = BigInt::parse_bytes(mulBy, 16).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `mul_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSqrtRatioAtTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getSqrtRatioAtTick(tick: BigInt) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sqrt_ratio_at_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let MIN_TICK: BigInt = -887272.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let MAX_TICK: BigInt = -(MIN_TICK.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_UINT_256` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let MAX_UINT_256: BigInt = BigInt::parse_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_uint_256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q32` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let Q32: BigInt = 2i32.to_bigint().unwrap().pow(32); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let absTick = tick.abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `abs_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTickAtSqrtRatio` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn getTickAtSqrtRatio(sqrtRatioX96: BigInt) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_tick_at_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn getTickAtSqrtRatio(sqrtRatioX96: BigInt) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let MIN_SQRT_RATIO: BigInt = 4295128739i64.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let MAX_SQRT_RATIO: BigInt = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX128` should have a snake case name [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let sqrtRatioX128: BigInt = sqrtRatioX96.clone() << 32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TWO` should have a snake case name [INFO] [stdout] --> src/lib.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let TWO: BigInt = 2.to_bigint().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `POWERS_OF_2` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | let POWERS_OF_2: Vec<(u32, BigInt)> = [128u32, 64u32, 32u32, 16u32, 8u32, 4u32, 2u32, 1u32] [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `powers_of_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_UINT_256` should have a snake case name [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let MAX_UINT_256: BigInt = BigInt::parse_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_uint_256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tickToPrice` should have a snake case name [INFO] [stdout] --> src/lib.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn tickToPrice(base_token: Token, quote_token: Token, tick: BigInt) -> Price { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tick_to_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q192` should have a snake case name [INFO] [stdout] --> src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | let Q192 = Q96.pow(2); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let sqrtRatioX96 = getSqrtRatioAtTick(tick); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ratioX192` should have a snake case name [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | let ratioX192 = sqrtRatioX96.clone() * sqrtRatioX96; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ratio_x192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priceToTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn priceToTick(price: Price) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `price_to_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let sqrtRatioX96 = if sorted { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextTickPrice` should have a snake case name [INFO] [stdout] --> src/lib.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | let nextTickPrice = tickToPrice( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_tick_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmount0` should have a snake case name [INFO] [stdout] --> src/lib.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn maxLiquidityForAmount0( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amount0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 344 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmount1` should have a snake case name [INFO] [stdout] --> src/lib.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn maxLiquidityForAmount1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amount1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmounts` should have a snake case name [INFO] [stdout] --> src/lib.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn maxLiquidityForAmounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioCurrentX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | sqrtRatioCurrentX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_current_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul`, `ptr::read` [INFO] [stdout] --> src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{Mul, Rem}, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | ptr::read, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | if (sqrtRatioCurrentX96 <= sqrtRatioAX96) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | } else if (sqrtRatioCurrentX96 < sqrtRatioBX96) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MAX_TICK` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let MAX_TICK = -MIN_TICK.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MAX_TICK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mulShift` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn mulShift(val: BigInt, mulBy: &[u8]) -> BigInt { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `mul_shift` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mulBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn mulShift(val: BigInt, mulBy: &[u8]) -> BigInt { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `mul_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mulBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mulBy = BigInt::parse_bytes(mulBy, 16).unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `mul_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSqrtRatioAtTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getSqrtRatioAtTick(tick: BigInt) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sqrt_ratio_at_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let MIN_TICK: BigInt = -887272.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let MAX_TICK: BigInt = -(MIN_TICK.clone()); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_UINT_256` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let MAX_UINT_256: BigInt = BigInt::parse_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_uint_256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q32` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let Q32: BigInt = 2i32.to_bigint().unwrap().pow(32); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `absTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let absTick = tick.abs(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `abs_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTickAtSqrtRatio` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn getTickAtSqrtRatio(sqrtRatioX96: BigInt) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_tick_at_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:152:27 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn getTickAtSqrtRatio(sqrtRatioX96: BigInt) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let MIN_SQRT_RATIO: BigInt = 4295128739i64.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let MAX_SQRT_RATIO: BigInt = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX128` should have a snake case name [INFO] [stdout] --> src/lib.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | let sqrtRatioX128: BigInt = sqrtRatioX96.clone() << 32; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TWO` should have a snake case name [INFO] [stdout] --> src/lib.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let TWO: BigInt = 2.to_bigint().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `POWERS_OF_2` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | let POWERS_OF_2: Vec<(u32, BigInt)> = [128u32, 64u32, 32u32, 16u32, 8u32, 4u32, 2u32, 1u32] [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `powers_of_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_UINT_256` should have a snake case name [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let MAX_UINT_256: BigInt = BigInt::parse_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `max_uint_256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tickToPrice` should have a snake case name [INFO] [stdout] --> src/lib.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn tickToPrice(base_token: Token, quote_token: Token, tick: BigInt) -> Price { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tick_to_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q192` should have a snake case name [INFO] [stdout] --> src/lib.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | let Q192 = Q96.pow(2); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `q192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | let sqrtRatioX96 = getSqrtRatioAtTick(tick); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ratioX192` should have a snake case name [INFO] [stdout] --> src/lib.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | let ratioX192 = sqrtRatioX96.clone() * sqrtRatioX96; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `ratio_x192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `priceToTick` should have a snake case name [INFO] [stdout] --> src/lib.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn priceToTick(price: Price) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `price_to_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | let sqrtRatioX96 = if sorted { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nextTickPrice` should have a snake case name [INFO] [stdout] --> src/lib.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | let nextTickPrice = tickToPrice( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `next_tick_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmount0` should have a snake case name [INFO] [stdout] --> src/lib.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn maxLiquidityForAmount0( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amount0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 339 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:344:10 [INFO] [stdout] | [INFO] [stdout] 344 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmount1` should have a snake case name [INFO] [stdout] --> src/lib.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn maxLiquidityForAmount1( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amount1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q96` should have a snake case name [INFO] [stdout] --> src/lib.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | let Q96 = 2.to_bigint().unwrap().pow(96); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `q96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:361:10 [INFO] [stdout] | [INFO] [stdout] 361 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:361:25 [INFO] [stdout] | [INFO] [stdout] 361 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maxLiquidityForAmounts` should have a snake case name [INFO] [stdout] --> src/lib.rs:369:8 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn maxLiquidityForAmounts( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_liquidity_for_amounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioCurrentX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | sqrtRatioCurrentX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_current_x96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | sqrtRatioAX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 372 | sqrtRatioBX96: BigInt, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioAX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_ax96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sqrtRatioBX96` should have a snake case name [INFO] [stdout] --> src/lib.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let (sqrtRatioAX96, sqrtRatioBX96) = if sqrtRatioAX96 > sqrtRatioBX96 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `sqrt_ratio_bx96` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSqrtRatioAtTick_1` should have a snake case name [INFO] [stdout] --> src/lib.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | fn getSqrtRatioAtTick_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sqrt_ratio_at_tick_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | let MIN_TICK = -887272i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | let MIN_SQRT_RATIO: BigInt = 4295128739i64.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getSqrtRatioAtTick_2` should have a snake case name [INFO] [stdout] --> src/lib.rs:433:8 [INFO] [stdout] | [INFO] [stdout] 433 | fn getSqrtRatioAtTick_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sqrt_ratio_at_tick_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | let MIN_TICK = -887272i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let MAX_TICK = -MIN_TICK.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | let MAX_SQRT_RATIO: BigInt = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTickAtSqrtRatio_1` should have a snake case name [INFO] [stdout] --> src/lib.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn getTickAtSqrtRatio_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_tick_at_sqrt_ratio_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | let MIN_TICK = -887272i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | let MAX_TICK = -MIN_TICK.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | let MIN_SQRT_RATIO: BigInt = 4295128739i64.to_bigint().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `min_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getTickAtSqrtRatio_2` should have a snake case name [INFO] [stdout] --> src/lib.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | fn getTickAtSqrtRatio_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_tick_at_sqrt_ratio_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MIN_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | let MIN_TICK = -887272i32; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `min_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_TICK` should have a snake case name [INFO] [stdout] --> src/lib.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let MAX_TICK = -MIN_TICK.clone(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `max_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MAX_SQRT_RATIO` should have a snake case name [INFO] [stdout] --> src/lib.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | let MAX_SQRT_RATIO: BigInt = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `max_sqrt_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TWO` should have a snake case name [INFO] [stdout] --> src/lib.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | let TWO: BigInt = 2.to_bigint().unwrap(); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "be39f0efe6583a3484038390b7901633c43e5b07ede49de1196e0e2050f41d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be39f0efe6583a3484038390b7901633c43e5b07ede49de1196e0e2050f41d9c", kill_on_drop: false }` [INFO] [stdout] be39f0efe6583a3484038390b7901633c43e5b07ede49de1196e0e2050f41d9c