[INFO] cloning repository https://github.com/gfreezy/bitcask-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gfreezy/bitcask-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Fbitcask-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Fbitcask-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04fabaaf969b18319475ba6cebafde3d690aa5e5 [INFO] checking gfreezy/bitcask-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Fbitcask-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/bitcask-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gfreezy/bitcask-rs [INFO] finished tweaking git repo https://github.com/gfreezy/bitcask-rs [INFO] tweaked toml for git repo https://github.com/gfreezy/bitcask-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gfreezy/bitcask-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.6.5 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded unreachable v0.1.1 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.3 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded dtoa v0.4.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded integer-encoding v1.0.5 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded derive_builder_core v0.2.0 [INFO] [stderr] Downloaded derive_builder v0.5.1 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded flate2 v1.0.2 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded regex v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded serde v1.0.75 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded winapi v0.2.8 [INFO] [stderr] Downloaded cc v1.0.23 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded yaml-rust v0.4.0 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded miniz-sys v0.1.10 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded log4rs v0.8.0 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded serde_derive v1.0.75 [INFO] [stderr] Downloaded twox-hash v1.1.1 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded ryu v0.2.6 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.15 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded serde-value v0.5.2 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded antidote v1.0.0 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded void v1.0.2 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded ordered-float v0.5.0 [INFO] [stderr] Downloaded traitobject v0.1.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Downloaded io-at v0.4.1 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded serde_yaml v0.8.2 [INFO] [stderr] Downloaded winapi-i686-pc-windows-gnu v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 945fb42839e4198329b1605d32614e361269893536f2aa6816046083241251c2 [INFO] running `Command { std: "docker" "start" "-a" "945fb42839e4198329b1605d32614e361269893536f2aa6816046083241251c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "945fb42839e4198329b1605d32614e361269893536f2aa6816046083241251c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "945fb42839e4198329b1605d32614e361269893536f2aa6816046083241251c2", kill_on_drop: false }` [INFO] [stdout] 945fb42839e4198329b1605d32614e361269893536f2aa6816046083241251c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8724355f1b39d5be29fcfcf50d3d7bab9dfcdd796b4f274bcd4abe49b297388 [INFO] running `Command { std: "docker" "start" "-a" "e8724355f1b39d5be29fcfcf50d3d7bab9dfcdd796b4f274bcd4abe49b297388", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling proc-macro2 v0.4.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking io-at v0.4.1 [INFO] [stderr] Checking integer-encoding v1.0.5 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking twox-hash v1.1.1 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking flate2 v1.0.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Checking serde-value v0.5.2 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde_yaml v0.8.2 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking log4rs v0.8.0 [INFO] [stderr] Checking bitcask-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/segment.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (key_size_length as u64 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | + hash_length as u64) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 ~ key_size_length as u64 [INFO] [stdout] 44 | + value_size_length as u64 [INFO] [stdout] 45 | + key_buf.len() as u64 [INFO] [stdout] 46 | + value_buf.len() as u64 [INFO] [stdout] 47 ~ + hash_length as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | iter: Box + 'a>, [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] 25 | iter: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [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] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/segment.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (key_size_length as u64 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | + hash_length as u64) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 ~ key_size_length as u64 [INFO] [stdout] 44 | + value_size_length as u64 [INFO] [stdout] 45 | + key_buf.len() as u64 [INFO] [stdout] 46 | + value_buf.len() as u64 [INFO] [stdout] 47 ~ + hash_length as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | iter: Box + 'a>, [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] 25 | iter: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [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] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/store.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct OlderData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_segment` is never used [INFO] [stdout] --> src/store.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 187 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | fn remove_segment(&self, file_id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/store.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct OlderData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_segment` is never used [INFO] [stdout] --> src/store.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 187 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | fn remove_segment(&self, file_id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_ascii_chars`: use sample_iter(&Alphanumeric) instead [INFO] [stdout] --> examples/profile.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | let id: String = rand::thread_rng().gen_ascii_chars().take(16).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/profile.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..100000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e8724355f1b39d5be29fcfcf50d3d7bab9dfcdd796b4f274bcd4abe49b297388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8724355f1b39d5be29fcfcf50d3d7bab9dfcdd796b4f274bcd4abe49b297388", kill_on_drop: false }` [INFO] [stdout] e8724355f1b39d5be29fcfcf50d3d7bab9dfcdd796b4f274bcd4abe49b297388 [INFO] checking gfreezy/bitcask-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Fbitcask-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/bitcask-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gfreezy/bitcask-rs [INFO] finished tweaking git repo https://github.com/gfreezy/bitcask-rs [INFO] tweaked toml for git repo https://github.com/gfreezy/bitcask-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gfreezy/bitcask-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2075a17eeaa962189e183be24ab665fc6f91b1d6a9a1a50aff3fad9a568325 [INFO] running `Command { std: "docker" "start" "-a" "5f2075a17eeaa962189e183be24ab665fc6f91b1d6a9a1a50aff3fad9a568325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2075a17eeaa962189e183be24ab665fc6f91b1d6a9a1a50aff3fad9a568325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2075a17eeaa962189e183be24ab665fc6f91b1d6a9a1a50aff3fad9a568325", kill_on_drop: false }` [INFO] [stdout] 5f2075a17eeaa962189e183be24ab665fc6f91b1d6a9a1a50aff3fad9a568325 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50a8ad88ec20706c061a256753ccc8e846056e79c849dd6d977eab05a9545b11 [INFO] running `Command { std: "docker" "start" "-a" "50a8ad88ec20706c061a256753ccc8e846056e79c849dd6d977eab05a9545b11", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.23 [INFO] [stderr] Compiling proc-macro2 v0.4.15 [INFO] [stderr] Compiling serde v1.0.75 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking dtoa v0.4.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling derive_builder v0.5.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling regex v1.0.4 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking yaml-rust v0.4.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking io-at v0.4.1 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Checking integer-encoding v1.0.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking ordered-float v0.5.0 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Compiling derive_builder_core v0.2.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking twox-hash v1.1.1 [INFO] [stderr] Checking flate2 v1.0.2 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.75 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-value v0.5.2 [INFO] [stderr] Checking serde_yaml v0.8.2 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking log4rs v0.8.0 [INFO] [stderr] Checking bitcask-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/segment.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (key_size_length as u64 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | + hash_length as u64) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 ~ key_size_length as u64 [INFO] [stdout] 44 | + value_size_length as u64 [INFO] [stdout] 45 | + key_buf.len() as u64 [INFO] [stdout] 46 | + value_buf.len() as u64 [INFO] [stdout] 47 ~ + hash_length as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/segment.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (key_size_length as u64 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 47 | + hash_length as u64) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 43 ~ key_size_length as u64 [INFO] [stdout] 44 | + value_size_length as u64 [INFO] [stdout] 45 | + key_buf.len() as u64 [INFO] [stdout] 46 | + value_buf.len() as u64 [INFO] [stdout] 47 ~ + hash_length as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 36 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | iter: Box + 'a>, [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] 25 | iter: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | iter: Box + 'a>, [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] 25 | iter: Box + 'a>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [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] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/keys_iterator.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [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] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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] 125 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn keys<'a>(&'a self) -> Box + 'a> { [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 | pub fn keys<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/store.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct OlderData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_segment` is never used [INFO] [stdout] --> src/store.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 187 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | fn remove_segment(&self, file_id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 52 | let arc_config = Arc::new(config); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | store: Arc::new(Store::new(arc_config.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 61 | let arc_config = Arc::new(config); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Bitcask { [INFO] [stdout] 63 | store: Arc::new(Store::open(arc_config.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hint.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 48 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hint.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 67 | let mut file = OpenOptions::new().read(true).open(&file_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(Hint { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | file_id, [INFO] [stdout] 72 | | file_path: file_path.clone(), [INFO] [stdout] 73 | | file: Some(file), [INFO] [stdout] 74 | | size, [INFO] [stdout] 75 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/keys_iterator.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | seen: HashSet::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 103 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 122 | let mut file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 200 | let mut file = BufReader::new(Cursor::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Some(Ok(entry)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | older_data: RwLock::new(OlderData { [INFO] [stdout] | _________________________^ [INFO] [stdout] 194 | | segments: HashMap::new(), [INFO] [stdout] 195 | | hints: HashMap::new(), [INFO] [stdout] 196 | | hashmap: HashMap::new(), [INFO] [stdout] 197 | | config: config.clone(), [INFO] [stdout] 198 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | active_data: RwLock::new(ActiveData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 200 | | active_segment: Segment::new(0, path), [INFO] [stdout] 201 | | active_hint: Hint::new(0, path), [INFO] [stdout] 202 | | active_hashmap: HashMap::with_capacity(100), [INFO] [stdout] ... | [INFO] [stdout] 206 | | config: config.clone(), [INFO] [stdout] 207 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | config: config.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | older_data: RwLock::new(OlderData { [INFO] [stdout] | _________________________^ [INFO] [stdout] 274 | | segments, [INFO] [stdout] 275 | | hints, [INFO] [stdout] 276 | | hashmap, [INFO] [stdout] 277 | | config: config.clone(), [INFO] [stdout] 278 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | active_data: RwLock::new(ActiveData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 280 | | active_segment: Segment::new(max_file_id + 1, path), [INFO] [stdout] 281 | | active_hint: Hint::new(max_file_id + 1, path), [INFO] [stdout] 282 | | active_hashmap: HashMap::with_capacity(100), [INFO] [stdout] ... | [INFO] [stdout] 286 | | config: config.clone(), [INFO] [stdout] 287 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | config: config.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/store.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct OlderData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | config: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_segment` is never used [INFO] [stdout] --> src/store.rs:365:8 [INFO] [stdout] | [INFO] [stdout] 187 | impl Store { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 365 | fn remove_segment(&self, file_id: u64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 52 | let arc_config = Arc::new(config); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | store: Arc::new(Store::new(arc_config.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 61 | let arc_config = Arc::new(config); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Bitcask { [INFO] [stdout] 63 | store: Arc::new(Store::open(arc_config.clone())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hint.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 48 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hint.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 67 | let mut file = OpenOptions::new().read(true).open(&file_path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(Hint { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | file_id, [INFO] [stdout] 72 | | file_path: file_path.clone(), [INFO] [stdout] 73 | | file: Some(file), [INFO] [stdout] 74 | | size, [INFO] [stdout] 75 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/keys_iterator.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 30 | fn new(iter: Box + 'a>) -> StoreKeysIter<'a> { [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | seen: HashSet::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 103 | let file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 122 | let mut file = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | file: Some(file), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/segment.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 200 | let mut file = BufReader::new(Cursor::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Some(Ok(entry)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 193 | older_data: RwLock::new(OlderData { [INFO] [stdout] | _________________________^ [INFO] [stdout] 194 | | segments: HashMap::new(), [INFO] [stdout] 195 | | hints: HashMap::new(), [INFO] [stdout] 196 | | hashmap: HashMap::new(), [INFO] [stdout] 197 | | config: config.clone(), [INFO] [stdout] 198 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:199:26 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 199 | active_data: RwLock::new(ActiveData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 200 | | active_segment: Segment::new(0, path), [INFO] [stdout] 201 | | active_hint: Hint::new(0, path), [INFO] [stdout] 202 | | active_hashmap: HashMap::with_capacity(100), [INFO] [stdout] ... | [INFO] [stdout] 206 | | config: config.clone(), [INFO] [stdout] 207 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn new(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | config: config.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:273:25 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | older_data: RwLock::new(OlderData { [INFO] [stdout] | _________________________^ [INFO] [stdout] 274 | | segments, [INFO] [stdout] 275 | | hints, [INFO] [stdout] 276 | | hashmap, [INFO] [stdout] 277 | | config: config.clone(), [INFO] [stdout] 278 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | active_data: RwLock::new(ActiveData { [INFO] [stdout] | __________________________^ [INFO] [stdout] 280 | | active_segment: Segment::new(max_file_id + 1, path), [INFO] [stdout] 281 | | active_hint: Hint::new(max_file_id + 1, path), [INFO] [stdout] 282 | | active_hashmap: HashMap::with_capacity(100), [INFO] [stdout] ... | [INFO] [stdout] 286 | | config: config.clone(), [INFO] [stdout] 287 | | }), [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:288:21 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn open(config: Arc) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let mut segments = HashMap::with_capacity(100); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | let mut hints = HashMap::with_capacity(100); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | config: config.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcask-rs` (lib) due to 15 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcask-rs` (lib test) due to 15 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50a8ad88ec20706c061a256753ccc8e846056e79c849dd6d977eab05a9545b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a8ad88ec20706c061a256753ccc8e846056e79c849dd6d977eab05a9545b11", kill_on_drop: false }` [INFO] [stdout] 50a8ad88ec20706c061a256753ccc8e846056e79c849dd6d977eab05a9545b11