[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fet4te%2Fswim" "/workspace/builds/worker-72/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-72/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/et4te/swim on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-72/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" "+1.55.0" "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-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fb8d9d5aa952ce75d03c70bb1e4ec6f4d6ce37e92534c72c57e6f4ddb772489 [INFO] running `Command { std: "docker" "start" "-a" "1fb8d9d5aa952ce75d03c70bb1e4ec6f4d6ce37e92534c72c57e6f4ddb772489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fb8d9d5aa952ce75d03c70bb1e4ec6f4d6ce37e92534c72c57e6f4ddb772489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb8d9d5aa952ce75d03c70bb1e4ec6f4d6ce37e92534c72c57e6f4ddb772489", kill_on_drop: false }` [INFO] [stdout] 1fb8d9d5aa952ce75d03c70bb1e4ec6f4d6ce37e92534c72c57e6f4ddb772489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd568357b9f075198dce769f78d711b2f48ea017ae577ee7fb800309a4b4a556 [INFO] running `Command { std: "docker" "start" "-a" "fd568357b9f075198dce769f78d711b2f48ea017ae577ee7fb800309a4b4a556", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [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 num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-utils v0.6.1 (https://github.com/crossbeam-rs/crossbeam#d627067b) [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 textwrap v0.10.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling regex-syntax v0.6.3 [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 v0.6.16 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling tokio-executor v0.1.5 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling lock_api v0.1.4 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.2 [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 mio-uds v0.6.7 [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 tokio-codec v0.1.1 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling syn v0.15.21 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-threadpool v0.1.8 (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-uds v0.2.3 (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 crossbeam v0.5.0 (https://github.com/crossbeam-rs/crossbeam#d627067b) [INFO] [stderr] Compiling tokio v0.1.12 (https://github.com/tokio-rs/tokio#09f2ac85) [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling pretty_env_logger v0.2.5 [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: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | write!(f, "{:?} vertices, {:?} edges\n", self.v(), self.e()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | write!(f, "{:?}: ", v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{:?} ", w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/digraph.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | write!(f, "\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/digraph.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if v < 0 || v >= self.v { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "fd568357b9f075198dce769f78d711b2f48ea017ae577ee7fb800309a4b4a556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd568357b9f075198dce769f78d711b2f48ea017ae577ee7fb800309a4b4a556", kill_on_drop: false }` [INFO] [stdout] fd568357b9f075198dce769f78d711b2f48ea017ae577ee7fb800309a4b4a556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a71149adaa9b704193c4a13fc13e5e28c6da7b2c747e703e5a4bad974c1a4cd [INFO] running `Command { std: "docker" "start" "-a" "5a71149adaa9b704193c4a13fc13e5e28c6da7b2c747e703e5a4bad974c1a4cd", 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: 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: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.99s [INFO] running `Command { std: "docker" "inspect" "5a71149adaa9b704193c4a13fc13e5e28c6da7b2c747e703e5a4bad974c1a4cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a71149adaa9b704193c4a13fc13e5e28c6da7b2c747e703e5a4bad974c1a4cd", kill_on_drop: false }` [INFO] [stdout] 5a71149adaa9b704193c4a13fc13e5e28c6da7b2c747e703e5a4bad974c1a4cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b5c509fc00f48faee18bc01e5a5926707c977324cdedbbb80e1b4dfd09b5bfe [INFO] running `Command { std: "docker" "start" "-a" "8b5c509fc00f48faee18bc01e5a5926707c977324cdedbbb80e1b4dfd09b5bfe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `adj` [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: 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 28 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swim-de83f20af9656774) [INFO] [stdout] [INFO] [stdout] running 1 test [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: 0x55bbcce0dfe0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55bbcce0dfe0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55bbcce0dfe0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55bbcce0dfe0 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55bbcce3079c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55bbcce0b095 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55bbcce1014b - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55bbcce1014b - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55bbcce1014b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55bbcce0fc5c - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55bbcce10814 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55bbccdf6473 - std::panicking::begin_panic::{{closure}}::hbe94567cdfc96f0d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x55bbccdf6ec9 - std::sys_common::backtrace::__rust_end_short_backtrace::h7e8eb69aaf22019a [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55bbccdf63a9 - std::panicking::begin_panic::h077af769a4a4a465 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x55bbccdb6e8f - swim::digraph::Digraph::validate_vertex::h4fab396390097070 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:43:13 [INFO] [stdout] 15: 0x55bbccdb6ed1 - swim::digraph::Digraph::add_edge::h27d2133bbc08a71a [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:49:9 [INFO] [stdout] 16: 0x55bbccdb5a87 - swim::digraph::tests::test_one::hc534787facddf343 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:109:9 [INFO] [stdout] 17: 0x55bbccdb5a4a - swim::digraph::tests::test_one::{{closure}}::hf173eb8cb0190ff5 [INFO] [stdout] at /opt/rustwide/workdir/src/digraph.rs:107:5 [INFO] [stdout] 18: 0x55bbccdb561e - core::ops::function::FnOnce::call_once::h75066134789d6772 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55bbccdea9a3 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55bbccdea9a3 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 21: 0x55bbccde9458 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 22: 0x55bbccde9458 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 23: 0x55bbccde9458 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 24: 0x55bbccde9458 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 25: 0x55bbccde9458 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 26: 0x55bbccde9458 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 27: 0x55bbccde9458 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 28: 0x55bbccdb7bed - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 29: 0x55bbccdb7bed - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x55bbccdbc3c8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 31: 0x55bbccdbc3c8 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 32: 0x55bbccdbc3c8 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 33: 0x55bbccdbc3c8 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 34: 0x55bbccdbc3c8 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 35: 0x55bbccdbc3c8 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 36: 0x55bbccdbc3c8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55bbcce15387 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x55bbcce15387 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55bbcce15387 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 40: 0x7fddb0f47609 - start_thread [INFO] [stdout] 41: 0x7fddb0d19293 - 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] [stderr] error: test failed, to rerun pass '--bin swim' [INFO] running `Command { std: "docker" "inspect" "8b5c509fc00f48faee18bc01e5a5926707c977324cdedbbb80e1b4dfd09b5bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5c509fc00f48faee18bc01e5a5926707c977324cdedbbb80e1b4dfd09b5bfe", kill_on_drop: false }` [INFO] [stdout] 8b5c509fc00f48faee18bc01e5a5926707c977324cdedbbb80e1b4dfd09b5bfe