[INFO] fetching crate htrpc 0.0.17... [INFO] testing htrpc-0.0.17 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate htrpc 0.0.17 into /workspace/builds/worker-94/source [INFO] validating manifest of crates.io crate htrpc 0.0.17 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate htrpc 0.0.17 [INFO] finished tweaking crates.io crate htrpc 0.0.17 [INFO] tweaked toml for crates.io crate htrpc 0.0.17 written to /workspace/builds/worker-94/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serdeconv v0.3.0 [INFO] [stderr] Downloaded rmp-serde v0.13.7 [INFO] [stderr] Downloaded handy_async v0.2.13 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded nbchan v0.1.3 [INFO] [stderr] Downloaded splay_tree v0.2.10 [INFO] [stderr] Downloaded url_serde v0.2.0 [INFO] [stderr] Downloaded fibers v0.1.13 [INFO] [stderr] Downloaded rmp v0.8.10 [INFO] [stderr] Downloaded miasht v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 269fd11c4186f1a8ba05363b3f054a1e61dee715d56639199f50c62a7ee34449 [INFO] running `Command { std: "docker" "start" "-a" "269fd11c4186f1a8ba05363b3f054a1e61dee715d56639199f50c62a7ee34449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "269fd11c4186f1a8ba05363b3f054a1e61dee715d56639199f50c62a7ee34449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269fd11c4186f1a8ba05363b3f054a1e61dee715d56639199f50c62a7ee34449", kill_on_drop: false }` [INFO] [stdout] 269fd11c4186f1a8ba05363b3f054a1e61dee715d56639199f50c62a7ee34449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7967b07fc3f33eb099b0029a76b0954a0906d530631dc706a1626c156948c69 [INFO] running `Command { std: "docker" "start" "-a" "d7967b07fc3f33eb099b0029a76b0954a0906d530631dc706a1626c156948c69", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling splay_tree v0.2.10 [INFO] [stderr] Compiling nbchan v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rmp-serde v0.13.7 [INFO] [stderr] Compiling handy_async v0.2.13 [INFO] [stderr] Compiling fibers v0.1.13 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling trackable v1.2.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling miasht v0.0.5 [INFO] [stderr] Compiling serdeconv v0.3.0 [INFO] [stderr] Compiling htrpc v0.0.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `IntoDeserializer` is imported redundantly [INFO] [stdout] --> src/deserializers/rpc_response.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, IntoDeserializer, Visitor}; [INFO] [stdout] | ---------------- the item `IntoDeserializer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 277 | use serde::de::IntoDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `derive_traits_for_trackable_error_newtype`: please use `#[derive(TrackableError)]` instead [INFO] [stdout] --> src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | derive_traits_for_trackable_error_newtype!(Error, ErrorKind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub type ReadBody = Box + Send + 'static>; [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] 37 - pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] 37 + pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxFuture = Box + Send + 'static>; [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] 17 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 17 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Box) -> HandleHttpRequestResult + Send + 'static>; [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] 18 - Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] 18 + Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | | + Send [INFO] [stdout] 15 | | + 'static, [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] 13 ~ dyn Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | + Send [INFO] [stdout] 15 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | Future, Box + Send + 'static>), 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] 13 - Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 13 + Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | type BoxFuture = Box + Send + 'static>; [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 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 25 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | BoxFuture<(Response, Box + Send + 'static>), 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] 178 - BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] 178 + BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | struct Temp(Box + Send + 'static>); [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] 259 - struct Temp(Box + Send + 'static>); [INFO] [stdout] 259 + struct Temp(Box + Send + 'static>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rfc7807.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn body(&mut self) -> Box + Send + 'static> { [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] 45 - fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] 45 + fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/procedure.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | fn body(&mut self) -> Box + Send + 'static>; [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] 54 - fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] 54 + fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result<(Response, Box + Send + 'static>)> [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 - ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] 25 + ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result<(Response, Box + Send + 'static>)> { [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] 47 - ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] 47 + ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | body: Box + Send + 'static>, [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] 46 - body: Box + Send + 'static>, [INFO] [stdout] 46 + body: Box + Send + 'static>, [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/rfc7807.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | title: error.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/rfc7807.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | detail: error.cause().map(|c| c.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/server.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.37s [INFO] running `Command { std: "docker" "inspect" "d7967b07fc3f33eb099b0029a76b0954a0906d530631dc706a1626c156948c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7967b07fc3f33eb099b0029a76b0954a0906d530631dc706a1626c156948c69", kill_on_drop: false }` [INFO] [stdout] d7967b07fc3f33eb099b0029a76b0954a0906d530631dc706a1626c156948c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86af145a9fb0545b84a6d2d1919fc39a6ed20c20c13fafc5909da78db36e7a24 [INFO] running `Command { std: "docker" "start" "-a" "86af145a9fb0545b84a6d2d1919fc39a6ed20c20c13fafc5909da78db36e7a24", kill_on_drop: false }` [INFO] [stdout] warning: the item `IntoDeserializer` is imported redundantly [INFO] [stdout] --> src/deserializers/rpc_response.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, IntoDeserializer, Visitor}; [INFO] [stdout] | ---------------- the item `IntoDeserializer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 277 | use serde::de::IntoDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `derive_traits_for_trackable_error_newtype`: please use `#[derive(TrackableError)]` instead [INFO] [stdout] --> src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | derive_traits_for_trackable_error_newtype!(Error, ErrorKind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub type ReadBody = Box + Send + 'static>; [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] 37 - pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] 37 + pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxFuture = Box + Send + 'static>; [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] 17 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 17 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Box) -> HandleHttpRequestResult + Send + 'static>; [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] 18 - Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] 18 + Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | | + Send [INFO] [stdout] 15 | | + 'static, [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] 13 ~ dyn Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | + Send [INFO] [stdout] 15 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | Future, Box + Send + 'static>), 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] 13 - Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 13 + Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | type BoxFuture = Box + Send + 'static>; [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 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 25 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | BoxFuture<(Response, Box + Send + 'static>), 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] 178 - BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] 178 + BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | struct Temp(Box + Send + 'static>); [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] 259 - struct Temp(Box + Send + 'static>); [INFO] [stdout] 259 + struct Temp(Box + Send + 'static>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rfc7807.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn body(&mut self) -> Box + Send + 'static> { [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] 45 - fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] 45 + fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/procedure.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | fn body(&mut self) -> Box + Send + 'static>; [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] 54 - fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] 54 + fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling htrpc v0.0.17 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result<(Response, Box + Send + 'static>)> [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 - ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] 25 + ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result<(Response, Box + Send + 'static>)> { [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] 47 - ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] 47 + ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | body: Box + Send + 'static>, [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] 46 - body: Box + Send + 'static>, [INFO] [stdout] 46 + body: Box + Send + 'static>, [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/rfc7807.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | title: error.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/rfc7807.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | detail: error.cause().map(|c| c.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/server.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoDeserializer` is imported redundantly [INFO] [stdout] --> src/deserializers/rpc_response.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::{self, IntoDeserializer, Visitor}; [INFO] [stdout] | ---------------- the item `IntoDeserializer` is already imported here [INFO] [stdout] ... [INFO] [stdout] 277 | use serde::de::IntoDeserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `derive_traits_for_trackable_error_newtype`: please use `#[derive(TrackableError)]` instead [INFO] [stdout] --> src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | derive_traits_for_trackable_error_newtype!(Error, ErrorKind); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/misc.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | static START: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | pub type ReadBody = Box + Send + 'static>; [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] 37 - pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] 37 + pub type ReadBody = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | type BoxFuture = Box + Send + 'static>; [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] 17 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 17 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Box) -> HandleHttpRequestResult + Send + 'static>; [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] 18 - Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] 18 + Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | | + Send [INFO] [stdout] 15 | | + 'static, [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] 13 ~ dyn Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 14 | + Send [INFO] [stdout] 15 ~ + 'static, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/router.rs:13:45 [INFO] [stdout] | [INFO] [stdout] 13 | Future, Box + Send + 'static>), 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] 13 - Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] 13 + Future, Box + Send + 'static>), Error = Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | type BoxFuture = Box + Send + 'static>; [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 - type BoxFuture = Box + Send + 'static>; [INFO] [stdout] 25 + type BoxFuture = Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | BoxFuture<(Response, Box + Send + 'static>), 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] 178 - BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] 178 + BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:259:41 [INFO] [stdout] | [INFO] [stdout] 259 | struct Temp(Box + Send + 'static>); [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] 259 - struct Temp(Box + Send + 'static>); [INFO] [stdout] 259 + struct Temp(Box + Send + 'static>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rfc7807.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | fn body(&mut self) -> Box + Send + 'static> { [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] 45 - fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] 45 + fn body(&mut self) -> Box + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/procedure.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | fn body(&mut self) -> Box + Send + 'static>; [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] 54 - fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] 54 + fn body(&mut self) -> Box + Send + 'static>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result<(Response, Box + Send + 'static>)> [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 - ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] 25 + ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | ) -> Result<(Response, Box + Send + 'static>)> { [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] 47 - ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] 47 + ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serializers/rpc_response.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | body: Box + Send + 'static>, [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] 46 - body: Box + Send + 'static>, [INFO] [stdout] 46 + body: Box + Send + 'static>, [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/rfc7807.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | title: error.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/rfc7807.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | detail: error.cause().map(|c| c.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/server.rs:151:25 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.57s [INFO] running `Command { std: "docker" "inspect" "86af145a9fb0545b84a6d2d1919fc39a6ed20c20c13fafc5909da78db36e7a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86af145a9fb0545b84a6d2d1919fc39a6ed20c20c13fafc5909da78db36e7a24", kill_on_drop: false }` [INFO] [stdout] 86af145a9fb0545b84a6d2d1919fc39a6ed20c20c13fafc5909da78db36e7a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-94/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b59986a8331487847098308274ce62b6a342b8a9a296c9e03926f153fb3d2839 [INFO] running `Command { std: "docker" "start" "-a" "b59986a8331487847098308274ce62b6a342b8a9a296c9e03926f153fb3d2839", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: the item `IntoDeserializer` is imported redundantly [INFO] [stderr] --> src/deserializers/rpc_response.rs:277:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::de::{self, IntoDeserializer, Visitor}; [INFO] [stderr] | ---------------- the item `IntoDeserializer` is already imported here [INFO] [stderr] ... [INFO] [stderr] 277 | use serde::de::IntoDeserializer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `derive_traits_for_trackable_error_newtype`: please use `#[derive(TrackableError)]` instead [INFO] [stderr] --> src/error.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | derive_traits_for_trackable_error_newtype!(Error, ErrorKind); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/misc.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/misc.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | static START: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:37:28 [INFO] [stderr] | [INFO] [stderr] 37 | pub type ReadBody = Box + Send + 'static>; [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] 37 - pub type ReadBody = Box + Send + 'static>; [INFO] [stderr] 37 + pub type ReadBody = Box + Send + 'static>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/client.rs:17:28 [INFO] [stderr] | [INFO] [stderr] 17 | type BoxFuture = Box + Send + 'static>; [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] 17 - type BoxFuture = Box + Send + 'static>; [INFO] [stderr] 17 + type BoxFuture = Box + Send + 'static>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Box) -> HandleHttpRequestResult + Send + 'static>; [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] 18 - Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stderr] 18 + Box) -> HandleHttpRequestResult + Send + 'static>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / Future, Box + Send + 'static>), Error = Error> [INFO] [stderr] 14 | | + Send [INFO] [stderr] 15 | | + 'static, [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] 13 ~ dyn Future, Box + Send + 'static>), Error = Error> [INFO] [stderr] 14 | + Send [INFO] [stderr] 15 ~ + 'static, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/router.rs:13:45 [INFO] [stderr] | [INFO] [stderr] 13 | Future, Box + Send + 'static>), 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] 13 - Future, Box + Send + 'static>), Error = Error> [INFO] [stderr] 13 + Future, Box + Send + 'static>), Error = Error> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | type BoxFuture = Box + Send + 'static>; [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 - type BoxFuture = Box + Send + 'static>; [INFO] [stderr] 25 + type BoxFuture = Box + Send + 'static>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:178:45 [INFO] [stderr] | [INFO] [stderr] 178 | BoxFuture<(Response, Box + Send + 'static>), 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] 178 - BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stderr] 178 + BoxFuture<(Response, Box + Send + 'static>), Error>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:259:41 [INFO] [stderr] | [INFO] [stderr] 259 | struct Temp(Box + Send + 'static>); [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] 259 - struct Temp(Box + Send + 'static>); [INFO] [stderr] 259 + struct Temp(Box + Send + 'static>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rfc7807.rs:45:31 [INFO] [stderr] | [INFO] [stderr] 45 | fn body(&mut self) -> Box + Send + 'static> { [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] 45 - fn body(&mut self) -> Box + Send + 'static> { [INFO] [stderr] 45 + fn body(&mut self) -> Box + Send + 'static> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/procedure.rs:54:31 [INFO] [stderr] | [INFO] [stderr] 54 | fn body(&mut self) -> Box + Send + 'static>; [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] 54 - fn body(&mut self) -> Box + Send + 'static>; [INFO] [stderr] 54 + fn body(&mut self) -> Box + Send + 'static>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serializers/rpc_response.rs:25:43 [INFO] [stderr] | [INFO] [stderr] 25 | ) -> Result<(Response, Box + Send + 'static>)> [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 - ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stderr] 25 + ) -> Result<(Response, Box + Send + 'static>)> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serializers/rpc_response.rs:47:43 [INFO] [stderr] | [INFO] [stderr] 47 | ) -> Result<(Response, Box + Send + 'static>)> { [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] 47 - ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stderr] 47 + ) -> Result<(Response, Box + Send + 'static>)> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/serializers/rpc_response.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | body: Box + Send + 'static>, [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] 46 - body: Box + Send + 'static>, [INFO] [stderr] 46 + body: Box + Send + 'static>, [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/rfc7807.rs:230:26 [INFO] [stderr] | [INFO] [stderr] 230 | title: error.description().to_string(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/rfc7807.rs:232:27 [INFO] [stderr] | [INFO] [stderr] 232 | detail: error.cause().map(|c| c.to_string()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/server.rs:151:25 [INFO] [stderr] | [INFO] [stderr] 151 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `htrpc` (lib) generated 20 warnings [INFO] [stderr] warning: `htrpc` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/htrpc-c7469ff6192e9619) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test deserializers::url_path::test::it_works ... ok [INFO] [stdout] test deserializers::url_query::test::struct_works ... ok [INFO] [stdout] test procedure::test::it_works ... ok [INFO] [stdout] test serializers::url_query::test::map_works ... ok [INFO] [stdout] test serializers::url_path::test::it_works ... ok [INFO] [stdout] test serializers::url_query::test::struct_variant_works ... ok [INFO] [stdout] test serializers::url_query::test::struct_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests htrpc [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/procedure.rs - procedure::EntryPoint::new (line 72) ... ok [INFO] [stdout] test src/rfc7807.rs - rfc7807::Problem (line 95) ... ok [INFO] [stdout] test src/rfc7807.rs - rfc7807::Problem (line 75) ... ok [INFO] [stdout] test src/lib.rs - htrpc_entry_point (line 48) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b59986a8331487847098308274ce62b6a342b8a9a296c9e03926f153fb3d2839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b59986a8331487847098308274ce62b6a342b8a9a296c9e03926f153fb3d2839", kill_on_drop: false }` [INFO] [stdout] b59986a8331487847098308274ce62b6a342b8a9a296c9e03926f153fb3d2839