[INFO] fetching crate rain_server 0.4.0... [INFO] testing rain_server-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rain_server 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rain_server 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-uds v0.1.7 [INFO] [stderr] Downloaded sys-info v0.5.10 [INFO] [stderr] Downloaded sysconf v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3511bd6e731feb06229a5e746b45e5b5779e4cb56d49bd21b7bfb21fee2b6f2d [INFO] running `Command { std: "docker" "start" "-a" "3511bd6e731feb06229a5e746b45e5b5779e4cb56d49bd21b7bfb21fee2b6f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3511bd6e731feb06229a5e746b45e5b5779e4cb56d49bd21b7bfb21fee2b6f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3511bd6e731feb06229a5e746b45e5b5779e4cb56d49bd21b7bfb21fee2b6f2d", kill_on_drop: false }` [INFO] [stdout] 3511bd6e731feb06229a5e746b45e5b5779e4cb56d49bd21b7bfb21fee2b6f2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 807d42cf95900f3e7321037ed479c796a6fa76d70912eab96df271aed405193c [INFO] running `Command { std: "docker" "start" "-a" "807d42cf95900f3e7321037ed479c796a6fa76d70912eab96df271aed405193c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling capnp v0.8.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling libsqlite3-sys v0.9.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling serde_cbor v0.8.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling tokio-signal v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling sysconf v0.3.4 [INFO] [stderr] Compiling tokio-process v0.1.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling capnpc v0.8.9 [INFO] [stderr] Compiling capnp-futures v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling rusqlite v0.14.0 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling capnp-rpc v0.8.3 [INFO] [stderr] Compiling rain_core v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling rain_server v0.4.0 (/opt/rustwide/workdir) [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/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/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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub logger: Box, [INFO] [stdout] 54 + pub logger: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - ) -> Box> [INFO] [stdout] 84 + ) -> Box> [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - ) -> Result>> { [INFO] [stdout] 276 + ) -> Result>> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 - ) -> Box> { [INFO] [stdout] 451 + ) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 - Future, Error = Error>, [INFO] [stdout] 617 + dyn Future, Error = Error>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - type ResponseFuture = Box>; [INFO] [stdout] 34 + type ResponseFuture = Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - type Future = Box>; [INFO] [stdout] 126 + type Future = Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] 21 + pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub type TaskFuture = Future; [INFO] [stdout] 25 + pub type TaskFuture = dyn Future; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - Future, Error = Error>, [INFO] [stdout] 64 + dyn Future, Error = Error>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - ) -> Box>; [INFO] [stdout] 128 + ) -> Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - ) -> Box> { [INFO] [stdout] 199 + ) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | let mut args: Vec<&dyn (::rusqlite::types::ToSql)> = Vec::new(); [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: field is never read: `spec` [INFO] [stdout] --> src/server/graph/session.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(in super::super) spec: SessionSpec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/graph/session.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.62s [INFO] running `Command { std: "docker" "inspect" "807d42cf95900f3e7321037ed479c796a6fa76d70912eab96df271aed405193c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807d42cf95900f3e7321037ed479c796a6fa76d70912eab96df271aed405193c", kill_on_drop: false }` [INFO] [stdout] 807d42cf95900f3e7321037ed479c796a6fa76d70912eab96df271aed405193c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a02ee742ba52c11d78527e39610e257277b400bf7891903d9b703ed1bb836479 [INFO] running `Command { std: "docker" "start" "-a" "a02ee742ba52c11d78527e39610e257277b400bf7891903d9b703ed1bb836479", kill_on_drop: false }` [INFO] [stderr] Compiling rain_server v0.4.0 (/opt/rustwide/workdir) [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/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/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: 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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub logger: Box, [INFO] [stdout] 54 + pub logger: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - ) -> Box> [INFO] [stdout] 84 + ) -> Box> [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 276 - ) -> Result>> { [INFO] [stdout] 276 + ) -> Result>> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 - ) -> Box> { [INFO] [stdout] 451 + ) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 617 - Future, Error = Error>, [INFO] [stdout] 617 + dyn Future, Error = Error>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - type ResponseFuture = Box>; [INFO] [stdout] 34 + type ResponseFuture = Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - type Future = Box>; [INFO] [stdout] 126 + type Future = Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] 21 + pub fn fetch(context: FetchContext) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub type TaskFuture = Future; [INFO] [stdout] 25 + pub type TaskFuture = dyn Future; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 - Future, Error = Error>, [INFO] [stdout] 64 + dyn Future, Error = Error>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - ) -> Box>; [INFO] [stdout] 128 + ) -> Box>; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 199 - ) -> Box> { [INFO] [stdout] 199 + ) -> Box> { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 79 | let mut args: Vec<&dyn (::rusqlite::types::ToSql)> = Vec::new(); [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: field is never read: `spec` [INFO] [stdout] --> src/server/graph/session.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub(in super::super) spec: SessionSpec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/server/graph/session.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "a02ee742ba52c11d78527e39610e257277b400bf7891903d9b703ed1bb836479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02ee742ba52c11d78527e39610e257277b400bf7891903d9b703ed1bb836479", kill_on_drop: false }` [INFO] [stdout] a02ee742ba52c11d78527e39610e257277b400bf7891903d9b703ed1bb836479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1a489a273fa3a594d044edd105343dbee69f3b4b0a9f6b6accfddc5ccdf033c [INFO] running `Command { std: "docker" "start" "-a" "c1a489a273fa3a594d044edd105343dbee69f3b4b0a9f6b6accfddc5ccdf033c", kill_on_drop: false }` [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/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/governor/tasks/run.rs:86:46 [INFO] [stderr] | [INFO] [stderr] 86 | ::std::error::Error::description(&e) [INFO] [stderr] | ^^^^^^^^^^^ [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - pub logger: Box, [INFO] [stderr] 54 + pub logger: Box, [INFO] [stderr] | [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 - ) -> Box> [INFO] [stderr] 84 + ) -> Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/governor/state.rs:276:21 [INFO] [stderr] | [INFO] [stderr] 276 | ) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 276 - ) -> Result>> { [INFO] [stderr] 276 + ) -> Result>> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 451 - ) -> Box> { [INFO] [stderr] 451 + ) -> Box> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 617 - Future, Error = Error>, [INFO] [stderr] 617 + dyn Future, Error = Error>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 34 - type ResponseFuture = Box>; [INFO] [stderr] 34 + type ResponseFuture = Box>; [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 126 - type Future = Box>; [INFO] [stderr] 126 + type Future = Box>; [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - pub fn fetch(context: FetchContext) -> Box> { [INFO] [stderr] 21 + pub fn fetch(context: FetchContext) -> Box> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - pub type TaskFuture = Future; [INFO] [stderr] 25 + pub type TaskFuture = dyn Future; [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 - Future, Error = Error>, [INFO] [stderr] 64 + dyn Future, Error = Error>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 128 - ) -> Box>; [INFO] [stderr] 128 + ) -> Box>; [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 199 - ) -> Box> { [INFO] [stderr] 199 + ) -> Box> { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 79 | let mut args: Vec<&dyn (::rusqlite::types::ToSql)> = Vec::new(); [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: field is never read: `spec` [INFO] [stderr] --> src/server/graph/session.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub(in super::super) spec: SessionSpec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/server/graph/session.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rain_server` (bin "rain" test) generated 35 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rain-4a48e7660d454ba6) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test server::graph::graph::tests::graph_create_delete ... ignored [INFO] [stdout] test common::monitor::tests::test_net_stat ... ok [INFO] [stdout] test common::monitor::tests::test_mem_usage ... ok [INFO] [stdout] test common::monitor::tests::test_cpu_uasge ... 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.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c1a489a273fa3a594d044edd105343dbee69f3b4b0a9f6b6accfddc5ccdf033c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a489a273fa3a594d044edd105343dbee69f3b4b0a9f6b6accfddc5ccdf033c", kill_on_drop: false }` [INFO] [stdout] c1a489a273fa3a594d044edd105343dbee69f3b4b0a9f6b6accfddc5ccdf033c