[INFO] cloning repository https://github.com/kozabrada123/termidle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kozabrada123/termidle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2Ftermidle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2Ftermidle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 197fab3b568c88f487964fc6d87c369dec7eedf2 [INFO] checking kozabrada123/termidle against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkozabrada123%2Ftermidle" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kozabrada123/termidle on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kozabrada123/termidle [INFO] finished tweaking git repo https://github.com/kozabrada123/termidle [INFO] tweaked toml for git repo https://github.com/kozabrada123/termidle written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kozabrada123/termidle 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b37e7c2f45da65d5d5bd3bce24575dc84ec8fe2ba79f9c41a8bdb8202b28dd5c [INFO] running `Command { std: "docker" "start" "-a" "b37e7c2f45da65d5d5bd3bce24575dc84ec8fe2ba79f9c41a8bdb8202b28dd5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b37e7c2f45da65d5d5bd3bce24575dc84ec8fe2ba79f9c41a8bdb8202b28dd5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b37e7c2f45da65d5d5bd3bce24575dc84ec8fe2ba79f9c41a8bdb8202b28dd5c", kill_on_drop: false }` [INFO] [stdout] b37e7c2f45da65d5d5bd3bce24575dc84ec8fe2ba79f9c41a8bdb8202b28dd5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b415b245f87fc8d642adfd043779435e03d941a9cff1f197bc80e6fb83dcde9d [INFO] running `Command { std: "docker" "start" "-a" "b415b245f87fc8d642adfd043779435e03d941a9cff1f197bc80e6fb83dcde9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking termidle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/types/nums.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format`, `sync::Arc` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt::format}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Corner`, `Wrap` [INFO] [stdout] --> src/main.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | layout::{Alignment, Constraint, Direction, Layout, Corner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | widgets::{Block, Borders, Paragraph, Wrap, ListItem, List, ListState}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/types/nums.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::format`, `sync::Arc` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{sync::Arc, fmt::format}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Corner`, `Wrap` [INFO] [stdout] --> src/main.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | layout::{Alignment, Constraint, Direction, Layout, Corner}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | widgets::{Block, Borders, Paragraph, Wrap, ListItem, List, ListState}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | fn eq(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 106 | self.eq(other) [INFO] [stdout] | -------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | fn lt(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 130 | self.lt(&other) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn gt(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 138 | self.gt(&other) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut game = &mut app.game; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_items` is never used [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl StatefulList { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 81 | fn with_items(items: Vec) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_upgrade_list` and `update_upgrade_list` are never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn generate_upgrade_list(&self) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn update_upgrade_list(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `truncate`, `eq`, `lt`, and `gt` are never used [INFO] [stdout] --> src/types/nums.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BeegNum { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn truncate(self) -> BeegNum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn eq(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn lt(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn gt(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manufacturers` and `vehicles` are never read [INFO] [stdout] --> src/game.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GameStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub manufacturers : Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub vehicles : Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `can_buy_upgrade`, `buy_upgrade`, `get_manufacturer`, `get_vehicle`, and `from_player` are never used [INFO] [stdout] --> src/game.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GameStruct { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn can_buy_upgrade(&self, tobuy: Upgrade) -> (bool, u128, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn buy_upgrade(&mut self, tobuy: Upgrade) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn get_manufacturer(&self, id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_vehicle(&self, id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn from_player(player: Player) -> GameStruct { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculatePrice` is never used [INFO] [stdout] --> src/game.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 412 | impl Upgrade { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn calculatePrice(&self, n: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculatePrice` should have a snake case name [INFO] [stdout] --> src/game.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn calculatePrice(&self, n: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | fn eq(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 106 | self.eq(other) [INFO] [stdout] | -------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | fn lt(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 130 | self.lt(&other) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/types/nums.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | fn gt(&self, other: &BeegNum) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 138 | self.gt(&other) [INFO] [stdout] | --------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut game = &mut app.game; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_items` is never used [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl StatefulList { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 81 | fn with_items(items: Vec) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_upgrade_list` and `update_upgrade_list` are never used [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 126 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | fn generate_upgrade_list(&self) -> StatefulList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn update_upgrade_list(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `truncate`, `eq`, `lt`, and `gt` are never used [INFO] [stdout] --> src/types/nums.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BeegNum { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn truncate(self) -> BeegNum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn eq(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn lt(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn gt(self, other: BeegNum) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `manufacturers` and `vehicles` are never read [INFO] [stdout] --> src/game.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GameStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub manufacturers : Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub vehicles : Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `can_buy_upgrade`, `buy_upgrade`, `get_manufacturer`, `get_vehicle`, and `from_player` are never used [INFO] [stdout] --> src/game.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GameStruct { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn can_buy_upgrade(&self, tobuy: Upgrade) -> (bool, u128, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn buy_upgrade(&mut self, tobuy: Upgrade) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn get_manufacturer(&self, id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn get_vehicle(&self, id: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | pub fn from_player(player: Player) -> GameStruct { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculatePrice` is never used [INFO] [stdout] --> src/game.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 412 | impl Upgrade { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn calculatePrice(&self, n: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculatePrice` should have a snake case name [INFO] [stdout] --> src/game.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn calculatePrice(&self, n: u8) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `calculate_price` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.82s [INFO] running `Command { std: "docker" "inspect" "b415b245f87fc8d642adfd043779435e03d941a9cff1f197bc80e6fb83dcde9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b415b245f87fc8d642adfd043779435e03d941a9cff1f197bc80e6fb83dcde9d", kill_on_drop: false }` [INFO] [stdout] b415b245f87fc8d642adfd043779435e03d941a9cff1f197bc80e6fb83dcde9d