[INFO] cloning repository https://github.com/N9199/market_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N9199/market_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9eab7c2347a1ff010619ba8df46b9a0bec44ba70 [INFO] checking N9199/market_sim against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/N9199/market_sim [INFO] finished tweaking git repo https://github.com/N9199/market_sim [INFO] tweaked toml for git repo https://github.com/N9199/market_sim written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/N9199/market_sim on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/N9199/market_sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rusqlite/rusqlite` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sum_type v0.2.0 [INFO] [stderr] Downloaded vcpkg v0.2.11 [INFO] [stderr] Downloaded hashlink v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fab64a01bfb661e240fffc21427f396dd4a9f713e8ae6808b23fc642938e17d2 [INFO] running `Command { std: "docker" "start" "-a" "fab64a01bfb661e240fffc21427f396dd4a9f713e8ae6808b23fc642938e17d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fab64a01bfb661e240fffc21427f396dd4a9f713e8ae6808b23fc642938e17d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab64a01bfb661e240fffc21427f396dd4a9f713e8ae6808b23fc642938e17d2", kill_on_drop: false }` [INFO] [stdout] fab64a01bfb661e240fffc21427f396dd4a9f713e8ae6808b23fc642938e17d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864011a4bfdf2ea0d3ed20684d66c89577af1a9699e4f276afae064534abc2a6 [INFO] running `Command { std: "docker" "start" "-a" "864011a4bfdf2ea0d3ed20684d66c89577af1a9699e4f276afae064534abc2a6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking sum_type v0.2.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling libsqlite3-sys v0.21.0 (https://github.com/rusqlite/rusqlite#bd96f61e) [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rusqlite v0.24.2 (https://github.com/rusqlite/rusqlite#bd96f61e) [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking market_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `sqlIO` should have an upper camel case name [INFO] [stdout] --> src/io/sql.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct sqlIO { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SqlIo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stdIO` should have an upper camel case name [INFO] [stdout] --> src/io/stdio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct stdIO {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StdIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/simulation/sim.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Company` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use simulation::sim::{sim, Company}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `sqlIO` should have an upper camel case name [INFO] [stdout] --> src/io/sql.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct sqlIO { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `SqlIo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `stdIO` should have an upper camel case name [INFO] [stdout] --> src/io/stdio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct stdIO {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `StdIo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, and `warn` [INFO] [stdout] --> src/simulation/sim.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Company` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use simulation::sim::{sim, Company}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/io/sql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | for (id, price) in info { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/io/sql.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let time: usize = temp.last().unwrap_or(Ok(0))?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/sql.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/stdio.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let info = fs::read_to_string(file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/io.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&mut self, file: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/simulation/sim.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | out: T, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `save`, and `load` are never used [INFO] [stdout] --> src/io.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait IO { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 15 | // Writes info to stdout, where each element of info is a company id with it's price. [INFO] [stdout] 16 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn load(&mut self, file: &str) -> Result, Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `sqlIO` is never constructed [INFO] [stdout] --> src/io/sql.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct sqlIO { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `stdIO` is never constructed [INFO] [stdout] --> src/io/stdio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct stdIO {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `bankrupt` are never read [INFO] [stdout] --> src/simulation/sim.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Company { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub id: usize, // Unique ID [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | bankrupt: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Company` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/simulation/sim.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Company { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `eps` should have an upper case name [INFO] [stdout] --> src/simulation/sim.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const eps: f64 = 0.001; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const eps: f64 = 0.001; [INFO] [stdout] 10 + const EPS: f64 = 0.001; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/io/sql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | for (id, price) in info { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/io/sql.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let time: usize = temp.last().unwrap_or(Ok(0))?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/sql.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/stdio.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let info = fs::read_to_string(file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/io.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | fn load(&mut self, file: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/simulation/sim.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | out: T, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write`, `save`, and `load` are never used [INFO] [stdout] --> src/io.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait IO { [INFO] [stdout] | -- methods in this trait [INFO] [stdout] 15 | // Writes info to stdout, where each element of info is a company id with it's price. [INFO] [stdout] 16 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | fn save(&mut self, companies: &BTreeMap) -> Result<(), Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn load(&mut self, file: &str) -> Result, Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `sqlIO` is never constructed [INFO] [stdout] --> src/io/sql.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct sqlIO { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `stdIO` is never constructed [INFO] [stdout] --> src/io/stdio.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct stdIO {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `bankrupt` are never read [INFO] [stdout] --> src/simulation/sim.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Company { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub id: usize, // Unique ID [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 20 | bankrupt: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Company` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/simulation/sim.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Company { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn load( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `eps` should have an upper case name [INFO] [stdout] --> src/simulation/sim.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const eps: f64 = 0.001; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const eps: f64 = 0.001; [INFO] [stdout] 10 + const EPS: f64 = 0.001; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.24s [INFO] running `Command { std: "docker" "inspect" "864011a4bfdf2ea0d3ed20684d66c89577af1a9699e4f276afae064534abc2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864011a4bfdf2ea0d3ed20684d66c89577af1a9699e4f276afae064534abc2a6", kill_on_drop: false }` [INFO] [stdout] 864011a4bfdf2ea0d3ed20684d66c89577af1a9699e4f276afae064534abc2a6