[INFO] cloning repository https://github.com/Sociosarbis/rust-boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sociosarbis/rust-boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSociosarbis%2Frust-boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSociosarbis%2Frust-boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fcacf3b348ceb2afb527e2159ddddd0c40a7516 [INFO] documenting Sociosarbis/rust-boilerplate against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSociosarbis%2Frust-boilerplate" "/workspace/builds/worker-31/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-31/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sociosarbis/rust-boilerplate on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sociosarbis/rust-boilerplate [INFO] finished tweaking git repo https://github.com/Sociosarbis/rust-boilerplate [INFO] tweaked toml for git repo https://github.com/Sociosarbis/rust-boilerplate written to /workspace/builds/worker-31/source/Cargo.toml [INFO] crate git repo https://github.com/Sociosarbis/rust-boilerplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d6f2679176d135cdf58de0fcda96b783cf5b6b137fde2c87e587a4d6bdc861 [INFO] running `Command { std: "docker" "start" "-a" "56d6f2679176d135cdf58de0fcda96b783cf5b6b137fde2c87e587a4d6bdc861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d6f2679176d135cdf58de0fcda96b783cf5b6b137fde2c87e587a4d6bdc861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d6f2679176d135cdf58de0fcda96b783cf5b6b137fde2c87e587a4d6bdc861", kill_on_drop: false }` [INFO] [stdout] 56d6f2679176d135cdf58de0fcda96b783cf5b6b137fde2c87e587a4d6bdc861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/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" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544684e5515141604e27e35fe2d5d788100cc1d0cce79c8a854359dd8c9105f4 [INFO] running `Command { std: "docker" "start" "-a" "544684e5515141604e27e35fe2d5d788100cc1d0cce79c8a854359dd8c9105f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Checking solution v0.1.0 (/opt/rustwide/workdir/solution) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking part_2 v0.1.0 (/opt/rustwide/workdir/part_2) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> part_2/src/bank.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> part_2/src/find_min_steps.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | for j in 0..temp_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> part_2/src/cal_points.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ret = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> part_2/src/cal_points.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ret = 0; [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: variable does not need to be mutable [INFO] [stdout] --> part_2/src/deserialize.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn deserialize(mut s: String) -> NestedInteger { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arr` [INFO] [stdout] --> part_2/src/median_finder.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | arr: Vec [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: `new` [INFO] [stdout] --> part_2/src/median_finder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/median_finder.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_num(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_median` [INFO] [stdout] --> part_2/src/median_finder.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn find_median(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MedianFinderBest` [INFO] [stdout] --> part_2/src/median_finder.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct MedianFinderBest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/median_finder.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/median_finder.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn add_num(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_median` [INFO] [stdout] --> part_2/src/median_finder.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find_median(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SolutionPickIndex` [INFO] [stdout] --> part_2/src/pick_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SolutionPickIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/pick_index.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(w: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick_index` [INFO] [stdout] --> part_2/src/pick_index.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn pick_index(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/get_kth_from_end.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/split_list_to_parts.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SummaryRanges` [INFO] [stdout] --> part_2/src/summary_ranges.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct SummaryRanges { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/summary_ranges.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/summary_ranges.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn add_num(&mut self, val: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_intervals` [INFO] [stdout] --> part_2/src/summary_ranges.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_intervals(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Entry` [INFO] [stdout] --> part_2/src/word_dictionary.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordDictionary` [INFO] [stdout] --> part_2/src/word_dictionary.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct WordDictionary (Entry); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/word_dictionary.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> part_2/src/word_dictionary.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_word(&mut self, word: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> part_2/src/word_dictionary.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn search(&self, word: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_dfs` [INFO] [stdout] --> part_2/src/word_dictionary.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn search_dfs(&self, entry: &Entry, chars: &Vec, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> part_2/src/shuffle.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/shuffle.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> part_2/src/shuffle.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn reset(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> part_2/src/shuffle.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn shuffle(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StockPrice` [INFO] [stdout] --> part_2/src/stock_price.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct StockPrice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/stock_price.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> part_2/src/stock_price.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&mut self, timestamp: i32, price: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> part_2/src/stock_price.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn current(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximum` [INFO] [stdout] --> part_2/src/stock_price.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn maximum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum` [INFO] [stdout] --> part_2/src/stock_price.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn minimum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> part_2/src/all_one.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> part_2/src/all_one.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> part_2/src/all_one.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | next: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev` [INFO] [stdout] --> part_2/src/all_one.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | prev: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AllOne` [INFO] [stdout] --> part_2/src/all_one.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct AllOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/all_one.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> part_2/src/all_one.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | fn inc(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec` [INFO] [stdout] --> part_2/src/all_one.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | fn dec(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_key` [INFO] [stdout] --> part_2/src/all_one.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | fn get_max_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min_key` [INFO] [stdout] --> part_2/src/all_one.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_min_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bank` [INFO] [stdout] --> part_2/src/bank.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Bank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/bank.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(balance: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_account` [INFO] [stdout] --> part_2/src/bank.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn is_valid_account(&self, account: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer` [INFO] [stdout] --> part_2/src/bank.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn transfer(&mut self, account1: i32, account2: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deposit` [INFO] [stdout] --> part_2/src/bank.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn deposit(&mut self, account: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw` [INFO] [stdout] --> part_2/src/bank.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn withdraw(&mut self, account: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> macros/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | length: Literal [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting rust-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.18s [INFO] running `Command { std: "docker" "inspect" "544684e5515141604e27e35fe2d5d788100cc1d0cce79c8a854359dd8c9105f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544684e5515141604e27e35fe2d5d788100cc1d0cce79c8a854359dd8c9105f4", kill_on_drop: false }` [INFO] [stdout] 544684e5515141604e27e35fe2d5d788100cc1d0cce79c8a854359dd8c9105f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-31/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 8fbfdd8c4b58e4c6baa1c61c91c61b7a2191bcf2085e456377dad24441684fa8 [INFO] running `Command { std: "docker" "start" "-a" "8fbfdd8c4b58e4c6baa1c61c91c61b7a2191bcf2085e456377dad24441684fa8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking solution v0.1.0 (/opt/rustwide/workdir/solution) [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking part_2 v0.1.0 (/opt/rustwide/workdir/part_2) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> part_2/src/bank.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> part_2/src/find_min_steps.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | for j in 0..temp_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> part_2/src/cal_points.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ret = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> part_2/src/cal_points.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | let mut ret = 0; [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: variable does not need to be mutable [INFO] [stdout] --> part_2/src/deserialize.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn deserialize(mut s: String) -> NestedInteger { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arr` [INFO] [stdout] --> part_2/src/median_finder.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | arr: Vec [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: `new` [INFO] [stdout] --> part_2/src/median_finder.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/median_finder.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn add_num(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_median` [INFO] [stdout] --> part_2/src/median_finder.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn find_median(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MedianFinderBest` [INFO] [stdout] --> part_2/src/median_finder.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | struct MedianFinderBest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/median_finder.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/median_finder.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn add_num(&mut self, num: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_median` [INFO] [stdout] --> part_2/src/median_finder.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find_median(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SolutionPickIndex` [INFO] [stdout] --> part_2/src/pick_index.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct SolutionPickIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/pick_index.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(w: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pick_index` [INFO] [stdout] --> part_2/src/pick_index.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn pick_index(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/get_kth_from_end.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/split_list_to_parts.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SummaryRanges` [INFO] [stdout] --> part_2/src/summary_ranges.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct SummaryRanges { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/summary_ranges.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_num` [INFO] [stdout] --> part_2/src/summary_ranges.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn add_num(&mut self, val: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_intervals` [INFO] [stdout] --> part_2/src/summary_ranges.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_intervals(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Entry` [INFO] [stdout] --> part_2/src/word_dictionary.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WordDictionary` [INFO] [stdout] --> part_2/src/word_dictionary.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct WordDictionary (Entry); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/word_dictionary.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_word` [INFO] [stdout] --> part_2/src/word_dictionary.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn add_word(&mut self, word: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search` [INFO] [stdout] --> part_2/src/word_dictionary.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn search(&self, word: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `search_dfs` [INFO] [stdout] --> part_2/src/word_dictionary.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn search_dfs(&self, entry: &Entry, chars: &Vec, index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> part_2/src/shuffle.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/shuffle.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(nums: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> part_2/src/shuffle.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn reset(&mut self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> part_2/src/shuffle.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn shuffle(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StockPrice` [INFO] [stdout] --> part_2/src/stock_price.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct StockPrice { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/stock_price.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> part_2/src/stock_price.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn update(&mut self, timestamp: i32, price: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current` [INFO] [stdout] --> part_2/src/stock_price.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn current(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maximum` [INFO] [stdout] --> part_2/src/stock_price.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn maximum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minimum` [INFO] [stdout] --> part_2/src/stock_price.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn minimum(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> part_2/src/all_one.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> part_2/src/all_one.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> part_2/src/all_one.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | next: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev` [INFO] [stdout] --> part_2/src/all_one.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | prev: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> part_2/src/all_one.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `AllOne` [INFO] [stdout] --> part_2/src/all_one.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct AllOne { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/all_one.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inc` [INFO] [stdout] --> part_2/src/all_one.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | fn inc(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec` [INFO] [stdout] --> part_2/src/all_one.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | fn dec(&mut self, key: String) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_key` [INFO] [stdout] --> part_2/src/all_one.rs:168:6 [INFO] [stdout] | [INFO] [stdout] 168 | fn get_max_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min_key` [INFO] [stdout] --> part_2/src/all_one.rs:176:6 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_min_key(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bank` [INFO] [stdout] --> part_2/src/bank.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Bank { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> part_2/src/bank.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn new(balance: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid_account` [INFO] [stdout] --> part_2/src/bank.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn is_valid_account(&self, account: i32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transfer` [INFO] [stdout] --> part_2/src/bank.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn transfer(&mut self, account1: i32, account2: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deposit` [INFO] [stdout] --> part_2/src/bank.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn deposit(&mut self, account: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `withdraw` [INFO] [stdout] --> part_2/src/bank.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn withdraw(&mut self, account: i32, money: i64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> macros/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | length: Literal [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting rust-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.70s [INFO] running `Command { std: "docker" "inspect" "8fbfdd8c4b58e4c6baa1c61c91c61b7a2191bcf2085e456377dad24441684fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fbfdd8c4b58e4c6baa1c61c91c61b7a2191bcf2085e456377dad24441684fa8", kill_on_drop: false }` [INFO] [stdout] 8fbfdd8c4b58e4c6baa1c61c91c61b7a2191bcf2085e456377dad24441684fa8