[INFO] cloning repository https://github.com/jelford/rumour [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelford/rumour" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Frumour", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Frumour'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0421deff9e8bc251ebff1c54afa09ab5051ae2c7 [INFO] checking jelford/rumour against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Frumour" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jelford/rumour on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jelford/rumour [INFO] finished tweaking git repo https://github.com/jelford/rumour [INFO] tweaked toml for git repo https://github.com/jelford/rumour written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jelford/rumour 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-reactor v0.1.7 [INFO] [stderr] Downloaded tokio-timer v0.1.2 [INFO] [stderr] Downloaded bincode v0.8.0 [INFO] [stderr] Downloaded tokio-uds v0.2.4 [INFO] [stderr] Downloaded tokio v0.1.13 [INFO] [stderr] Downloaded tokio-threadpool v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad43f74ab909839a2dbb5b4c2694449025de990780fd05f20616ff83a3324eb7 [INFO] running `Command { std: "docker" "start" "-a" "ad43f74ab909839a2dbb5b4c2694449025de990780fd05f20616ff83a3324eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad43f74ab909839a2dbb5b4c2694449025de990780fd05f20616ff83a3324eb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad43f74ab909839a2dbb5b4c2694449025de990780fd05f20616ff83a3324eb7", kill_on_drop: false }` [INFO] [stdout] ad43f74ab909839a2dbb5b4c2694449025de990780fd05f20616ff83a3324eb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad10046db81676961dc9394bb4c1e72177469a790a5939b9451afee88fc49649 [INFO] running `Command { std: "docker" "start" "-a" "ad10046db81676961dc9394bb4c1e72177469a790a5939b9451afee88fc49649", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.11 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Checking crossbeam-epoch v0.7.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tokio-executor v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.10 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.8 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-threadpool v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tokio-reactor v0.1.7 [INFO] [stderr] Checking tokio-fs v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.4 [INFO] [stderr] Checking tokio-tcp v0.1.2 [INFO] [stderr] Checking tokio v0.1.13 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking rumour v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | errors { [INFO] [stdout] 4 | | BadPortSpecified { [INFO] [stdout] 5 | | description("Bad port specified") [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | errors { [INFO] [stdout] 4 | | BadPortSpecified { [INFO] [stdout] 5 | | description("Bad port specified") [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/node_state.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | observer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | observer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/node_state.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | observer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | observer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | _on_node_joined: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | _on_node_joined: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | _on_node_joined: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | _on_node_joined: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | _on_node_dead: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | _on_node_dead: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | _on_node_dead: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | _on_node_dead: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | _on_node_joined: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | _on_node_joined: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | _on_node_joined: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | _on_node_joined: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | _on_node_dead: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | _on_node_dead: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | _on_node_dead: &'a Fn() -> (), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 | _on_node_dead: &'a dyn Fn() -> (), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mill.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | observer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | observer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mill.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | observer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | observer: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:133:58 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn on_node_joined(mut self, joined_callback: &'a Fn() ->()) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn on_node_joined(mut self, joined_callback: &'a dyn Fn() ->()) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn on_node_dead(mut self, dead_callback: &'a Fn() ->()) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn on_node_dead(mut self, dead_callback: &'a dyn Fn() ->()) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:133:58 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn on_node_joined(mut self, joined_callback: &'a Fn() ->()) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn on_node_joined(mut self, joined_callback: &'a dyn Fn() ->()) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/mod.rs:138:54 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn on_node_dead(mut self, dead_callback: &'a Fn() ->()) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | pub fn on_node_dead(mut self, dead_callback: &'a dyn Fn() ->()) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/node_state.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new<'a>(observer: Box) -> NodeLivenessState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new<'a>(observer: Box) -> NodeLivenessState<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/node/node_state.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new<'a>(observer: Box) -> NodeLivenessState<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new<'a>(observer: Box) -> NodeLivenessState<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | errors { [INFO] [stdout] 4 | | BadPortSpecified { [INFO] [stdout] 5 | | description("Bad port specified") [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / error_chain! { [INFO] [stdout] 3 | | errors { [INFO] [stdout] 4 | | BadPortSpecified { [INFO] [stdout] 5 | | description("Bad port specified") [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeState` is never constructed [INFO] [stdout] --> src/node/mill.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct NodeState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_live_nodes` and `get_suspect_nodes` are never used [INFO] [stdout] --> src/node/mill.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 85 | / impl <'a, RSender, TRequester> RumourMill<'a, RSender, TRequester> [INFO] [stdout] 86 | | where RSender : MessageSender, TRequester : TimeoutRequester { [INFO] [stdout] | |________________________________________________________________- methods in this implementation [INFO] [stdout] 87 | [INFO] [stdout] 88 | pub fn get_live_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_suspect_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_live_nodes` and `get_suspect_nodes` are never used [INFO] [stdout] --> src/node/node_state.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 52 | impl <'a> NodeLivenessState<'a> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] 53 | pub(crate) fn get_live_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn get_suspect_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_vec` is never used [INFO] [stdout] --> src/node/node_state.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_vec(s: &HashSet) -> Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `bare_control_plain_message` and `new` are never used [INFO] [stdout] --> src/node/codec.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl InboundMessage { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 26 | [INFO] [stdout] 27 | pub(crate) fn bare_control_plain_message(from: SocketAddr, content: ControlRequest) -> InboundMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub(crate) fn new(from: SocketAddr, request: ControlRequest, rumours: Vec) -> InboundMessage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `destination` is never used [INFO] [stdout] --> src/node/codec.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl OutboundMessage { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn destination(&self) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/codec.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | panic!(format!("Bincode error: {}", msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 112 - panic!(format!("Bincode error: {}", msg)) [INFO] [stdout] 112 + panic!("Bincode error: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeState` is never constructed [INFO] [stdout] --> src/node/mill.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct NodeState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/node/codec.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | panic!(format!("Bincode error: {}", msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 112 - panic!(format!("Bincode error: {}", msg)) [INFO] [stdout] 112 + panic!("Bincode error: {}", msg) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.38s [INFO] running `Command { std: "docker" "inspect" "ad10046db81676961dc9394bb4c1e72177469a790a5939b9451afee88fc49649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad10046db81676961dc9394bb4c1e72177469a790a5939b9451afee88fc49649", kill_on_drop: false }` [INFO] [stdout] ad10046db81676961dc9394bb4c1e72177469a790a5939b9451afee88fc49649