[INFO] cloning repository https://github.com/wcr490/alg_with_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wcr490/alg_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcr490%2Falg_with_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcr490%2Falg_with_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fa8d06ab234201f582e4a1442af854aeffb298f [INFO] checking wcr490/alg_with_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwcr490%2Falg_with_rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wcr490/alg_with_rust 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/wcr490/alg_with_rust [INFO] finished tweaking git repo https://github.com/wcr490/alg_with_rust [INFO] tweaked toml for git repo https://github.com/wcr490/alg_with_rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wcr490/alg_with_rust 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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b38384dac96d4ae40da7e9136f7e17fe9674b02b8dd264d0d056d8b9cc662f6c [INFO] running `Command { std: "docker" "start" "-a" "b38384dac96d4ae40da7e9136f7e17fe9674b02b8dd264d0d056d8b9cc662f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b38384dac96d4ae40da7e9136f7e17fe9674b02b8dd264d0d056d8b9cc662f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38384dac96d4ae40da7e9136f7e17fe9674b02b8dd264d0d056d8b9cc662f6c", kill_on_drop: false }` [INFO] [stdout] b38384dac96d4ae40da7e9136f7e17fe9674b02b8dd264d0d056d8b9cc662f6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 439d91c45f8bf77b9e7f2ddf14841994ef183a0a214d6168428bf9d473da5458 [INFO] running `Command { std: "docker" "start" "-a" "439d91c45f8bf77b9e7f2ddf14841994ef183a0a214d6168428bf9d473da5458", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking alg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::bubble_sort` [INFO] [stdout] --> src/bubble_sort.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use super::bubble_sort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/merge_sort.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/graph.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/huffman_tree.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | use std::{collections::BTreeMap, mem::swap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::b_rand::rand` [INFO] [stdout] --> src/skip_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::b_rand::rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::RandGen` [INFO] [stdout] --> src/b_rand.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use super::RandGen; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/binary_tree.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/graph.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/graph.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::swap` [INFO] [stdout] --> src/huffman_tree.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | use std::{collections::BTreeMap, mem::swap}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/huffman_tree.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::b_rand::rand` [INFO] [stdout] --> src/skip_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::b_rand::rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> src/bubble_sort.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn bubble_sort(v: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinTree` is never constructed [INFO] [stdout] --> src/binary_tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BinTree(Option>>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinData` is never constructed [INFO] [stdout] --> src/binary_tree.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BinData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `height`, `set_height`, `rot_left`, and `rot_right` are never used [INFO] [stdout] --> src/binary_tree.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl BinTree { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn height(&self) -> i8 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn set_height(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn rot_left(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn rot_right(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_sorted` is never used [INFO] [stdout] --> src/binary_tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl BinTree { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 36 | pub fn add_sorted(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_left_first` is never used [INFO] [stdout] --> src/binary_tree.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl BinTree { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 75 | pub fn print_left_first(&self, dp: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rot_left` and `rot_right` are never used [INFO] [stdout] --> src/binary_tree.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl BinData { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 89 | pub fn rot_left(mut self) -> Box { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn rot_right(mut self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rcc` is never used [INFO] [stdout] --> src/graph.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Rcc = Rc>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rcc` is never used [INFO] [stdout] --> src/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rcc(t: T) -> Rcc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GraphErr` is never constructed [INFO] [stdout] --> src/graph.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GraphErr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graph.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl GraphErr { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(s: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weight` is never used [INFO] [stdout] --> src/graph.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Weight { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 26 | fn weight(&self) -> i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Graph` is never constructed [INFO] [stdout] --> src/graph.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Graph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, and `add_edge` are never used [INFO] [stdout] --> src/graph.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Graph { [INFO] [stdout] | ------------------------------------------------- associated items in this implementation [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn add_node(&mut self, node: ID, data: T) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_edge(&mut self, edge: ID, from: ID, to: ID, edge_data: E) -> Result<(), GraphErr> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tree` and `Leaf` are never constructed [INFO] [stdout] --> src/huffman_tree.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum HuffNode { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 74 | Tree(Box, Box), [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | Leaf(char), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HuffNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HScore` is never constructed [INFO] [stdout] --> src/huffman_tree.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct HScore { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_tree` is never used [INFO] [stdout] --> src/huffman_tree.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn build_tree(s: &str) -> HuffNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_lfirst`, `encode_char`, and `encode_str` are never used [INFO] [stdout] --> src/huffman_tree.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl HuffNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 119 | pub fn print_lfirst(&self, depth: i32, dir: char) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn encode_char(&self, c: char) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn encode_str(&self, s: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start_rc` and `contains` are never used [INFO] [stdout] --> src/route.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Route { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn start_rc(pos: ID) -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn contains(&self, pos: ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shortest_path` is never used [INFO] [stdout] --> src/route.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Graph { [INFO] [stdout] | --------------------------------------------------------- method in this implementation [INFO] [stdout] 51 | pub fn shortest_path(&self, from: ID, to: ID) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rcc` is never used [INFO] [stdout] --> src/skip_list.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rcc(t: T) -> Rcc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `down` is never read [INFO] [stdout] --> src/skip_list.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SkipNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | right: Option>>, [INFO] [stdout] 16 | down: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkipNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/skip_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SkipNode { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(t: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, data: T) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `loop_up` are never used [INFO] [stdout] --> src/skip_list.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl SkipList { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 66 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn insert(&mut self, data: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn loop_up(&mut self, ch: Rcc>, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skip_list.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | write!(w, "{:?}", self.data.borrow()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skip_list.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | r.borrow().print_row(w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = r.borrow().print_row(w); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Rcc` is never used [INFO] [stdout] --> src/graph.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Rcc = Rc>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rcc` is never used [INFO] [stdout] --> src/graph.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn rcc(t: T) -> Rcc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `msg` is never read [INFO] [stdout] --> src/graph.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GraphErr { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weight` is never used [INFO] [stdout] --> src/graph.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Weight { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 26 | fn weight(&self) -> i32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `start_rc` and `contains` are never used [INFO] [stdout] --> src/route.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Route { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn start_rc(pos: ID) -> Rc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn contains(&self, pos: ID) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `shortest_path` is never used [INFO] [stdout] --> src/route.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Graph { [INFO] [stdout] | --------------------------------------------------------- method in this implementation [INFO] [stdout] 51 | pub fn shortest_path(&self, from: ID, to: ID) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rcc` is never used [INFO] [stdout] --> src/skip_list.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rcc(t: T) -> Rcc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `down` is never read [INFO] [stdout] --> src/skip_list.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct SkipNode { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 15 | right: Option>>, [INFO] [stdout] 16 | down: Option>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkipNode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `insert` are never used [INFO] [stdout] --> src/skip_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl SkipNode { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(t: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn insert(&mut self, data: T) -> Option>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, and `loop_up` are never used [INFO] [stdout] --> src/skip_list.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl SkipList { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 66 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn insert(&mut self, data: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn loop_up(&mut self, ch: Rcc>, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skip_list.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | write!(w, "{:?}", self.data.borrow()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/skip_list.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | r.borrow().print_row(w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = r.borrow().print_row(w); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "439d91c45f8bf77b9e7f2ddf14841994ef183a0a214d6168428bf9d473da5458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439d91c45f8bf77b9e7f2ddf14841994ef183a0a214d6168428bf9d473da5458", kill_on_drop: false }` [INFO] [stdout] 439d91c45f8bf77b9e7f2ddf14841994ef183a0a214d6168428bf9d473da5458