[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0ck3r008%2Frtshare" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0ck3r008/rtshare on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc99a2882079b9e1f506bb9b2e04799a34c92be210194cac737a4d480a01b51c [INFO] running `Command { std: "docker" "start" "-a" "cc99a2882079b9e1f506bb9b2e04799a34c92be210194cac737a4d480a01b51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc99a2882079b9e1f506bb9b2e04799a34c92be210194cac737a4d480a01b51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc99a2882079b9e1f506bb9b2e04799a34c92be210194cac737a4d480a01b51c", kill_on_drop: false }` [INFO] [stdout] cc99a2882079b9e1f506bb9b2e04799a34c92be210194cac737a4d480a01b51c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28bc625750a4accaa0d234f2f70bc014071239851f90f742c81ec99a415253aa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "28bc625750a4accaa0d234f2f70bc014071239851f90f742c81ec99a415253aa", kill_on_drop: false }` [INFO] [stderr] Checking rtshare v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/dstore/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/router/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/dstore/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils` [INFO] [stdout] --> src/router/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/binpq.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut curr = self.vec.len() - 1; [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: 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: variable does not need to be mutable [INFO] [stdout] --> src/utils/binpq.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut curr = self.vec.len() - 1; [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: 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: 24 warnings emitted [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "28bc625750a4accaa0d234f2f70bc014071239851f90f742c81ec99a415253aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28bc625750a4accaa0d234f2f70bc014071239851f90f742c81ec99a415253aa", kill_on_drop: false }` [INFO] [stdout] 28bc625750a4accaa0d234f2f70bc014071239851f90f742c81ec99a415253aa