[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] testing jelford/rumour against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelford%2Frumour" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jelford/rumour on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-2/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: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc495a06819bbb32285d1cbb5bc1ac48fd2dab753d2d8476d8e6e771cbc01145 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cc495a06819bbb32285d1cbb5bc1ac48fd2dab753d2d8476d8e6e771cbc01145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc495a06819bbb32285d1cbb5bc1ac48fd2dab753d2d8476d8e6e771cbc01145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc495a06819bbb32285d1cbb5bc1ac48fd2dab753d2d8476d8e6e771cbc01145", kill_on_drop: false }` [INFO] [stdout] cc495a06819bbb32285d1cbb5bc1ac48fd2dab753d2d8476d8e6e771cbc01145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d83559d46aff49ba2ae571ebcf2c95fb8f011714b93915304dce7032ca6fa793 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d83559d46aff49ba2ae571ebcf2c95fb8f011714b93915304dce7032ca6fa793", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.9 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling tokio-fs v0.1.4 [INFO] [stderr] Compiling tokio-tcp v0.1.2 [INFO] [stderr] Compiling tokio-uds v0.2.4 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling tokio v0.1.13 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling bincode v0.8.0 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling rumour v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_live_nodes` [INFO] [stdout] --> src/node/mill.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn get_live_nodes(&self) -> 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: `get_suspect_nodes` [INFO] [stdout] --> src/node/mill.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_suspect_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_live_nodes` [INFO] [stdout] --> src/node/node_state.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn get_live_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_suspect_nodes` [INFO] [stdout] --> src/node/node_state.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn get_suspect_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_vec` [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 function is never used: `bare_control_plain_message` [INFO] [stdout] --> src/node/codec.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn bare_control_plain_message(from: SocketAddr, content: ControlRequest) -> InboundMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/node/codec.rs:34:19 [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: associated function is never used: `destination` [INFO] [stdout] --> src/node/codec.rs:65:19 [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 112 | panic!("Bincode error: {}", msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.37s [INFO] running `Command { std: "docker" "inspect" "d83559d46aff49ba2ae571ebcf2c95fb8f011714b93915304dce7032ca6fa793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d83559d46aff49ba2ae571ebcf2c95fb8f011714b93915304dce7032ca6fa793", kill_on_drop: false }` [INFO] [stdout] d83559d46aff49ba2ae571ebcf2c95fb8f011714b93915304dce7032ca6fa793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ed54fbafa823b2fb2bf02fd4b838b284bb53dad6fe60114ec0e6f1cecc59976 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0ed54fbafa823b2fb2bf02fd4b838b284bb53dad6fe60114ec0e6f1cecc59976", kill_on_drop: false }` [INFO] [stderr] Compiling rumour v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 112 | panic!("Bincode error: {}", msg) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "0ed54fbafa823b2fb2bf02fd4b838b284bb53dad6fe60114ec0e6f1cecc59976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed54fbafa823b2fb2bf02fd4b838b284bb53dad6fe60114ec0e6f1cecc59976", kill_on_drop: false }` [INFO] [stdout] 0ed54fbafa823b2fb2bf02fd4b838b284bb53dad6fe60114ec0e6f1cecc59976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ae66a1f386e8d7afcd3e2e861e35668c1ba50752a88e2d846883315d8f16beaf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ae66a1f386e8d7afcd3e2e861e35668c1ba50752a88e2d846883315d8f16beaf", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mill.rs:49:19 [INFO] [stderr] | [INFO] [stderr] 49 | observer: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/node_state.rs:13:37 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) fn new<'a>(observer: Box) -> NodeLivenessState<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/node_state.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | observer: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RumourObserver + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | _on_node_joined: &'a Fn() -> (), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:100:24 [INFO] [stderr] | [INFO] [stderr] 100 | _on_node_dead: &'a Fn() -> (), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:104:26 [INFO] [stderr] | [INFO] [stderr] 104 | _on_node_joined: &'a Fn() -> (), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | _on_node_dead: &'a Fn() -> (), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> ()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:133:58 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn on_node_joined(mut self, joined_callback: &'a Fn() ->()) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/node/mod.rs:138:54 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn on_node_dead(mut self, dead_callback: &'a Fn() ->()) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Fn() ->()` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/errors.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / error_chain! { [INFO] [stderr] 3 | | errors { [INFO] [stderr] 4 | | BadPortSpecified { [INFO] [stderr] 5 | | description("Bad port specified") [INFO] [stderr] ... | [INFO] [stderr] 17 | | } [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/errors.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / error_chain! { [INFO] [stderr] 3 | | errors { [INFO] [stderr] 4 | | BadPortSpecified { [INFO] [stderr] 5 | | description("Bad port specified") [INFO] [stderr] ... | [INFO] [stderr] 17 | | } [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/node/codec.rs:112:32 [INFO] [stderr] | [INFO] [stderr] 112 | panic!(format!("Bincode error: {}", msg)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 112 | panic!("Bincode error: {}", msg) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rumour-4f4b5abcd57a4f02) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test node::gossip::test::if_i_tell_it_a_rumour_then_i_can_retreive_that ... ok [INFO] [stdout] test node::gossip::test::hearing_something_weve_heard_before_is_not_remembered ... ok [INFO] [stdout] test node::gossip::test::initially_no_rumours ... ok [INFO] [stdout] test node::mill::tests::adds_joined_node_to_active_list_right_away ... ok [INFO] [stdout] test node::mill::tests::do_join_schedules_a_health_check_timeout ... ok [INFO] [stdout] test node::mill::tests::acks_join_requests_with_any_known_nodes ... ok [INFO] [stdout] test node::mill::tests::do_join_sends_join_messages_to_known_nodes ... ok [INFO] [stdout] test node::mill::tests::after_node_has_been_suspect_on_timeout_remove_from_live_set ... ok [INFO] [stdout] test node::mill::tests::node_can_pick_up_peer_join_through_control_plane_gossip ... ok [INFO] [stdout] test node::mill::tests::remote_nodes_marked_live_when_join_ack_received ... ok [INFO] [stdout] test node::mill::tests::shows_self_as_active_from_the_start ... ok [INFO] [stdout] test node::mill::tests::observer_received_node_lifecycle_events ... ok [INFO] [stdout] test node::mill::tests::when_node_doesnt_respond_to_ping_then_ping_req_sent ... ok [INFO] [stdout] test node::mill::tests::once_node_is_dead_stop_gossipping_that_it_has_joined ... ok [INFO] [stdout] test node::mill::tests::health_check_pings_some_known_nodes ... ok [INFO] [stdout] test node::gossip::test::eventually_stops_spreaing_a_rumour ... ok [INFO] [stdout] test node::mill::tests::if_no_peers_then_failed_ping_still_results_in_node_suspected ... ok [INFO] [stdout] test node::mill::tests::when_node_doesnt_respond_to_ping_or_ping_req_then_marked_as_suspect ... ok [INFO] [stdout] test node::mill::tests::responds_to_ping ... ok [INFO] [stdout] test node::mill::tests::when_node_responds_to_ping_then_it_remains_healthy ... ok [INFO] [stdout] test node::mill::tests::other_nodes_will_hear_about_membership_through_control_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ae66a1f386e8d7afcd3e2e861e35668c1ba50752a88e2d846883315d8f16beaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae66a1f386e8d7afcd3e2e861e35668c1ba50752a88e2d846883315d8f16beaf", kill_on_drop: false }` [INFO] [stdout] ae66a1f386e8d7afcd3e2e861e35668c1ba50752a88e2d846883315d8f16beaf