[INFO] fetching crate htrpc 0.0.17... [INFO] testing htrpc-0.0.17 against 1.60.0 for beta-1.61-1 [INFO] extracting crate htrpc 0.0.17 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate htrpc 0.0.17 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 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-0/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 rmp v0.8.10 [INFO] [stderr] Downloaded splay_tree v0.2.10 [INFO] [stderr] Downloaded nbchan v0.1.3 [INFO] [stderr] Downloaded fibers v0.1.13 [INFO] [stderr] Downloaded handy_async v0.2.13 [INFO] [stderr] Downloaded rmp-serde v0.13.7 [INFO] [stderr] Downloaded serdeconv v0.3.0 [INFO] [stderr] Downloaded url_serde v0.2.0 [INFO] [stderr] Downloaded miasht v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0c1670d61c27120af3a815dad41ed38e4d2a7f4b1353e10644f38b07bed69010 [INFO] running `Command { std: "docker" "start" "-a" "0c1670d61c27120af3a815dad41ed38e4d2a7f4b1353e10644f38b07bed69010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c1670d61c27120af3a815dad41ed38e4d2a7f4b1353e10644f38b07bed69010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1670d61c27120af3a815dad41ed38e4d2a7f4b1353e10644f38b07bed69010", kill_on_drop: false }` [INFO] [stdout] 0c1670d61c27120af3a815dad41ed38e4d2a7f4b1353e10644f38b07bed69010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b46e4b76eb952055af8096e7a23db17f8d8d0883d344e4e5ad3d1b34395f401 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2b46e4b76eb952055af8096e7a23db17f8d8d0883d344e4e5ad3d1b34395f401", kill_on_drop: false }` [INFO] [stderr] Compiling handy_async v0.2.13 [INFO] [stderr] Compiling rmp-serde v0.13.7 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling trackable v1.2.0 [INFO] [stderr] Compiling trackable v0.2.24 [INFO] [stderr] Compiling serdeconv v0.3.0 [INFO] [stderr] Compiling miasht v0.0.5 [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 10.69s [INFO] running `Command { std: "docker" "inspect" "2b46e4b76eb952055af8096e7a23db17f8d8d0883d344e4e5ad3d1b34395f401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b46e4b76eb952055af8096e7a23db17f8d8d0883d344e4e5ad3d1b34395f401", kill_on_drop: false }` [INFO] [stdout] 2b46e4b76eb952055af8096e7a23db17f8d8d0883d344e4e5ad3d1b34395f401 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 79aa9729eb50ef99688454c01b43356cda47062775823a8981bb04bd6146f0bf [INFO] running `Command { std: "docker" "start" "-a" "79aa9729eb50ef99688454c01b43356cda47062775823a8981bb04bd6146f0bf", 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] [stderr] Compiling htrpc v0.0.17 (/opt/rustwide/workdir) [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] [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 6.32s [INFO] running `Command { std: "docker" "inspect" "79aa9729eb50ef99688454c01b43356cda47062775823a8981bb04bd6146f0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79aa9729eb50ef99688454c01b43356cda47062775823a8981bb04bd6146f0bf", kill_on_drop: false }` [INFO] [stdout] 79aa9729eb50ef99688454c01b43356cda47062775823a8981bb04bd6146f0bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c390528a814832d3aef8f58ab0ed8079146abccf85f585cb0ae78307f33523eb [INFO] running `Command { std: "docker" "start" "-a" "c390528a814832d3aef8f58ab0ed8079146abccf85f585cb0ae78307f33523eb", kill_on_drop: false }` [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.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/htrpc-b0ac0443a00d9f9b) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stderr] Doc-tests htrpc [INFO] [stdout] test deserializers::url_path::test::it_works ... ok [INFO] [stdout] test deserializers::url_query::test::struct_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::map_works ... ok [INFO] [stdout] test serializers::url_query::test::struct_works ... ok [INFO] [stdout] test procedure::test::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/procedure.rs - procedure::EntryPoint::new (line 72) ... ok [INFO] [stdout] test src/lib.rs - htrpc_entry_point (line 48) ... 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] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c390528a814832d3aef8f58ab0ed8079146abccf85f585cb0ae78307f33523eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c390528a814832d3aef8f58ab0ed8079146abccf85f585cb0ae78307f33523eb", kill_on_drop: false }` [INFO] [stdout] c390528a814832d3aef8f58ab0ed8079146abccf85f585cb0ae78307f33523eb