[INFO] fetching crate leveldb 0.8.6... [INFO] checking leveldb-0.8.6 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate leveldb 0.8.6 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate leveldb 0.8.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate leveldb 0.8.6 [INFO] tweaked toml for crates.io crate leveldb 0.8.6 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leveldb 0.8.6 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding db-key v0.0.5 (available: v0.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a202db8801e807f5e64d2f65f4fee6a65ca69ed1a3cb00351a2200212c41112 [INFO] running `Command { std: "docker" "start" "-a" "7a202db8801e807f5e64d2f65f4fee6a65ca69ed1a3cb00351a2200212c41112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a202db8801e807f5e64d2f65f4fee6a65ca69ed1a3cb00351a2200212c41112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a202db8801e807f5e64d2f65f4fee6a65ca69ed1a3cb00351a2200212c41112", kill_on_drop: false }` [INFO] [stdout] 7a202db8801e807f5e64d2f65f4fee6a65ca69ed1a3cb00351a2200212c41112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bad0d3b8edfa7911cca61d7c55811f78dfe6ddf6a3bb5c7a60dad9d5db5dbbd [INFO] running `Command { std: "docker" "start" "-a" "2bad0d3b8edfa7911cca61d7c55811f78dfe6ddf6a3bb5c7a60dad9d5db5dbbd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking ffi-opaque v2.0.1 [INFO] [stderr] Checking db-key v0.0.5 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling leveldb-sys v2.0.9 [INFO] [stderr] Checking leveldb v0.8.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/database/iterator.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/error.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator; [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 88 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator; [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 90 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator; [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator { [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 100 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | fn iter(&'a self, mut options: ReadOptions<'a, K>) -> Iterator { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | fn iter(&'a self, mut options: ReadOptions<'a, K>) -> Iterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | fn keys_iter(&'a self, mut options: ReadOptions<'a, K>) -> KeyIterator { [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | fn keys_iter(&'a self, mut options: ReadOptions<'a, K>) -> KeyIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | fn value_iter(&'a self, mut options: ReadOptions<'a, K>) -> ValueIterator { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | fn value_iter(&'a self, mut options: ReadOptions<'a, K>) -> ValueIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator; [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 88 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator; [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 90 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator; [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator<'a, K>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn iter(&'a self, options: ReadOptions<'a, K>) -> Iterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator { [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 100 | fn keys_iter(&'a self, options: ReadOptions<'a, K>) -> KeyIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/iterator.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | fn value_iter(&'a self, options: ReadOptions<'a, K>) -> ValueIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | fn iter(&'a self, mut options: ReadOptions<'a, K>) -> Iterator { [INFO] [stdout] | ^^ ^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | fn iter(&'a self, mut options: ReadOptions<'a, K>) -> Iterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | fn keys_iter(&'a self, mut options: ReadOptions<'a, K>) -> KeyIterator { [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | fn keys_iter(&'a self, mut options: ReadOptions<'a, K>) -> KeyIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/database/snapshots.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | fn value_iter(&'a self, mut options: ReadOptions<'a, K>) -> ValueIterator { [INFO] [stdout] | ^^ ^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | fn value_iter(&'a self, mut options: ReadOptions<'a, K>) -> ValueIterator<'a, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/iterator.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let iterable: &mut Iterable = database; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | let iterable: &mut dyn Iterable = database; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/iterator.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | let iterable: &mut Iterable = database; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | let iterable: &mut dyn Iterable = database; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> tests/concurrent_access.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / (0..10).map(|i| { [INFO] [stdout] 18 | | let local_db = shared.clone(); [INFO] [stdout] 19 | | [INFO] [stdout] 20 | | thread::spawn(move || { [INFO] [stdout] ... | [INFO] [stdout] 28 | | .map(JoinHandle::join) [INFO] [stdout] 29 | | .collect::>(); [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = (0..10).map(|i| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.88s [INFO] running `Command { std: "docker" "inspect" "2bad0d3b8edfa7911cca61d7c55811f78dfe6ddf6a3bb5c7a60dad9d5db5dbbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bad0d3b8edfa7911cca61d7c55811f78dfe6ddf6a3bb5c7a60dad9d5db5dbbd", kill_on_drop: false }` [INFO] [stdout] 2bad0d3b8edfa7911cca61d7c55811f78dfe6ddf6a3bb5c7a60dad9d5db5dbbd