[INFO] cloning repository https://github.com/austinjones/elitetrader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/austinjones/elitetrader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjones%2Felitetrader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjones%2Felitetrader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9718e14330002b11ccc7b463f5a1f9accebec87b [INFO] checking austinjones/elitetrader against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faustinjones%2Felitetrader" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/austinjones/elitetrader on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/austinjones/elitetrader [INFO] finished tweaking git repo https://github.com/austinjones/elitetrader [INFO] tweaked toml for git repo https://github.com/austinjones/elitetrader written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/austinjones/elitetrader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd479713342a21af8d54de5ff724830a034cc60ae3a0b4cf70ab9bd1ffdc2467 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd479713342a21af8d54de5ff724830a034cc60ae3a0b4cf70ab9bd1ffdc2467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd479713342a21af8d54de5ff724830a034cc60ae3a0b4cf70ab9bd1ffdc2467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd479713342a21af8d54de5ff724830a034cc60ae3a0b4cf70ab9bd1ffdc2467", kill_on_drop: false }` [INFO] [stdout] fd479713342a21af8d54de5ff724830a034cc60ae3a0b4cf70ab9bd1ffdc2467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eda24786f04ba364bfe86d46199275a869a13043570e7260297863097c63a12 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9eda24786f04ba364bfe86d46199275a869a13043570e7260297863097c63a12", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking httparse v1.1.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking base64 v0.12.1 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.3.12 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking async-compression v0.3.4 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking num v0.1.29 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking spatial v0.0.1 (https://github.com/austinjones/spatial.git#6be72175) [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking statistical v1.0.0 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking elitetrader v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/data/edce.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | 'listing: for listing in station.listings.iter_mut() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/data/edce.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | 'listing: for listing in station.listings.iter_mut() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `data::adjustments::time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | let process_start = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `data::adjustments::time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | let process_end = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:520:26 [INFO] [stdout] | [INFO] [stdout] 520 | let start_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:585:34 [INFO] [stdout] | [INFO] [stdout] 585 | let span = start_time.to(PreciseTime::now()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/persist.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/persist.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use time::PreciseTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `data::adjustments::time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | let process_start = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `data::adjustments::time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:271:27 [INFO] [stdout] | [INFO] [stdout] 271 | let process_end = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:520:26 [INFO] [stdout] | [INFO] [stdout] 520 | let start_time = PreciseTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `data::adjustments::time::PreciseTime`: Use `Instant` [INFO] [stdout] --> src/main.rs:585:34 [INFO] [stdout] | [INFO] [stdout] 585 | let span = start_time.to(PreciseTime::now()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/persist.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env::home_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/persist.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | match home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/main.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | let now = PrimitiveDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/main.rs:385:23 [INFO] [stdout] | [INFO] [stdout] 385 | let now = PrimitiveDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:585:31 [INFO] [stdout] | [INFO] [stdout] 585 | let span = start_time.to(PreciseTime::now()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/main.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | let seconds = span.num_milliseconds() as f64 / 1000f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/main.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | let minutes = span.num_milliseconds() as f64 / 60000f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Instant::to`: Use `rhs - lhs` [INFO] [stdout] --> src/main.rs:585:31 [INFO] [stdout] | [INFO] [stdout] 585 | let span = start_time.to(PreciseTime::now()); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/main.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | let seconds = span.num_milliseconds() as f64 / 1000f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_milliseconds`: Use the `whole_milliseconds` function. The value is clamped between `i64::min_value()` and `i64::max_value()`. [INFO] [stdout] --> src/main.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | let minutes = span.num_milliseconds() as f64 / 60000f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/adjustments.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let timespec = PrimitiveDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/adjustments.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | let time_str = format!("{:010}-{:09}", timespec.timestamp(), timespec.nanosecond()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/adjustments.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let timespec = PrimitiveDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/adjustments.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | let time_str = format!("{:010}-{:09}", timespec.timestamp(), timespec.nanosecond()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/data/universe.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let num_hours = age.num_seconds() as f64 / 3600f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::Duration::num_seconds`: Use the `whole_seconds` function [INFO] [stdout] --> src/data/universe.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let num_hours = age.num_seconds() as f64 / 3600f64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::OffsetDateTime::now`: This function returns a value with an offset of UTC, which is not apparent from its name alone. You should use `OffsetDateTime::now_utc()` instead. [INFO] [stdout] --> src/data/time_adjustment.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | OffsetDateTime::now().timestamp() - OffsetDateTime::unix_epoch().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/universe.rs:170:44 [INFO] [stdout] | [INFO] [stdout] 170 | let now = PrimitiveDateTime::now().timestamp(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:30:49 [INFO] [stdout] | [INFO] [stdout] 30 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::now`: This method returns a value that assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::PrimitiveDateTime::timestamp`: This method assumes an offset of UTC. [INFO] [stdout] --> src/data/price_adjustment.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | timestamp: PrimitiveDateTime::now().timestamp() as u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `data::adjustments::time::OffsetDateTime::now`: This function returns a value with an offset of UTC, which is not apparent from its name alone. You should use `OffsetDateTime::now_utc()` instead. [INFO] [stdout] --> src/data/time_adjustment.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | OffsetDateTime::now().timestamp() - OffsetDateTime::unix_epoch().timestamp(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Float` [INFO] [stdout] --> src/util/num_unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/search/search.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 0f64 => panic!("Cannot score result with 0 distance_in_seconds"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/search/unit_trade.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 0f64 => 60f64 * profit_per_ton as f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/util/num_unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 0f64 => (0f64, 0f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `quit` is never read [INFO] [stdout] --> src/main.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | quit = true; [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: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::traits::Float` [INFO] [stdout] --> src/util/num_unit.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/search/search.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | 0f64 => panic!("Cannot score result with 0 distance_in_seconds"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/search/unit_trade.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | 0f64 => 60f64 * profit_per_ton as f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/util/num_unit.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | 0f64 => (0f64, 0f64), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `quit` is never read [INFO] [stdout] --> src/main.rs:499:25 [INFO] [stdout] | [INFO] [stdout] 499 | quit = true; [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: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | 0f64 => 0f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_listing_by_index` [INFO] [stdout] --> src/data/universe.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn get_listing_by_index<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_listing_by_index_mut` [INFO] [stdout] --> src/data/universe.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_listing_by_index_mut<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_system_mut` [INFO] [stdout] --> src/data/universe.rs:570:8 [INFO] [stdout] | [INFO] [stdout] 570 | fn get_system_mut(&mut self, id: u32) -> Option<&mut System> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_system_by_name` [INFO] [stdout] --> src/data/universe.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn get_system_by_name(&self, system_name: &String) -> Option<&System> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_text_from_file` [INFO] [stdout] --> src/persist.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_text_from_file(file: &mut File) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buys_from_systems` [INFO] [stdout] --> src/search/options.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn buys_from_systems(systems: Vec<&System>) -> BuyOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buys_from_system` [INFO] [stdout] --> src/search/options.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn buys_from_system(system: &System) -> BuyOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sells_from_system` [INFO] [stdout] --> src/search/options.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn sells_from_system(system: &System) -> SellOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sells_from_station` [INFO] [stdout] --> src/search/options.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sells_from_station(station: &Station) -> SellOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_trade` [INFO] [stdout] --> src/search/search.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn with_trade(&self, trade: &FullTrade<'a>) -> SearchResult<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fudge` [INFO] [stdout] --> src/search/search.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn fudge(val: f64, fudge_factor: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prompt_confirm` [INFO] [stdout] --> src/user_input.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn prompt_confirm( message: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastSystem` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub lastSystem: EdceSystem, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastStarport` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub lastStarport: EdceStarport, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_starport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn generate_opt(basePath: &Option) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn generate(basePath: &String) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | fn read(basePath: &String) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonPath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let jsonPath = String::new() + basePath + "/last.json"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `json_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentShipId` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub currentShipId: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_ship_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `buyPrice` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub buyPrice: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `buy_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sellPrice` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub sellPrice: u32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sell_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_listing_by_index` [INFO] [stdout] --> src/data/universe.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | pub fn get_listing_by_index<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_listing_by_index_mut` [INFO] [stdout] --> src/data/universe.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn get_listing_by_index_mut<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_system_mut` [INFO] [stdout] --> src/data/universe.rs:570:8 [INFO] [stdout] | [INFO] [stdout] 570 | fn get_system_mut(&mut self, id: u32) -> Option<&mut System> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_system_by_name` [INFO] [stdout] --> src/data/universe.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | pub fn get_system_by_name(&self, system_name: &String) -> Option<&System> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_text_from_file` [INFO] [stdout] --> src/persist.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_text_from_file(file: &mut File) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buys_from_systems` [INFO] [stdout] --> src/search/options.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn buys_from_systems(systems: Vec<&System>) -> BuyOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `buys_from_system` [INFO] [stdout] --> src/search/options.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn buys_from_system(system: &System) -> BuyOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sells_from_system` [INFO] [stdout] --> src/search/options.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn sells_from_system(system: &System) -> SellOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sells_from_station` [INFO] [stdout] --> src/search/options.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn sells_from_station(station: &Station) -> SellOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_trade` [INFO] [stdout] --> src/search/search.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn with_trade(&self, trade: &FullTrade<'a>) -> SearchResult<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fudge` [INFO] [stdout] --> src/search/search.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn fudge(val: f64, fudge_factor: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prompt_confirm` [INFO] [stdout] --> src/user_input.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn prompt_confirm( message: &str ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_buffer_desc` [INFO] [stdout] --> src/util/scored_buf.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn new_buffer_desc() -> ScoredCircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_buffer_asc` [INFO] [stdout] --> src/util/scored_buf.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | fn new_buffer_asc() -> ScoredCircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_buffer_bucketed` [INFO] [stdout] --> src/util/scored_buf.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | fn new_buffer_bucketed(sort: Sort) -> ScoredCircularBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastSystem` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub lastSystem: EdceSystem, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `last_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastStarport` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub lastStarport: EdceStarport, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_starport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn generate_opt(basePath: &Option) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn generate(basePath: &String) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `basePath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | fn read(basePath: &String) -> Option { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `jsonPath` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let jsonPath = String::new() + basePath + "/last.json"; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `json_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `currentShipId` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub currentShipId: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_ship_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `buyPrice` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub buyPrice: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `buy_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sellPrice` should have a snake case name [INFO] [stdout] --> src/data/edce.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub sellPrice: u32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sell_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "9eda24786f04ba364bfe86d46199275a869a13043570e7260297863097c63a12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eda24786f04ba364bfe86d46199275a869a13043570e7260297863097c63a12", kill_on_drop: false }` [INFO] [stdout] 9eda24786f04ba364bfe86d46199275a869a13043570e7260297863097c63a12