[INFO] cloning repository https://github.com/r0ck3r008/rtshare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r0ck3r008/rtshare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0ck3r008%2Frtshare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0ck3r008%2Frtshare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8efe42a4eeb8f72bdce9761e443d3e4b887f4f0 [INFO] checking r0ck3r008/rtshare against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0ck3r008%2Frtshare" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0ck3r008/rtshare on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r0ck3r008/rtshare [INFO] finished tweaking git repo https://github.com/r0ck3r008/rtshare [INFO] tweaked toml for git repo https://github.com/r0ck3r008/rtshare written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/r0ck3r008/rtshare already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f960944f4c884f3df211d7d224419a2f608f1e8b71db6b54ad3d5fb9d6a77fd [INFO] running `Command { std: "docker" "start" "-a" "3f960944f4c884f3df211d7d224419a2f608f1e8b71db6b54ad3d5fb9d6a77fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f960944f4c884f3df211d7d224419a2f608f1e8b71db6b54ad3d5fb9d6a77fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f960944f4c884f3df211d7d224419a2f608f1e8b71db6b54ad3d5fb9d6a77fd", kill_on_drop: false }` [INFO] [stdout] 3f960944f4c884f3df211d7d224419a2f608f1e8b71db6b54ad3d5fb9d6a77fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0dcbdfe89750244d0a05a14b7c692e1deb52b4ec865c37b6a392a189e0634d1 [INFO] running `Command { std: "docker" "start" "-a" "a0dcbdfe89750244d0a05a14b7c692e1deb52b4ec865c37b6a392a189e0634d1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rtshare v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/dstore/mod.rs (1 fix) [INFO] [stderr] Fixed src/router/mod.rs (1 fix) [INFO] [stderr] Fixed src/utils/binpq.rs (1 fix) [INFO] [stdout] warning: struct is never constructed: `BinPq` [INFO] [stdout] --> src/utils/binpq.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BinPq { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Compfn` [INFO] [stdout] --> src/utils/binpq.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Compfn = fn(usize, usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater` [INFO] [stdout] --> src/utils/binpq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn greater(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lesser` [INFO] [stdout] --> src/utils/binpq.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn lesser(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getparent` [INFO] [stdout] --> src/utils/binpq.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn getparent(indx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/binpq.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compfn: Compfn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getroot` [INFO] [stdout] --> src/utils/binpq.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getroot(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/binpq.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn insert(&mut self, val: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils/binpq.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn remove(&mut self, val: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pnode` [INFO] [stdout] --> src/utils/ptree.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pnode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ptree` [INFO] [stdout] --> src/utils/ptree.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Ptree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Child` [INFO] [stdout] --> src/utils/ptree.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Child = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getlvl` [INFO] [stdout] --> src/utils/ptree.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn getlvl(s1: &str, s2: &str) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(sin: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_hmap` [INFO] [stdout] --> src/utils/ptree.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn update_hmap(&mut self, o_sin: Option<&str>, slice: char, lvl: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils/binpq.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while curr >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinPq` [INFO] [stdout] --> src/utils/binpq.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BinPq { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Compfn` [INFO] [stdout] --> src/utils/binpq.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Compfn = fn(usize, usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater` [INFO] [stdout] --> src/utils/binpq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn greater(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lesser` [INFO] [stdout] --> src/utils/binpq.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn lesser(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getparent` [INFO] [stdout] --> src/utils/binpq.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn getparent(indx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/binpq.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compfn: Compfn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getroot` [INFO] [stdout] --> src/utils/binpq.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getroot(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/binpq.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn insert(&mut self, val: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils/binpq.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn remove(&mut self, val: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pnode` [INFO] [stdout] --> src/utils/ptree.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pnode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ptree` [INFO] [stdout] --> src/utils/ptree.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Ptree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Child` [INFO] [stdout] --> src/utils/ptree.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Child = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getlvl` [INFO] [stdout] --> src/utils/ptree.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn getlvl(s1: &str, s2: &str) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(sin: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_hmap` [INFO] [stdout] --> src/utils/ptree.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn update_hmap(&mut self, o_sin: Option<&str>, slice: char, lvl: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils/binpq.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while curr >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rtshare v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: struct is never constructed: `BinPq` [INFO] [stdout] --> src/utils/binpq.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BinPq { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Compfn` [INFO] [stdout] --> src/utils/binpq.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Compfn = fn(usize, usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater` [INFO] [stdout] --> src/utils/binpq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn greater(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lesser` [INFO] [stdout] --> src/utils/binpq.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn lesser(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getparent` [INFO] [stdout] --> src/utils/binpq.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn getparent(indx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/binpq.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compfn: Compfn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getroot` [INFO] [stdout] --> src/utils/binpq.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getroot(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/binpq.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn insert(&mut self, val: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils/binpq.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn remove(&mut self, val: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pnode` [INFO] [stdout] --> src/utils/ptree.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pnode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ptree` [INFO] [stdout] --> src/utils/ptree.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Ptree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Child` [INFO] [stdout] --> src/utils/ptree.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Child = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getlvl` [INFO] [stdout] --> src/utils/ptree.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn getlvl(s1: &str, s2: &str) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(sin: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_hmap` [INFO] [stdout] --> src/utils/ptree.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn update_hmap(&mut self, o_sin: Option<&str>, slice: char, lvl: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils/binpq.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while curr >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `BinPq` [INFO] [stdout] --> src/utils/binpq.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct BinPq { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Compfn` [INFO] [stdout] --> src/utils/binpq.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | type Compfn = fn(usize, usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `greater` [INFO] [stdout] --> src/utils/binpq.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn greater(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lesser` [INFO] [stdout] --> src/utils/binpq.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn lesser(a: usize, b: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getparent` [INFO] [stdout] --> src/utils/binpq.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn getparent(indx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/binpq.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(compfn: Compfn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getroot` [INFO] [stdout] --> src/utils/binpq.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getroot(&self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/binpq.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn insert(&mut self, val: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/utils/binpq.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn remove(&mut self, val: usize) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pnode` [INFO] [stdout] --> src/utils/ptree.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Pnode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ptree` [INFO] [stdout] --> src/utils/ptree.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Ptree { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Child` [INFO] [stdout] --> src/utils/ptree.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Child = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getlvl` [INFO] [stdout] --> src/utils/ptree.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn getlvl(s1: &str, s2: &str) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(sin: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_hmap` [INFO] [stdout] --> src/utils/ptree.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn update_hmap(&mut self, o_sin: Option<&str>, slice: char, lvl: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utils/ptree.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/utils/ptree.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn insert(&mut self, sin: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find` [INFO] [stdout] --> src/utils/ptree.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn find(&self, sfin: &str) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/utils/binpq.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | while curr >= 0 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.27s [INFO] running `Command { std: "docker" "inspect" "a0dcbdfe89750244d0a05a14b7c692e1deb52b4ec865c37b6a392a189e0634d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0dcbdfe89750244d0a05a14b7c692e1deb52b4ec865c37b6a392a189e0634d1", kill_on_drop: false }` [INFO] [stdout] a0dcbdfe89750244d0a05a14b7c692e1deb52b4ec865c37b6a392a189e0634d1