[INFO] cloning repository https://github.com/ChaicBlack/EasyDist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChaicBlack/EasyDist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaicBlack%2FEasyDist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaicBlack%2FEasyDist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3952652fdf0b10eab3c322567bfd73444d91922 [INFO] building ChaicBlack/EasyDist against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChaicBlack%2FEasyDist" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ChaicBlack/EasyDist [INFO] removed 2 missing examples [INFO] finished tweaking git repo https://github.com/ChaicBlack/EasyDist [INFO] tweaked toml for git repo https://github.com/ChaicBlack/EasyDist written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ChaicBlack/EasyDist on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ChaicBlack/EasyDist already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dashmap v6.0.1 [INFO] [stderr] Downloaded fs4 v0.9.1 [INFO] [stderr] Downloaded crc32c v0.6.8 [INFO] [stderr] Downloaded simplelog v0.12.2 [INFO] [stderr] Downloaded openssl-sys v0.9.103 [INFO] [stderr] Downloaded openssl v0.10.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d319579deed7e782ee0a903e3982141261c6ecdc699b62c66c7dae1365047564 [INFO] running `Command { std: "docker" "start" "-a" "d319579deed7e782ee0a903e3982141261c6ecdc699b62c66c7dae1365047564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d319579deed7e782ee0a903e3982141261c6ecdc699b62c66c7dae1365047564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d319579deed7e782ee0a903e3982141261c6ecdc699b62c66c7dae1365047564", kill_on_drop: false }` [INFO] [stdout] d319579deed7e782ee0a903e3982141261c6ecdc699b62c66c7dae1365047564 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aeafb1535459fc292dd9a8177994b160fe744799e75f7c095810f12b4ce0ff2 [INFO] running `Command { std: "docker" "start" "-a" "9aeafb1535459fc292dd9a8177994b160fe744799e75f7c095810f12b4ce0ff2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling dashmap v6.0.1 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling fs4 v0.9.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling EasyDist v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/msg/set.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::msg::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config` [INFO] [stdout] --> src/client.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Public` [INFO] [stdout] --> src/node.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | use openssl::pkey::{Private, Public}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Verifier` [INFO] [stdout] --> src/node.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | sign::{Signer, Verifier}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDR2` is never used [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/get.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Get { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/set.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used [INFO] [stdout] --> src/msg/heartbeat.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl HeartBeat { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn get_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_addr(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn get_sig(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_frame` are never used [INFO] [stdout] --> src/msg/restablish.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Restablish { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_error` is never used [INFO] [stdout] --> src/frame.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn to_error(&self) -> crate::Error { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_log_snapshot` is never used [INFO] [stdout] --> src/db.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) async fn get_log_snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backup` is never constructed [INFO] [stdout] --> src/snapshot.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Backup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used [INFO] [stdout] --> src/snapshot.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Backup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn new(neighbors: DashMap, log: Vec) -> Backup { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn save_to_file(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn load_from_file() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:703:8 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn segment_overhead() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_term` and `voted_for` are never read [INFO] [stdout] --> src/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | current_term: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | voted_for: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EasyDist` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `easy_dist` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub mod asyncEventQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/msg/get.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | dst.write_frame(&response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/bin/pong.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | async fn handle(&self, message: UserDefined, connection: Arc) -> EasyDist::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/bin/pong.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | async fn handle(&self, message: UserDefined, connection: Arc) -> EasyDist::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9aeafb1535459fc292dd9a8177994b160fe744799e75f7c095810f12b4ce0ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aeafb1535459fc292dd9a8177994b160fe744799e75f7c095810f12b4ce0ff2", kill_on_drop: false }` [INFO] [stdout] 9aeafb1535459fc292dd9a8177994b160fe744799e75f7c095810f12b4ce0ff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94ff27a99a3c08490039998c49ee62d8b8167dbc4ea3637f93388e87537a3f8a [INFO] running `Command { std: "docker" "start" "-a" "94ff27a99a3c08490039998c49ee62d8b8167dbc4ea3637f93388e87537a3f8a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/msg/set.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::msg::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config` [INFO] [stdout] --> src/client.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Public` [INFO] [stdout] --> src/node.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | use openssl::pkey::{Private, Public}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Verifier` [INFO] [stdout] --> src/node.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | sign::{Signer, Verifier}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDR2` is never used [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/get.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Get { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/set.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used [INFO] [stdout] --> src/msg/heartbeat.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl HeartBeat { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn get_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_addr(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn get_sig(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling EasyDist v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `into_frame` are never used [INFO] [stdout] --> src/msg/restablish.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Restablish { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_error` is never used [INFO] [stdout] --> src/frame.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn to_error(&self) -> crate::Error { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_log_snapshot` is never used [INFO] [stdout] --> src/db.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) async fn get_log_snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backup` is never constructed [INFO] [stdout] --> src/snapshot.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Backup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used [INFO] [stdout] --> src/snapshot.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Backup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn new(neighbors: DashMap, log: Vec) -> Backup { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn save_to_file(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn load_from_file() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:703:8 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn segment_overhead() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_term` and `voted_for` are never read [INFO] [stdout] --> src/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | current_term: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | voted_for: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `EasyDist` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `easy_dist` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub mod asyncEventQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/msg/get.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | dst.write_frame(&response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/bin/pong.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | async fn handle(&self, message: UserDefined, connection: Arc) -> EasyDist::Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/bin/pong.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | async fn handle(&self, message: UserDefined, connection: Arc) -> EasyDist::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/msg/set.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::msg::{Parse, ParseError}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `config` [INFO] [stdout] --> src/client.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{config, msg::Ping, Connection, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Public` [INFO] [stdout] --> src/node.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | use openssl::pkey::{Private, Public}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Verifier` [INFO] [stdout] --> src/node.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | sign::{Signer, Verifier}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDR2` is never used [INFO] [stdout] --> src/config.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ADDR2: &str = "127.0.0.1:8081"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/get.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Get { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_frame` is never used [INFO] [stdout] --> src/msg/set.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl Set { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_id`, `get_addr`, and `get_sig` are never used [INFO] [stdout] --> src/msg/heartbeat.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl HeartBeat { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn get_id(&self) -> u64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub(crate) fn get_addr(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn get_sig(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_frame` are never used [INFO] [stdout] --> src/msg/restablish.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 17 | impl Restablish { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub(crate) fn new(id: u64, addr: String, sig: &[u8]) -> Restablish { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn into_frame(self) -> Frame { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_error` is never used [INFO] [stdout] --> src/frame.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl Frame { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | pub(crate) fn to_error(&self) -> crate::Error { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_log_snapshot` is never used [INFO] [stdout] --> src/db.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 25 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) async fn get_log_snapshot(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Backup` is never constructed [INFO] [stdout] --> src/snapshot.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Backup { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_to_file`, and `load_from_file` are never used [INFO] [stdout] --> src/snapshot.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Backup { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn new(neighbors: DashMap, log: Vec) -> Backup { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub(crate) fn save_to_file(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn load_from_file() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:703:8 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn entry_overhead(len: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segment_overhead` is never used [INFO] [stdout] --> src/wal/segment.rs:708:8 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn segment_overhead() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current_term` and `voted_for` are never read [INFO] [stdout] --> src/state.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | current_term: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | voted_for: Mutex>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `asyncEventQueue` should have a snake case name [INFO] [stdout] --> src/lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub mod asyncEventQueue; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `async_event_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/msg/get.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | dst.write_frame(&response); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "94ff27a99a3c08490039998c49ee62d8b8167dbc4ea3637f93388e87537a3f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94ff27a99a3c08490039998c49ee62d8b8167dbc4ea3637f93388e87537a3f8a", kill_on_drop: false }` [INFO] [stdout] 94ff27a99a3c08490039998c49ee62d8b8167dbc4ea3637f93388e87537a3f8a