[INFO] fetching crate sled-web 0.3.0... [INFO] checking sled-web-0.3.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate sled-web 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate sled-web 0.3.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sled-web 0.3.0 [INFO] finished tweaking crates.io crate sled-web 0.3.0 [INFO] tweaked toml for crates.io crate sled-web 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages [INFO] [stderr] Adding arrayvec v0.4.12 (latest: v0.7.4) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.6.1 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-epoch v0.7.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.6.6 (latest: v0.8.19) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding h2 v0.1.26 (latest: v0.4.4) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding historian v3.0.11 (latest: v4.0.4) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.1.0 (latest: v1.0.0) [INFO] [stderr] Adding hyper v0.12.36 (latest: v1.2.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding memoffset v0.2.1 (latest: v0.9.1) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding pagecache v0.6.0 (latest: v0.19.4) [INFO] [stderr] Adding pagetable v0.0.3 (latest: v0.4.5) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding scopeguard v0.3.3 (latest: v1.2.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding sled v0.15.21 (latest: v0.34.7) [INFO] [stderr] Adding sled_sync v0.2.2 (latest: v0.3.0) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding string v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding want v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sled v0.15.21 [INFO] [stderr] Downloaded pagecache v0.6.0 [INFO] [stderr] Downloaded sled-search v0.2.0 [INFO] [stderr] Downloaded pagetable v0.0.3 [INFO] [stderr] Downloaded historian v3.0.11 [INFO] [stderr] Downloaded sled_sync v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19b43c6fd28906b790fccde55b22364ceca28b918c03a7c20d9ce1e4421155e1 [INFO] running `Command { std: "docker" "start" "-a" "19b43c6fd28906b790fccde55b22364ceca28b918c03a7c20d9ce1e4421155e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19b43c6fd28906b790fccde55b22364ceca28b918c03a7c20d9ce1e4421155e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19b43c6fd28906b790fccde55b22364ceca28b918c03a7c20d9ce1e4421155e1", kill_on_drop: false }` [INFO] [stdout] 19b43c6fd28906b790fccde55b22364ceca28b918c03a7c20d9ce1e4421155e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3f22c551444972c45cbe7e79af88a9725a3aae28cb05de8da8ac579c30e75f5 [INFO] running `Command { std: "docker" "start" "-a" "a3f22c551444972c45cbe7e79af88a9725a3aae28cb05de8da8ac579c30e75f5", kill_on_drop: false }` [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking sled_sync v0.2.2 [INFO] [stderr] Checking pagetable v0.0.3 [INFO] [stderr] Checking historian v3.0.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking pagecache v0.6.0 [INFO] [stderr] Checking sled v0.15.21 [INFO] [stderr] Checking sled-search v0.2.0 [INFO] [stderr] Checking sled-web v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/client.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Request, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Chunk, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sled_search` is imported redundantly [INFO] [stdout] --> src/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled_search; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern crate sled_search; [INFO] [stdout] | ----------------------------- the item `sled_search` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/client.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Request, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn into_response(self, Arc) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Chunk, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sled_search` is imported redundantly [INFO] [stdout] --> src/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled_search; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern crate sled_search; [INFO] [stdout] | ----------------------------- the item `sled_search` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn into_response(self, Arc) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &StdError) -> Vec { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &dyn StdError) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &StdError) -> Vec { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &dyn StdError) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Error::Hyper(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | Error::SerdeJson(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Error::Hyper(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | Error::SerdeJson(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> examples/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sled_web::hyper; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the item `hyper` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.89s [INFO] running `Command { std: "docker" "inspect" "a3f22c551444972c45cbe7e79af88a9725a3aae28cb05de8da8ac579c30e75f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f22c551444972c45cbe7e79af88a9725a3aae28cb05de8da8ac579c30e75f5", kill_on_drop: false }` [INFO] [stdout] a3f22c551444972c45cbe7e79af88a9725a3aae28cb05de8da8ac579c30e75f5 [INFO] checking sled-web-0.3.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate sled-web 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate sled-web 0.3.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sled-web 0.3.0 [INFO] finished tweaking crates.io crate sled-web 0.3.0 [INFO] tweaked toml for crates.io crate sled-web 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2220e3abccb1fe0dda7360e452717e55d2f391d1d4e633f975786698b89d7bb7 [INFO] running `Command { std: "docker" "start" "-a" "2220e3abccb1fe0dda7360e452717e55d2f391d1d4e633f975786698b89d7bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2220e3abccb1fe0dda7360e452717e55d2f391d1d4e633f975786698b89d7bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2220e3abccb1fe0dda7360e452717e55d2f391d1d4e633f975786698b89d7bb7", kill_on_drop: false }` [INFO] [stdout] 2220e3abccb1fe0dda7360e452717e55d2f391d1d4e633f975786698b89d7bb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46c6b6747eb648d68e6de283ee1dc9872c538b807e425006228f1b90ad6dd09f [INFO] running `Command { std: "docker" "start" "-a" "46c6b6747eb648d68e6de283ee1dc9872c538b807e425006228f1b90ad6dd09f", kill_on_drop: false }` [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking sled_sync v0.2.2 [INFO] [stderr] Checking historian v3.0.11 [INFO] [stderr] Checking pagetable v0.0.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking pagecache v0.6.0 [INFO] [stderr] Checking sled v0.15.21 [INFO] [stderr] Checking sled-search v0.2.0 [INFO] [stderr] Checking sled-web v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/client.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Request, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Chunk, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sled_search` is imported redundantly [INFO] [stdout] --> src/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled_search; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern crate sled_search; [INFO] [stdout] | ----------------------------- the item `sled_search` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn into_response(self, Arc) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/client.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Request, Response, StatusCode, Uri}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/request.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/response.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern crate futures; [INFO] [stdout] | --------------------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::{self, Body, Chunk, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sled_search` is imported redundantly [INFO] [stdout] --> src/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled_search; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub extern crate sled_search; [INFO] [stdout] | ----------------------------- the item `sled_search` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/response.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn into_response(self, Arc) -> Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Arc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, Server}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &StdError) -> Vec { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &dyn StdError) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/client.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&StdError> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 211 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Error::Hyper(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | Error::SerdeJson(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub type ResponseFuture = Box, Error = hyper::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &StdError) -> Vec { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 307 | fn err_to_json_bytes(err: &dyn StdError) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 | fn db_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:328:39 [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &StdError) -> Response { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | fn deserialization_err_response(err: &dyn StdError) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | Error::Hyper(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | Error::SerdeJson(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/client.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/response.rs:163:70 [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | Err(err) => return Some(Err(Box::new(err) as Box)), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/response.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> examples/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sled_web::hyper; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the item `hyper` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.89s [INFO] running `Command { std: "docker" "inspect" "46c6b6747eb648d68e6de283ee1dc9872c538b807e425006228f1b90ad6dd09f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46c6b6747eb648d68e6de283ee1dc9872c538b807e425006228f1b90ad6dd09f", kill_on_drop: false }` [INFO] [stdout] 46c6b6747eb648d68e6de283ee1dc9872c538b807e425006228f1b90ad6dd09f