[INFO] fetching crate rsdb 0.12.1... [INFO] testing rsdb-0.12.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rsdb 0.12.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rsdb 0.12.1 [INFO] finished tweaking crates.io crate rsdb 0.12.1 [INFO] tweaked toml for crates.io crate rsdb 0.12.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsdb 0.12.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.8.0 (available: v3.0.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.6.1) [INFO] [stderr] Adding coco v0.2.1 (available: v0.3.4) [INFO] [stderr] Adding crossbeam v0.3.2 (available: v0.8.4) [INFO] [stderr] Adding docopt v0.8.3 (available: v1.1.1) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.10) [INFO] [stderr] Adding historian v3.0.11 (available: v4.0.4) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.29) [INFO] [stderr] Adding quickcheck v0.2.27 (available: v1.1.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.1) [INFO] [stderr] Adding rayon v0.8.2 (available: v1.12.0) [INFO] [stderr] Adding zstd v0.4.28+zstd.1.4.3 (available: v0.13.3) [INFO] [stderr] Adding zstd-sys v1.4.13+zstd.1.4.3 (available: v1.6.3+zstd.1.5.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99c6c53672f5b65c60f4410392ec10ad842d17acf088c1c85a1d5276b6d67e4b [INFO] running `Command { std: "docker" "start" "-a" "99c6c53672f5b65c60f4410392ec10ad842d17acf088c1c85a1d5276b6d67e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99c6c53672f5b65c60f4410392ec10ad842d17acf088c1c85a1d5276b6d67e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c6c53672f5b65c60f4410392ec10ad842d17acf088c1c85a1d5276b6d67e4b", kill_on_drop: false }` [INFO] [stdout] 99c6c53672f5b65c60f4410392ec10ad842d17acf088c1c85a1d5276b6d67e4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49eae15fc50d3b6b9da1e9cc820b59c8811b6dc500d6fd859db2710ac509ff10 [INFO] running `Command { std: "docker" "start" "-a" "49eae15fc50d3b6b9da1e9cc820b59c8811b6dc500d6fd859db2710ac509ff10", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bincode v0.8.0 [INFO] [stderr] Compiling coco v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling sled_sync v0.2.2 [INFO] [stderr] Compiling historian v3.0.11 [INFO] [stderr] Compiling rsdb v0.12.1 (/opt/rustwide/workdir) [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/page/mod.rs:87:3 [INFO] [stdout] | [INFO] [stdout] 87 | #[serde(bound(deserialize = ""))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[deny(legacy_derive_helpers)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/page/mod.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[serde(bound(deserialize = ""))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 97 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/log/mod.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | fn reserve(&self, Vec) -> Reservation; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/log/mod.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | fn write(&self, Vec) -> LogID; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/page/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | fn merge(&self, &[&Self::PageFrag]) -> Self::PageFrag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[&Self::PageFrag]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/page/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | fn recover(&self, &Self::PageFrag) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::PageFrag` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::keyhash::hash` [INFO] [stdout] --> src/hash/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::keyhash::hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crc16` [INFO] [stdout] --> src/hash/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::crc16::{crc16, crc16_arr}; [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:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | / lazy_static! { [INFO] [stdout] 101 | | /// A metric collector for all rsdb instances running in this [INFO] [stdout] 102 | | /// process. [INFO] [stdout] 103 | | pub static ref M: Metrics = Metrics::default(); [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [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:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | / lazy_static! { [INFO] [stdout] 121 | | static ref START: std::time::Instant = std::time::Instant::now(); [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tree/mod.rs:414:29 [INFO] [stdout] | [INFO] [stdout] 414 | let cas = self.root.compare_and_swap(from, new_root_pid, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log/iobuf.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | let res = self.header.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/log/iobuf.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | let res = self.log_offset.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/mod.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn scan(&self, key: &[u8]) -> TreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 236 | pub fn scan(&self, key: &[u8]) -> TreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tree/mod.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn iter(&self) -> TreeIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 262 | pub fn iter(&self) -> TreeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log/mod.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn reserve(&self, Vec) -> Reservation; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn reserve(&self, Vec) -> Reservation<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | fn iter_from(&self, id: LogID) -> LogIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn iter_from(&self, id: LogID) -> LogIter<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/log/mod.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let len32: u32 = unsafe { std::mem::transmute(len_buf) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 143 - let len32: u32 = unsafe { std::mem::transmute(len_buf) }; [INFO] [stdout] 143 + let len32: u32 = unsafe { u32::from_ne_bytes(len_buf) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log/lss.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | fn reserve(&self, buf: Vec) -> Reservation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | fn reserve(&self, buf: Vec) -> Reservation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/log/lss.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | let len32: u32 = unsafe { std::mem::transmute(len_buf) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 117 - let len32: u32 = unsafe { std::mem::transmute(len_buf) }; [INFO] [stdout] 117 + let len32: u32 = unsafe { u32::from_ne_bytes(len_buf) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/log/iobuf.rs:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | pub(super) fn reserve(&self, raw_buf: Vec) -> Reservation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 164 | pub(super) fn reserve(&self, raw_buf: Vec) -> Reservation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/log/iobuf.rs:497:40 [INFO] [stdout] | [INFO] [stdout] 497 | let size_bytes: [u8; 4] = unsafe { std::mem::transmute(buf.len() as u32) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 497 - let size_bytes: [u8; 4] = unsafe { std::mem::transmute(buf.len() as u32) }; [INFO] [stdout] 497 + let size_bytes: [u8; 4] = unsafe { u32::to_ne_bytes(buf.len() as u32) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/page/page_cache.rs:640:39 [INFO] [stdout] | [INFO] [stdout] 640 | let crc64: [u8; 8] = unsafe { std::mem::transmute(crc64(&*bytes)) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 640 - let crc64: [u8; 8] = unsafe { std::mem::transmute(crc64(&*bytes)) }; [INFO] [stdout] 640 + let crc64: [u8; 8] = unsafe { u64::to_ne_bytes(crc64(&*bytes)) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Vec::::split_off` that must be used [INFO] [stdout] --> src/page/page_cache.rs:693:9 [INFO] [stdout] | [INFO] [stdout] 693 | buf.split_off(len - 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: use `.truncate()` if you don't need the other half [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 693 | let _ = buf.split_off(len - 8); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/page/page_cache.rs:699:42 [INFO] [stdout] | [INFO] [stdout] 699 | let crc_expected: u64 = unsafe { std::mem::transmute(crc_expected_bytes) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 699 - let crc_expected: u64 = unsafe { std::mem::transmute(crc_expected_bytes) }; [INFO] [stdout] 699 + let crc_expected: u64 = unsafe { u64::from_ne_bytes(crc_expected_bytes) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsdb` (lib) due to 4 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49eae15fc50d3b6b9da1e9cc820b59c8811b6dc500d6fd859db2710ac509ff10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49eae15fc50d3b6b9da1e9cc820b59c8811b6dc500d6fd859db2710ac509ff10", kill_on_drop: false }` [INFO] [stdout] 49eae15fc50d3b6b9da1e9cc820b59c8811b6dc500d6fd859db2710ac509ff10