[INFO] cloning repository https://github.com/et4te/swim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/et4te/swim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3c9b088fc9bbcd921484a755feddf6b36fa9966 [INFO] checking et4te/swim against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/et4te/swim on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/et4te/swim [INFO] finished tweaking git repo https://github.com/et4te/swim [INFO] tweaked toml for git repo https://github.com/et4te/swim written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/et4te/swim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b806630fb323d4406b14eb4685fe1bdc2adfc29a07d7b6ca130f59da701f55a [INFO] running `Command { std: "docker" "start" "-a" "1b806630fb323d4406b14eb4685fe1bdc2adfc29a07d7b6ca130f59da701f55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b806630fb323d4406b14eb4685fe1bdc2adfc29a07d7b6ca130f59da701f55a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b806630fb323d4406b14eb4685fe1bdc2adfc29a07d7b6ca130f59da701f55a", kill_on_drop: false }` [INFO] [stdout] 1b806630fb323d4406b14eb4685fe1bdc2adfc29a07d7b6ca130f59da701f55a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b7771d0a4a7595381acb38e21e1bedc2e27c599cb62f8e41adc2ac35c35443b [INFO] running `Command { std: "docker" "start" "-a" "5b7771d0a4a7595381acb38e21e1bedc2e27c599cb62f8e41adc2ac35c35443b", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking serde v1.0.80 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking crossbeam-utils v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking colored v1.6.1 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam-deque v0.6.2 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Checking crossbeam-skiplist v0.0.0 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Checking tokio-executor v0.1.5 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-io v0.1.10 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-serde v0.3.0 [INFO] [stderr] Checking tokio-threadpool v0.1.8 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-timer v0.2.7 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-current-thread v0.1.3 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-codec v0.1.1 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-fs v0.1.4 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-reactor v0.1.6 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking crossbeam-channel v0.3.2 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Checking crossbeam v0.5.0 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Checking tokio-udp v0.1.2 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-tcp v0.1.2 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio-uds v0.2.3 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking tokio v0.1.12 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking pretty_env_logger v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking swim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `indegree` [INFO] [stdout] --> src/digraph.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | indegree: Vec, // indegree[v] = indegree of vertex v [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] --> src/digraph.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(v: u32) -> Digraph { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_vertex` [INFO] [stdout] --> src/digraph.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn validate_vertex(&self, v: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge` [INFO] [stdout] --> src/digraph.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_edge(&mut self, v: u32, w: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adj` [INFO] [stdout] --> src/digraph.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn adj(&self, v: u32) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `outdegree` [INFO] [stdout] --> src/digraph.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn outdegree(&self, v: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `indegree` [INFO] [stdout] --> src/digraph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn indegree(&self, v: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/digraph.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn reverse(&self) -> Digraph { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A` [INFO] [stdout] --> src/protocol/slush.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const A: f32 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `K` [INFO] [stdout] --> src/protocol/slush.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const K: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/protocol/slush.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(addr: NetAddr) -> Slush { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_col` [INFO] [stdout] --> src/protocol/slush.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_col(&mut self, col: Colour) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_query` [INFO] [stdout] --> src/protocol/slush.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_query` [INFO] [stdout] --> src/protocol/slush.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/protocol/slush.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outcome` [INFO] [stdout] --> src/protocol/slush.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A` [INFO] [stdout] --> src/protocol/snowflake.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const A: f32 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `B` [INFO] [stdout] --> src/protocol/snowflake.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const B: u32 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `K` [INFO] [stdout] --> src/protocol/snowflake.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const K: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Snowflake` [INFO] [stdout] --> src/protocol/snowflake.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Snowflake { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/protocol/snowflake.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(addr: NetAddr) -> Snowflake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_col` [INFO] [stdout] --> src/protocol/snowflake.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_col(&mut self, col: Colour) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cnt` [INFO] [stdout] --> src/protocol/snowflake.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_cnt(&mut self, cnt: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_query` [INFO] [stdout] --> src/protocol/snowflake.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_query` [INFO] [stdout] --> src/protocol/snowflake.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/protocol/snowflake.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outcome` [INFO] [stdout] --> src/protocol/snowflake.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "{:?} vertices, {:?} edges\n", self.v(), self.e()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | write!(f, "{:?}: ", v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{:?} ", w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: comparison is useless due to type limits [INFO] [stdout] --> src/digraph.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if v < 0 || v >= self.v { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adj` [INFO] [stdout] --> src/digraph.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn adj(&self, v: u32) -> 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: `outdegree` [INFO] [stdout] --> src/digraph.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn outdegree(&self, v: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `indegree` [INFO] [stdout] --> src/digraph.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn indegree(&self, v: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/digraph.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn reverse(&self) -> Digraph { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A` [INFO] [stdout] --> src/protocol/slush.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const A: f32 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `K` [INFO] [stdout] --> src/protocol/slush.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const K: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/protocol/slush.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(addr: NetAddr) -> Slush { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_col` [INFO] [stdout] --> src/protocol/slush.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_col(&mut self, col: Colour) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_query` [INFO] [stdout] --> src/protocol/slush.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_query` [INFO] [stdout] --> src/protocol/slush.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/protocol/slush.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outcome` [INFO] [stdout] --> src/protocol/slush.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `A` [INFO] [stdout] --> src/protocol/snowflake.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const A: f32 = 0.5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `B` [INFO] [stdout] --> src/protocol/snowflake.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const B: u32 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `K` [INFO] [stdout] --> src/protocol/snowflake.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const K: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Snowflake` [INFO] [stdout] --> src/protocol/snowflake.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Snowflake { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/protocol/snowflake.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(addr: NetAddr) -> Snowflake { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_col` [INFO] [stdout] --> src/protocol/snowflake.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn set_col(&mut self, col: Colour) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cnt` [INFO] [stdout] --> src/protocol/snowflake.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn set_cnt(&mut self, cnt: u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_query` [INFO] [stdout] --> src/protocol/snowflake.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_query` [INFO] [stdout] --> src/protocol/snowflake.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/protocol/snowflake.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `outcome` [INFO] [stdout] --> src/protocol/snowflake.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "{:?} vertices, {:?} edges\n", self.v(), self.e()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | write!(f, "{:?}: ", v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{:?} ", w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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/digraph.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: comparison is useless due to type limits [INFO] [stdout] --> src/digraph.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if v < 0 || v >= self.v { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.92s [INFO] running `Command { std: "docker" "inspect" "5b7771d0a4a7595381acb38e21e1bedc2e27c599cb62f8e41adc2ac35c35443b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b7771d0a4a7595381acb38e21e1bedc2e27c599cb62f8e41adc2ac35c35443b", kill_on_drop: false }` [INFO] [stdout] 5b7771d0a4a7595381acb38e21e1bedc2e27c599cb62f8e41adc2ac35c35443b