[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] testing et4te/swim against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/et4te/swim on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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-2/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" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "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] 64bdea6e8c111a4c8ac844b0087dca4e68a9405988bc7fdc2c664b385254b043
[INFO] running `Command { std: "docker" "start" "-a" "64bdea6e8c111a4c8ac844b0087dca4e68a9405988bc7fdc2c664b385254b043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64bdea6e8c111a4c8ac844b0087dca4e68a9405988bc7fdc2c664b385254b043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64bdea6e8c111a4c8ac844b0087dca4e68a9405988bc7fdc2c664b385254b043", kill_on_drop: false }`
[INFO] [stdout] 64bdea6e8c111a4c8ac844b0087dca4e68a9405988bc7fdc2c664b385254b043
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", 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] 725f539b283eea4d63fafcfcfef44691690abfbf8929b20135f1082f31b15909
[INFO] running `Command { std: "docker" "start" "-a" "725f539b283eea4d63fafcfcfef44691690abfbf8929b20135f1082f31b15909", kill_on_drop: false }`
[INFO] [stderr]    Compiling lazy_static v1.2.0
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling byteorder v1.2.7
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling lazycell v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling regex v1.0.6
[INFO] [stderr]    Compiling strsim v0.7.0
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling crossbeam-utils v0.6.1
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling memchr v2.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b)
[INFO] [stderr]    Compiling regex-syntax v0.6.3
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling smallvec v0.6.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling colored v1.6.1
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling parking_lot_core v0.3.1
[INFO] [stderr]    Compiling lock_api v0.1.4
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling bytes v0.4.10
[INFO] [stderr]    Compiling bincode v1.0.1
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.6.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b)
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling crossbeam-deque v0.6.2
[INFO] [stderr]    Compiling aho-corasick v0.6.9
[INFO] [stderr]    Compiling crossbeam-deque v0.6.2 (https://github.com/crossbeam-rs/crossbeam#d627067b)
[INFO] [stderr]    Compiling 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]    Compiling tokio-executor v0.1.5 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-io v0.1.10 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-serde v0.3.0
[INFO] [stderr]    Compiling tokio-timer v0.2.7 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-current-thread v0.1.3 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-threadpool v0.1.8 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-codec v0.1.1 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling parking_lot v0.6.4
[INFO] [stderr]    Compiling tokio-reactor v0.1.6 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling crossbeam-channel v0.3.2 (https://github.com/crossbeam-rs/crossbeam#d627067b)
[INFO] [stderr]    Compiling tokio-fs v0.1.4 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-udp v0.1.2 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-tcp v0.1.2 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio-uds v0.2.3 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling tokio v0.1.12 (https://github.com/tokio-rs/tokio#09f2ac85)
[INFO] [stderr]    Compiling crossbeam v0.5.0 (https://github.com/crossbeam-rs/crossbeam#d627067b)
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling serde_derive v1.0.80
[INFO] [stderr]    Compiling pretty_env_logger v0.2.5
[INFO] [stderr]    Compiling swim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `indegree` is never read
[INFO] [stdout]  --> src/digraph.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | struct Digraph {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 7 |     indegree: Vec<u32>, // 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 `new` is never used
[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 `validate_vertex` is never used
[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 `add_edge` is never used
[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 `adj` is never used
[INFO] [stdout]   --> src/digraph.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn adj(&self, v: u32) -> Vec<u32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `outdegree` is never used
[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 `indegree` is never used
[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 `reverse` is never used
[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 `A` is never used
[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 `K` is never used
[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 `new` is never used
[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 `set_col` is never used
[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 `send_query` is never used
[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 `handle_query` is never used
[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 `run` is never used
[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 `outcome` is never used
[INFO] [stdout]    --> src/protocol/slush.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `A` is never used
[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 `B` is never used
[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 `K` is never used
[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 `Snowflake` is never constructed
[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 `new` is never used
[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 `set_col` is never used
[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 `set_cnt` is never used
[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 `send_query` is never used
[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 `handle_query` is never used
[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 `run` is never used
[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 `outcome` is never used
[INFO] [stdout]    --> src/protocol/snowflake.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/swim.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Swim {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 18 |     pub addr: NetAddr,
[INFO] [stdout] 19 |     delay: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Swim` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[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: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 12s
[INFO] running `Command { std: "docker" "inspect" "725f539b283eea4d63fafcfcfef44691690abfbf8929b20135f1082f31b15909", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "725f539b283eea4d63fafcfcfef44691690abfbf8929b20135f1082f31b15909", kill_on_drop: false }`
[INFO] [stdout] 725f539b283eea4d63fafcfcfef44691690abfbf8929b20135f1082f31b15909
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22626947162c90157204c5acc692473f3012365f7be7c850e5e1b7b69f4815ab
[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" "22626947162c90157204c5acc692473f3012365f7be7c850e5e1b7b69f4815ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling swim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `adj` is never used
[INFO] [stdout]   --> src/digraph.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn adj(&self, v: u32) -> Vec<u32> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `outdegree` is never used
[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 `indegree` is never used
[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 `reverse` is never used
[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 `A` is never used
[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 `K` is never used
[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 `new` is never used
[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 `set_col` is never used
[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 `send_query` is never used
[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 `handle_query` is never used
[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 `run` is never used
[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 `outcome` is never used
[INFO] [stdout]    --> src/protocol/slush.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `A` is never used
[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 `B` is never used
[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 `K` is never used
[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 `Snowflake` is never constructed
[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 `new` is never used
[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 `set_col` is never used
[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 `set_cnt` is never used
[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 `send_query` is never used
[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 `handle_query` is never used
[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 `run` is never used
[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 `outcome` is never used
[INFO] [stdout]    --> src/protocol/snowflake.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `delay` is never read
[INFO] [stdout]   --> src/swim.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct Swim {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 18 |     pub addr: NetAddr,
[INFO] [stdout] 19 |     delay: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Swim` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[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: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.59s
[INFO] running `Command { std: "docker" "inspect" "22626947162c90157204c5acc692473f3012365f7be7c850e5e1b7b69f4815ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22626947162c90157204c5acc692473f3012365f7be7c850e5e1b7b69f4815ab", kill_on_drop: false }`
[INFO] [stdout] 22626947162c90157204c5acc692473f3012365f7be7c850e5e1b7b69f4815ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 567adf42aff9d8c35f74ac4c8353b7391baa18a1d9e78233548d2cdf4be917d8
[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" "567adf42aff9d8c35f74ac4c8353b7391baa18a1d9e78233548d2cdf4be917d8", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `adj` is never used
[INFO] [stderr]   --> src/digraph.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 55 |     pub fn adj(&self, v: u32) -> Vec<u32> {
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `outdegree` is never used
[INFO] [stderr]   --> src/digraph.rs:60:12
[INFO] [stderr]    |
[INFO] [stderr] 60 |     pub fn outdegree(&self, v: u32) -> usize {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `indegree` is never used
[INFO] [stderr]   --> src/digraph.rs:65:12
[INFO] [stderr]    |
[INFO] [stderr] 65 |     pub fn indegree(&self, v: u32) -> u32 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `reverse` is never used
[INFO] [stderr]   --> src/digraph.rs:70:12
[INFO] [stderr]    |
[INFO] [stderr] 70 |     pub fn reverse(&self) -> Digraph {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `A` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | const A: f32 = 0.5;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `K` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | const K: usize = 4;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub fn new(addr: NetAddr) -> Slush {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `set_col` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 |     pub fn set_col(&mut self, col: Colour) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `send_query` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `handle_query` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `run` is never used
[INFO] [stderr]   --> src/protocol/slush.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 75 |     pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `outcome` is never used
[INFO] [stderr]    --> src/protocol/slush.rs:112:8
[INFO] [stderr]     |
[INFO] [stderr] 112 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `A` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | const A: f32 = 0.5;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `B` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | const B: u32 = 11;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `K` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:14:1
[INFO] [stderr]    |
[INFO] [stderr] 14 | const K: usize = 4;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Snowflake` is never constructed
[INFO] [stderr]   --> src/protocol/snowflake.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Snowflake {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:24:12
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn new(addr: NetAddr) -> Snowflake {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `set_col` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:48:12
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub fn set_col(&mut self, col: Colour) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `set_cnt` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:52:12
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub fn set_cnt(&mut self, cnt: u32) {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `send_query` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub fn send_query(&self, tx: ColourTx, peer_addr: NetAddr) {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `handle_query` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:72:12
[INFO] [stderr]    |
[INFO] [stderr] 72 |     pub fn handle_query(&mut self, tx: ResponseTx, col: Colour) {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `run` is never used
[INFO] [stderr]   --> src/protocol/snowflake.rs:81:12
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn run(&mut self, tx: &ColourTx, rx: &mut ColourRx, membership: &Membership) -> bool {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `outcome` is never used
[INFO] [stderr]    --> src/protocol/snowflake.rs:139:8
[INFO] [stderr]     |
[INFO] [stderr] 139 | pub fn outcome(votes: Vec<Colour>) -> (u32, u32) {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `delay` is never read
[INFO] [stderr]   --> src/swim.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct Swim {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] 18 |     pub addr: NetAddr,
[INFO] [stderr] 19 |     delay: Option<u64>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Swim` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/digraph.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |         write!(f, "{:?} vertices, {:?} edges\n", self.v(), self.e());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/digraph.rs:14:13
[INFO] [stderr]    |
[INFO] [stderr] 14 |             write!(f, "{:?}: ", v);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/digraph.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |                 write!(f, "{:?} ", w);
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/digraph.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 |             write!(f, "\n");
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> src/digraph.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 42 |         if v < 0 || v >= self.v {
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `swim` (bin "swim" test) generated 29 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/swim-d3aa4b4a25e50fe3)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: test failed, to rerun pass '--bin swim'
[INFO] [stdout] test digraph::tests::test_one ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- digraph::tests::test_one stdout ----
[INFO] [stdout] thread 'digraph::tests::test_one' panicked at 'vertex is not between 0 and v - 1', src/digraph.rs:43:13
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55a13b7c7a2d - std::backtrace_rs::backtrace::libunwind::trace::h33935f50be729600
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55a13b7c7a2d - std::backtrace_rs::backtrace::trace_unsynchronized::h85350690f550732a
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55a13b7c7a2d - std::sys_common::backtrace::_print_fmt::hef50877fc14d4570
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x55a13b7c7a2d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h864135c3b342f033
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x55a13b7ea47c - core::fmt::write::hcb503b08861a7383
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x55a13b7c4481 - std::io::Write::write_fmt::h7b5d0250fe53d0e9
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x55a13b7c94a5 - std::sys_common::backtrace::_print::h8c59e37a3ed34e23
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x55a13b7c94a5 - std::sys_common::backtrace::print::h90aab6df99a2db90
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x55a13b7c94a5 - std::panicking::default_hook::{{closure}}::h09cc51c67f7f7d05
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x55a13b7c9149 - std::panicking::default_hook::he0bf4d235e26ea03
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x55a13b7c9a36 - std::panicking::rust_panic_with_hook::ha977288eb720b249
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x55a13b7a0a78 - std::panicking::begin_panic::{{closure}}::h6a9a15f227d880e9
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:617:9
[INFO] [stdout]   12:     0x55a13b7a0909 - std::sys_common::backtrace::__rust_end_short_backtrace::h237bbfed731436f7
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x55a13b7a09c3 - std::panicking::begin_panic::h2117aa31e45cc6c2
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:616:12
[INFO] [stdout]   14:     0x55a13b76554f - swim::digraph::Digraph::validate_vertex::h3969742147864a83
[INFO] [stdout]                                at /opt/rustwide/workdir/src/digraph.rs:43:13
[INFO] [stdout]   15:     0x55a13b765591 - swim::digraph::Digraph::add_edge::ha5f0e14c0a58ab2e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/digraph.rs:49:9
[INFO] [stdout]   16:     0x55a13b764717 - swim::digraph::tests::test_one::hb28776d7217b6082
[INFO] [stdout]                                at /opt/rustwide/workdir/src/digraph.rs:109:9
[INFO] [stdout]   17:     0x55a13b7646da - swim::digraph::tests::test_one::{{closure}}::h50b6d19d27470458
[INFO] [stdout]                                at /opt/rustwide/workdir/src/digraph.rs:107:5
[INFO] [stdout]   18:     0x55a13b76415e - core::ops::function::FnOnce::call_once::h6ef7c0edc48258a7
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   19:     0x55a13b79adb3 - core::ops::function::FnOnce::call_once::h611eb0785c1f3496
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   20:     0x55a13b79adb3 - test::__rust_begin_short_backtrace::h637b08189daa98ed
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:572:5
[INFO] [stdout]   21:     0x55a13b799b5a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc31918fa5ae90071
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   22:     0x55a13b799b5a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h09589bb8e6e535cd
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   23:     0x55a13b799b5a - std::panicking::try::do_call::h67b8f9e43aba25b9
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40
[INFO] [stdout]   24:     0x55a13b799b5a - std::panicking::try::h5f0df9eb68e9f6a1
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19
[INFO] [stdout]   25:     0x55a13b799b5a - std::panic::catch_unwind::he5e2b2070df63e0e
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14
[INFO] [stdout]   26:     0x55a13b799b5a - test::run_test_in_process::h861bbcd8e3a7cee3
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:595:18
[INFO] [stdout]   27:     0x55a13b799b5a - test::run_test::run_test_inner::{{closure}}::h9b08daf9195a6ac1
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:489:39
[INFO] [stdout]   28:     0x55a13b76603d - test::run_test::run_test_inner::{{closure}}::h7ddf14831cdef435
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/test/src/lib.rs:516:37
[INFO] [stdout]   29:     0x55a13b76603d - std::sys_common::backtrace::__rust_begin_short_backtrace::h532132d8450e01c2
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   30:     0x55a13b76b968 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc05da9d50444a7b4
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   31:     0x55a13b76b968 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h3f32116e496a3685
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   32:     0x55a13b76b968 - std::panicking::try::do_call::h3d9bbb2b7a73d92d
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:492:40
[INFO] [stdout]   33:     0x55a13b76b968 - std::panicking::try::h944abdd2b51c102e
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panicking.rs:456:19
[INFO] [stdout]   34:     0x55a13b76b968 - std::panic::catch_unwind::hd948397232a76d26
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/panic.rs:137:14
[INFO] [stdout]   35:     0x55a13b76b968 - std::thread::Builder::spawn_unchecked_::{{closure}}::hbdfa6198f1747f05
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   36:     0x55a13b76b968 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h48da003824bd2faa
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   37:     0x55a13b7ce1e3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had8815f7e82c673d
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   38:     0x55a13b7ce1e3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h1786a1ea683e54c7
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   39:     0x55a13b7ce1e3 - std::sys::unix::thread::Thread::new::thread_start::haa5b764ba5f967a4
[INFO] [stdout]                                at /rustc/efd358333ac55ca50f786ca1ab841c003bfdfff0/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   40:     0x7f9b2b080609 - start_thread
[INFO] [stdout]   41:     0x7f9b2ae50133 - clone
[INFO] [stdout]   42:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     digraph::tests::test_one
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "567adf42aff9d8c35f74ac4c8353b7391baa18a1d9e78233548d2cdf4be917d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "567adf42aff9d8c35f74ac4c8353b7391baa18a1d9e78233548d2cdf4be917d8", kill_on_drop: false }`
[INFO] [stdout] 567adf42aff9d8c35f74ac4c8353b7391baa18a1d9e78233548d2cdf4be917d8
