[INFO] updating cached repository https://github.com/et4te/swim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3c9b088fc9bbcd921484a755feddf6b36fa9966 [INFO] testing et4te/swim against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/et4te/swim on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-101/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" "+62efba8a050c64249dab942951bb28f710208bc8" "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-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb5cc4101e21be26a166f0bc1392c861580d7ad1dd3e5e995b6abf949de7e08b [INFO] running `Command { std: "docker" "start" "-a" "fb5cc4101e21be26a166f0bc1392c861580d7ad1dd3e5e995b6abf949de7e08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5cc4101e21be26a166f0bc1392c861580d7ad1dd3e5e995b6abf949de7e08b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5cc4101e21be26a166f0bc1392c861580d7ad1dd3e5e995b6abf949de7e08b", kill_on_drop: false }` [INFO] [stdout] fb5cc4101e21be26a166f0bc1392c861580d7ad1dd3e5e995b6abf949de7e08b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a068257d4bcfe1375f890bc0a9d01eb391bb569ebd44bb239f684b4a466df145 [INFO] running `Command { std: "docker" "start" "-a" "a068257d4bcfe1375f890bc0a9d01eb391bb569ebd44bb239f684b4a466df145", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.5 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.3 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling tokio-timer v0.2.7 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling clap v2.32.0 [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 chrono v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 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 crossbeam-deque v0.6.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [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-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-fs v0.1.4 (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 serde_derive v1.0.80 [INFO] [stderr] Compiling 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: field is never read: `delay` [INFO] [stdout] --> src/swim.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | delay: Option, [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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "a068257d4bcfe1375f890bc0a9d01eb391bb569ebd44bb239f684b4a466df145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a068257d4bcfe1375f890bc0a9d01eb391bb569ebd44bb239f684b4a466df145", kill_on_drop: false }` [INFO] [stdout] a068257d4bcfe1375f890bc0a9d01eb391bb569ebd44bb239f684b4a466df145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8016a7ac531f387d3fd6a12e83946859a324af34eb27de396278ebf80fcc54 [INFO] running `Command { std: "docker" "start" "-a" "9d8016a7ac531f387d3fd6a12e83946859a324af34eb27de396278ebf80fcc54", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling swim v0.1.0 (/opt/rustwide/workdir) [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: field is never read: `delay` [INFO] [stdout] --> src/swim.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | delay: Option, [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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "9d8016a7ac531f387d3fd6a12e83946859a324af34eb27de396278ebf80fcc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8016a7ac531f387d3fd6a12e83946859a324af34eb27de396278ebf80fcc54", kill_on_drop: false }` [INFO] [stdout] 9d8016a7ac531f387d3fd6a12e83946859a324af34eb27de396278ebf80fcc54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ff2790eee1dacd5e574ac44d2c33dcb0d7b5a1052247843c53c47858d93fe19 [INFO] running `Command { std: "docker" "start" "-a" "0ff2790eee1dacd5e574ac44d2c33dcb0d7b5a1052247843c53c47858d93fe19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: associated function is never used: `adj` [INFO] [stdout] running 1 test [INFO] [stderr] --> src/digraph.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn adj(&self, v: u32) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `outdegree` [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 is never used: `indegree` [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 is never used: `reverse` [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 is never used: `A` [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 is never used: `K` [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 is never used: `new` [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 is never used: `set_col` [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 is never used: `send_query` [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 is never used: `handle_query` [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 is never used: `run` [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 is never used: `outcome` [INFO] [stderr] --> src/protocol/slush.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `A` [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 is never used: `B` [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 is never used: `K` [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 is never constructed: `Snowflake` [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 is never used: `new` [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 is never used: `set_col` [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 is never used: `set_cnt` [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 is never used: `send_query` [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 is never used: `handle_query` [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 is never used: `run` [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 is never used: `outcome` [INFO] [stderr] --> src/protocol/snowflake.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn outcome(votes: Vec) -> (u32, u32) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `delay` [INFO] [stderr] --> src/swim.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | delay: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [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 2.98s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swim-f12ac5e2afdc6d1e) [INFO] [stdout] test digraph::tests::test_one ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--bin swim' [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: 0x55fec4d85b9c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55fec4d85b9c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55fec4d85b9c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55fec4d85b9c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55fec4da88cc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55fec4d81b45 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55fec4d875f0 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55fec4d875f0 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55fec4d875f0 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55fec4d871d6 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55fec4d87ca4 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55fec4d67562 - std::panicking::begin_panic::{{closure}}::ha94f4b64a7203d9a [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:526:9 [INFO] [stdout] 12: 0x55fec4d679c9 - std::sys_common::backtrace::__rust_end_short_backtrace::h0d57b4386f7c9d11 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55fec4d674a3 - std::panicking::begin_panic::h8deacfdce7566e11 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:525:12 [INFO] [stdout] 14: 0x55fec4d282ef - swim::digraph::Digraph::validate_vertex::h9b03e6cc0850903d [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:43:13 [INFO] [stdout] 15: 0x55fec4d28331 - swim::digraph::Digraph::add_edge::hd156fcc334223ff9 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:49:9 [INFO] [stdout] 16: 0x55fec4d27107 - swim::digraph::tests::test_one::h8ded626e3e1cb506 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:109:9 [INFO] [stdout] 17: 0x55fec4d270ca - swim::digraph::tests::test_one::{{closure}}::h890e542a3aa17768 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:107:5 [INFO] [stdout] 18: 0x55fec4d26b7e - core::ops::function::FnOnce::call_once::h1076691d6c137479 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55fec4d5d203 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55fec4d5d203 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:585:5 [INFO] [stdout] 21: 0x55fec4d5be17 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 22: 0x55fec4d5be17 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55fec4d5be17 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 24: 0x55fec4d5be17 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 25: 0x55fec4d5be17 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 26: 0x55fec4d5be17 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:608:18 [INFO] [stdout] 27: 0x55fec4d5be17 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:500:39 [INFO] [stdout] 28: 0x55fec4d290be - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/test/src/lib.rs:527:37 [INFO] [stdout] 29: 0x55fec4d290be - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 30: 0x55fec4d2de18 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 31: 0x55fec4d2de18 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55fec4d2de18 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:406:40 [INFO] [stdout] 33: 0x55fec4d2de18 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panicking.rs:370:19 [INFO] [stdout] 34: 0x55fec4d2de18 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/panic.rs:133:14 [INFO] [stdout] 35: 0x55fec4d2de18 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 36: 0x55fec4d2de18 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55fec4d8c733 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 38: 0x55fec4d8c733 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55fec4d8c733 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/62efba8a050c64249dab942951bb28f710208bc8/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 40: 0x7f46211dc609 - start_thread [INFO] [stdout] 41: 0x7f4620fae293 - clone [INFO] [stdout] 42: 0x0 - [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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0ff2790eee1dacd5e574ac44d2c33dcb0d7b5a1052247843c53c47858d93fe19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff2790eee1dacd5e574ac44d2c33dcb0d7b5a1052247843c53c47858d93fe19", kill_on_drop: false }` [INFO] [stdout] 0ff2790eee1dacd5e574ac44d2c33dcb0d7b5a1052247843c53c47858d93fe19