[INFO] fetching crate htrpc 0.0.17... [INFO] checking htrpc-0.0.17 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate htrpc 0.0.17 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate htrpc 0.0.17 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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 serdeconv v0.3.0 [INFO] [stderr] Downloaded miasht v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bee03fd948a099a6e12ba8496dc69d6ca4d2b9fa94762f056ff10d7b056641b [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" "7bee03fd948a099a6e12ba8496dc69d6ca4d2b9fa94762f056ff10d7b056641b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bee03fd948a099a6e12ba8496dc69d6ca4d2b9fa94762f056ff10d7b056641b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bee03fd948a099a6e12ba8496dc69d6ca4d2b9fa94762f056ff10d7b056641b", kill_on_drop: false }` [INFO] [stdout] 7bee03fd948a099a6e12ba8496dc69d6ca4d2b9fa94762f056ff10d7b056641b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0bd1ae1b1823b8f944b8be2d232952d5b14ad981e86cf9e920323f7c2aca67b [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" "c0bd1ae1b1823b8f944b8be2d232952d5b14ad981e86cf9e920323f7c2aca67b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking nbchan v0.1.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking splay_tree v0.2.10 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking handy_async v0.2.13 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking fibers v0.1.13 [INFO] [stderr] Checking rmp-serde v0.13.7 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Compiling trackable_derive v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking trackable v0.2.23 [INFO] [stderr] Checking miasht v0.0.5 [INFO] [stderr] Checking serdeconv v0.3.0 [INFO] [stderr] Checking htrpc v0.0.17 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Url, Request) -> HandleHttpRequestResult + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::Future + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Url, Request) -> HandleHttpRequestResult + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn AsRef<[u8]> + Send + 'static` [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: 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: 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: 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: 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 38.15s [INFO] running `Command { std: "docker" "inspect" "c0bd1ae1b1823b8f944b8be2d232952d5b14ad981e86cf9e920323f7c2aca67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0bd1ae1b1823b8f944b8be2d232952d5b14ad981e86cf9e920323f7c2aca67b", kill_on_drop: false }` [INFO] [stdout] c0bd1ae1b1823b8f944b8be2d232952d5b14ad981e86cf9e920323f7c2aca67b