[INFO] fetching crate cratedb 1.1.0... [INFO] checking cratedb-1.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate cratedb 1.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cratedb 1.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cratedb 1.1.0 [INFO] finished tweaking crates.io crate cratedb 1.1.0 [INFO] tweaked toml for crates.io crate cratedb 1.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.0) [INFO] [stderr] Adding hex v0.2.0 (latest: v0.4.3) [INFO] [stderr] Adding hyper v0.10.16 (latest: v1.2.0) [INFO] [stderr] Adding hyper-rustls v0.6.2 (latest: v0.27.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding language-tags v0.2.2 (latest: v0.3.2) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding mime v0.2.6 (latest: v0.3.17) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding ring v0.13.5 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.13.1 (latest: v0.23.4) [INFO] [stderr] Adding sct v0.4.0 (latest: v0.7.1) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding unicase v1.4.2 (latest: v2.7.0) [INFO] [stderr] Adding untrusted v0.6.2 (latest: v0.9.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding webpki v0.18.1 (latest: v0.22.4) [INFO] [stderr] Adding webpki-roots v0.15.0 (latest: v0.26.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded rustls v0.13.1 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded webpki v0.18.1 [INFO] [stderr] Downloaded webpki-roots v0.15.0 [INFO] [stderr] Downloaded ring v0.13.5 [INFO] [stderr] Downloaded hyper-rustls v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc26ec5136290e467848e8f35ac00015b330f86c00adf708c081ef25eef7f3a1 [INFO] running `Command { std: "docker" "start" "-a" "fc26ec5136290e467848e8f35ac00015b330f86c00adf708c081ef25eef7f3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc26ec5136290e467848e8f35ac00015b330f86c00adf708c081ef25eef7f3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc26ec5136290e467848e8f35ac00015b330f86c00adf708c081ef25eef7f3a1", kill_on_drop: false }` [INFO] [stdout] fc26ec5136290e467848e8f35ac00015b330f86c00adf708c081ef25eef7f3a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb7df849604332ac72e689fd60369bf179be0269a83a558c76c3431d14ba5990 [INFO] running `Command { std: "docker" "start" "-a" "cb7df849604332ac72e689fd60369bf179be0269a83a558c76c3431d14ba5990", kill_on_drop: false }` [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking rustls v0.13.1 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking hyper-rustls v0.6.2 [INFO] [stderr] Checking cratedb v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/dbcluster.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/sql.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/backend.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/dbcluster.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/sql.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Into` is imported redundantly [INFO] [stdout] --> src/backend.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::convert::Into; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Into` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BackendError` is imported redundantly [INFO] [stdout] --> src/backend.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use error::BackendError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 306 | use super::*; [INFO] [stdout] | -------- the item `BackendError` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `make_blob_url` is imported redundantly [INFO] [stdout] --> src/backend.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 306 | use super::*; [INFO] [stdout] | -------- the item `make_blob_url` is already imported here [INFO] [stdout] 307 | use super::make_blob_url; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `Nothing`: Please use `NoParams` [INFO] [stdout] --> src/lib.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | use super::Nothing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `Nothing`: Please use `NoParams` [INFO] [stdout] --> src/lib.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | ... None::>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `Nothing`: Please use `NoParams` [INFO] [stdout] --> src/lib.rs:483:83 [INFO] [stdout] | [INFO] [stdout] 483 | let result = cluster.query("create table a(a string, b long)", None::>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `Nothing`: Please use `NoParams` [INFO] [stdout] --> src/lib.rs:497:74 [INFO] [stdout] | [INFO] [stdout] 497 | let result = cluster.query("select * from sys.nodes", None::>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | fn get(&self, blob: &BlobRef) -> Result, BlobError>; [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] 111 | fn get(&self, blob: &BlobRef) -> Result, BlobError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:111:49 [INFO] [stdout] | [INFO] [stdout] 111 | fn get(&self, blob: &BlobRef) -> Result, BlobError>; [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] 111 | fn get(&self, blob: &BlobRef) -> Result, BlobError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | f: &mut Read) [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] 82 | f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | -> Result<(BackendResult, Box), BackendError>; [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] 118 | -> Result<(BackendResult, Box), BackendError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | f: &mut Read) [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] 82 | f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:118:49 [INFO] [stdout] | [INFO] [stdout] 118 | -> Result<(BackendResult, Box), BackendError>; [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] 118 | -> Result<(BackendResult, Box), BackendError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:194:49 [INFO] [stdout] | [INFO] [stdout] 194 | fn get(&self, blob: &BlobRef) -> Result, BlobError> { [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] 194 | fn get(&self, blob: &BlobRef) -> Result, BlobError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/blob.rs:194:49 [INFO] [stdout] | [INFO] [stdout] 194 | fn get(&self, blob: &BlobRef) -> Result, BlobError> { [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] 194 | fn get(&self, blob: &BlobRef) -> Result, BlobError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | mut f: &mut Read) [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] 174 | mut f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | mut f: &mut Read) [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] 174 | mut f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | -> Result<(BackendResult, Box), BackendError> { [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] 211 | -> Result<(BackendResult, Box), BackendError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend.rs:211:49 [INFO] [stdout] | [INFO] [stdout] 211 | -> Result<(BackendResult, Box), BackendError> { [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] 211 | -> Result<(BackendResult, Box), BackendError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | f: &mut Read) [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] 87 | f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:53 [INFO] [stdout] | [INFO] [stdout] 104 | -> Result<(BackendResult, Box), BackendError> { [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] 104 | -> Result<(BackendResult, Box), BackendError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | f: &mut Read) [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] 140 | f: &mut dyn Read) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:184:53 [INFO] [stdout] | [INFO] [stdout] 184 | -> Result<(BackendResult, Box), BackendError> { [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] 184 | -> Result<(BackendResult, Box), BackendError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/lib.rs:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | let error = cluster.list(bucket.as_ref()).unwrap_err(); [INFO] [stdout] | ^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `TBL` declared on the method `list` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] - impl AsRef<[u8]> for std::string::String; [INFO] [stdout] - impl AsRef for std::string::String; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 384 | let error = cluster.list::<&T>(bucket.as_ref()).unwrap_err(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sha_contents` [INFO] [stdout] --> src/common.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let sha_contents = [203, 2, 235, 164, 178, 218, 138, 242, 242, 203, 29, 167, 94, 67, 205, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sha_contents` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/lib.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | payload: String) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | bucket: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sha1` [INFO] [stdout] --> src/lib.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | sha1: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sha1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | f: &mut Read) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/lib.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | bucket: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sha1` [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | sha1: &[u8]) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sha1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket` [INFO] [stdout] --> src/lib.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | bucket: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sha1` [INFO] [stdout] --> src/lib.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | sha1: &[u8]) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sha1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:181:23 [INFO] [stdout] | [INFO] [stdout] 181 | to: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blobs` [INFO] [stdout] --> src/lib.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let blobs = vec![MockBlob { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_blobs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cratedb` (lib test) due to 2 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb7df849604332ac72e689fd60369bf179be0269a83a558c76c3431d14ba5990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7df849604332ac72e689fd60369bf179be0269a83a558c76c3431d14ba5990", kill_on_drop: false }` [INFO] [stdout] cb7df849604332ac72e689fd60369bf179be0269a83a558c76c3431d14ba5990