[INFO] fetching crate rain_server 0.4.0... [INFO] testing rain_server-0.4.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate rain_server 0.4.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate rain_server 0.4.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rain_server 0.4.0 [INFO] finished tweaking crates.io crate rain_server 0.4.0 [INFO] tweaked toml for crates.io crate rain_server 0.4.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded sysconf v0.3.4 [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] [stderr] Downloaded relay v0.1.1 [INFO] [stderr] Downloaded hyper v0.11.27 [INFO] [stderr] Downloaded tokio-signal v0.1.5 [INFO] [stderr] Downloaded tokio-process v0.1.6 [INFO] [stderr] Downloaded try-lock v0.1.0 [INFO] [stderr] Downloaded sys-info v0.5.10 [INFO] [stderr] Downloaded want v0.0.4 [INFO] [stderr] Downloaded tokio-uds v0.1.7 [INFO] [stderr] Downloaded tokio-service v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104b95d8e9e34ea78dfe53e34eaf4826bdcd22cbc43de5f41424138ad38f7844 [INFO] running `Command { std: "docker" "start" "-a" "104b95d8e9e34ea78dfe53e34eaf4826bdcd22cbc43de5f41424138ad38f7844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104b95d8e9e34ea78dfe53e34eaf4826bdcd22cbc43de5f41424138ad38f7844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104b95d8e9e34ea78dfe53e34eaf4826bdcd22cbc43de5f41424138ad38f7844", kill_on_drop: false }` [INFO] [stdout] 104b95d8e9e34ea78dfe53e34eaf4826bdcd22cbc43de5f41424138ad38f7844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6c181e0a32bc387b9e4ae02bd762e67db089325b7619de911703f353abd731a [INFO] running `Command { std: "docker" "start" "-a" "f6c181e0a32bc387b9e4ae02bd762e67db089325b7619de911703f353abd731a", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling capnp v0.8.17 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling serde_cbor v0.8.2 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tokio-signal v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling tokio-process v0.1.6 [INFO] [stderr] Compiling sysconf v0.3.4 [INFO] [stderr] Compiling capnpc v0.8.9 [INFO] [stderr] Compiling capnp-futures v0.1.1 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling capnp-rpc v0.8.3 [INFO] [stderr] Compiling rain_core v0.4.0 [INFO] [stderr] Compiling rain_server v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common/connection.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/rpc/fetch.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:451:14 [INFO] [stdout] | [INFO] [stdout] 451 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | Future, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/tasks/instance.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub type TaskFuture = Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/graph/governor.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | Future, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/http.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/http.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/logger.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/sqlite_logger.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut args: Vec<&::rusqlite::types::ToSql> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::rusqlite::types::ToSql)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/sqlite_logger.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/state.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub logger: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_protocol_stream(stream: S) -> Framed [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | stream: Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from(stream: Framed) -> Self { [INFO] [stdout] | ^^^^^^ [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/governor/state.rs:324:54 [INFO] [stdout] | [INFO] [stdout] 324 | ... ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/governor/state.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | ... ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/governor/tasks/run.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/start/starter.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/start/process.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [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/start/ssh.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stdout] | ^^^^^^^^^^^ [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/start/ssh.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:223:60 [INFO] [stdout] | [INFO] [stdout] 223 | error!("Reading config file failed: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | error!("Autoconf failed: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | error!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/governor/state.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let mut object = object.get_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/governor/state.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let mut task = task.get_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/scheduler.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut t = tref.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/scheduler.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut t = tref.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.24s [INFO] running `Command { std: "docker" "inspect" "f6c181e0a32bc387b9e4ae02bd762e67db089325b7619de911703f353abd731a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c181e0a32bc387b9e4ae02bd762e67db089325b7619de911703f353abd731a", kill_on_drop: false }` [INFO] [stdout] f6c181e0a32bc387b9e4ae02bd762e67db089325b7619de911703f353abd731a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa899027fe4eb2787743292864d3b043d4e2afe4cef495f6397c471455a1c0f [INFO] running `Command { std: "docker" "start" "-a" "3aa899027fe4eb2787743292864d3b043d4e2afe4cef495f6397c471455a1c0f", kill_on_drop: false }` [INFO] [stderr] Compiling rain_server v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common/connection.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/rpc/fetch.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | ) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:451:14 [INFO] [stdout] | [INFO] [stdout] 451 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/state.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | Future, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/governor/tasks/instance.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub type TaskFuture = Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/graph/governor.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | Future, Error = Error>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/http.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | type ResponseFuture = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/http.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/logger.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/sqlite_logger.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | let mut args: Vec<&::rusqlite::types::ToSql> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::rusqlite::types::ToSql)` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/logging/sqlite_logger.rs:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server/state.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | pub logger: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_protocol_stream(stream: S) -> Framed [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Builder::new() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | stream: Framed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/common/connection.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from(stream: Framed) -> Self { [INFO] [stdout] | ^^^^^^ [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/governor/state.rs:324:54 [INFO] [stdout] | [INFO] [stdout] 324 | ... ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/governor/state.rs:330:54 [INFO] [stdout] | [INFO] [stdout] 330 | ... ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/governor/tasks/run.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/start/starter.rs:98:34 [INFO] [stdout] | [INFO] [stdout] 98 | ::std::error::Error::description(&e) [INFO] [stdout] | ^^^^^^^^^^^ [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/start/process.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [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/start/ssh.rs:43:65 [INFO] [stdout] | [INFO] [stdout] 43 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stdout] | ^^^^^^^^^^^ [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/start/ssh.rs:66:65 [INFO] [stdout] | [INFO] [stdout] 66 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:223:60 [INFO] [stdout] | [INFO] [stdout] 223 | error!("Reading config file failed: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | error!("Autoconf failed: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:409:28 [INFO] [stdout] | [INFO] [stdout] 409 | error!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/governor/state.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let mut object = object.get_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/governor/state.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | let mut task = task.get_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/scheduler.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | let mut t = tref.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/scheduler.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut t = tref.get_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.59s [INFO] running `Command { std: "docker" "inspect" "3aa899027fe4eb2787743292864d3b043d4e2afe4cef495f6397c471455a1c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa899027fe4eb2787743292864d3b043d4e2afe4cef495f6397c471455a1c0f", kill_on_drop: false }` [INFO] [stdout] 3aa899027fe4eb2787743292864d3b043d4e2afe4cef495f6397c471455a1c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4977a2cc77c70554d20b6833340b783b9f3d6fd6e397f2fbcf8cffd26f629cd9 [INFO] running `Command { std: "docker" "start" "-a" "4977a2cc77c70554d20b6833340b783b9f3d6fd6e397f2fbcf8cffd26f629cd9", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/common/connection.rs:84:14 [INFO] [stderr] | [INFO] [stderr] 84 | ) -> Box> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/governor/rpc/fetch.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn fetch(context: FetchContext) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 6 tests [INFO] [stderr] --> src/governor/state.rs:276:21 [INFO] [stdout] test server::graph::graph::tests::graph_create_delete ... ignored [INFO] [stderr] | [INFO] [stdout] test common::monitor::tests::test_cpu_uasge ... ok [INFO] [stderr] 276 | ) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/governor/state.rs:451:14 [INFO] [stderr] | [INFO] [stderr] 451 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/governor/state.rs:617:9 [INFO] [stderr] | [INFO] [stderr] 617 | Future, Error = Error>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/governor/tasks/instance.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | pub type TaskFuture = Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/graph/governor.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | Future, Error = Error>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Error>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/http.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | type ResponseFuture = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/http.rs:126:23 [INFO] [stderr] | [INFO] [stderr] 126 | type Future = Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/logging/logger.rs:128:14 [INFO] [stderr] | [INFO] [stderr] 128 | ) -> Box>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/logging/sqlite_logger.rs:79:24 [INFO] [stderr] | [INFO] [stderr] 79 | let mut args: Vec<&::rusqlite::types::ToSql> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::rusqlite::types::ToSql)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/logging/sqlite_logger.rs:199:14 [INFO] [stderr] | [INFO] [stderr] 199 | ) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server/state.rs:54:21 [INFO] [stderr] | [INFO] [stderr] 54 | pub logger: Box, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:3:41 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio_io::codec::length_delimited::{Builder, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:22:48 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn create_protocol_stream(stream: S) -> Framed [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Builder`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | Builder::new() [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | stream: Framed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_io::codec::length_delimited::Framed`: Moved to tokio-codec [INFO] [stderr] --> src/common/connection.rs:45:25 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn from(stream: Framed) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/governor/state.rs:324:54 [INFO] [stderr] | [INFO] [stderr] 324 | ... ::std::error::Error::description(&e) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/governor/state.rs:330:54 [INFO] [stderr] | [INFO] [stderr] 330 | ... ::std::error::Error::description(&e) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/governor/tasks/run.rs:86:46 [INFO] [stderr] | [INFO] [stderr] 86 | ::std::error::Error::description(&e) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/start/starter.rs:98:34 [INFO] [stderr] | [INFO] [stderr] 98 | ::std::error::Error::description(&e) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/start/process.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/start/ssh.rs:43:65 [INFO] [stderr] | [INFO] [stderr] 43 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/start/ssh.rs:66:65 [INFO] [stderr] | [INFO] [stderr] 66 | .map_err(|e| format!("Start of 'ssh' failed: {}", e.description()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:163:19 [INFO] [stderr] | [INFO] [stderr] 163 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:223:60 [INFO] [stderr] | [INFO] [stderr] 223 | error!("Reading config file failed: {}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:398:41 [INFO] [stderr] | [INFO] [stderr] 398 | error!("Autoconf failed: {}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:409:28 [INFO] [stderr] | [INFO] [stderr] 409 | error!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/governor/state.rs:213:21 [INFO] [stderr] | [INFO] [stderr] 213 | let mut object = object.get_mut(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/governor/state.rs:245:21 [INFO] [stderr] | [INFO] [stderr] 245 | let mut task = task.get_mut(); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/server/scheduler.rs:136:17 [INFO] [stderr] | [INFO] [stderr] 136 | let mut t = tref.get_mut(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/server/scheduler.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | let mut t = tref.get_mut(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `rain_server` (bin "rain" test) generated 34 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rain-228351b71a558000) [INFO] [stdout] test common::monitor::tests::test_net_stat ... ok [INFO] [stdout] test common::monitor::tests::test_mem_usage ... ok [INFO] [stdout] test server::logging::sqlite_logger::tests::test_add_event ... ok [INFO] [stdout] test server::logging::sqlite_logger::tests::test_flush_events ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4977a2cc77c70554d20b6833340b783b9f3d6fd6e397f2fbcf8cffd26f629cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4977a2cc77c70554d20b6833340b783b9f3d6fd6e397f2fbcf8cffd26f629cd9", kill_on_drop: false }` [INFO] [stdout] 4977a2cc77c70554d20b6833340b783b9f3d6fd6e397f2fbcf8cffd26f629cd9