[INFO] cloning repository https://github.com/rasviitanen/DimensionDB [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rasviitanen/DimensionDB" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9b00abfbbf13e5556d47d9fa079dd5e6ac90ef9 [INFO] checking rasviitanen/DimensionDB against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rasviitanen/DimensionDB 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/rasviitanen/DimensionDB [INFO] finished tweaking git repo https://github.com/rasviitanen/DimensionDB [INFO] tweaked toml for git repo https://github.com/rasviitanen/DimensionDB written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rasviitanen/DimensionDB 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rio v0.9.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 78a804a8cdf271e76cce65c2a890533246ca062b0e07dbd3888424bd94c1e845 [INFO] running `Command { std: "docker" "start" "-a" "78a804a8cdf271e76cce65c2a890533246ca062b0e07dbd3888424bd94c1e845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78a804a8cdf271e76cce65c2a890533246ca062b0e07dbd3888424bd94c1e845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78a804a8cdf271e76cce65c2a890533246ca062b0e07dbd3888424bd94c1e845", kill_on_drop: false }` [INFO] [stdout] 78a804a8cdf271e76cce65c2a890533246ca062b0e07dbd3888424bd94c1e845 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 143aeba1e8a0ef0d9b9e965b6c475bd9b66ccf775f2e695900b23cb52ce4c616 [INFO] running `Command { std: "docker" "start" "-a" "143aeba1e8a0ef0d9b9e965b6c475bd9b66ccf775f2e695900b23cb52ce4c616", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rio v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking DimensionDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/layout.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer` and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `fetch_and` are never used [INFO] [stdout] --> src/ebr/atomic.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/ebr/internal.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 71 | impl Bag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub(super) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/ebr/internal.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Engine` is never constructed [INFO] [stdout] --> src/engine.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used [INFO] [stdout] --> src/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(threads: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get(&self, key: String) -> anyhow::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn set(&self, key: String, value: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page`, `pos`, and `len` are never read [INFO] [stdout] --> src/engine.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 134 | page: PageId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 135 | pos: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | len: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BufReaderWithPos { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(mut inner: R) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufWriterWithPos { [INFO] [stdout] | ----------------------------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(mut inner: W) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/layout.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAGE_SIZE: u64 = 4096 * 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIZE` is never used [INFO] [stdout] --> src/layout.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CHUNK_SIZE: u64 = 4096 * 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aligned` is never constructed [INFO] [stdout] --> src/layout.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Aligned([u8; CHUNK_SIZE as usize]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `open` and `open_additional` are never used [INFO] [stdout] --> src/layout.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PageSlottedFile { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 37 | pub fn open(path: impl AsRef, ring: &rio::Rio) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn open_additional(path: impl AsRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dp`, `dc`, and `curr` are never read [INFO] [stdout] --> src/mdlist.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AdoptDesc { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | dp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | dc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | curr: Owned>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdoptDesc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pred` is never constructed [INFO] [stdout] --> src/mdlist.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Pred<'g, const DIM: usize> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pred` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimension` is never read [INFO] [stdout] --> src/mdlist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | dimension: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl NodeWithValue { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 79 | #[inline] [INFO] [stdout] 80 | pub fn new(coords: [u8; DIM], value: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `entry_of` is never used [INFO] [stdout] --> src/mdlist.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait IsElement { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 120 | fn entry_of(_: &T) -> &Node; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl Node { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 175 | #[inline] [INFO] [stdout] 176 | fn new(coords: [u8; DIM]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mdlist.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 192 | const UNMARKED: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 193 | const ADP: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | const DEL: usize = 2; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn finish_inserting<'g>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub(crate) unsafe fn locate_pred<'g>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub(crate) unsafe fn insert<'g>(&'g self, container: Shared<'g, T>, guard: &'g Guard) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn starts_with<'g>(&'g self, needle: &'g [u8], guard: &'g Guard) -> Iter<'g, DIM, T, C> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> src/mdlist.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct MdList { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 384 | list: List>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `starts_with`, and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 398 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn insert>(&self, key: Q, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn get>(&self, key: Q) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_coords` is never used [INFO] [stdout] --> src/mdlist.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 442 | pub trait ToCoords { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 443 | fn to_coords(self) -> [u8; DIM]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DimensionDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dimension_db` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer` and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `fetch_and` are never used [INFO] [stdout] --> src/ebr/atomic.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/ebr/internal.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ring` and `file` are never read [INFO] [stdout] --> src/engine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | ring: Rio, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | file: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `page` is never read [INFO] [stdout] --> src/engine.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 134 | page: PageId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimension` is never read [INFO] [stdout] --> src/mdlist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | dimension: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ALL` is never used [INFO] [stdout] --> src/mdlist.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `starts_with` and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 1]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 95 - drop(a); [INFO] [stdout] 95 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 10]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 110 - drop(a); [INFO] [stdout] 110 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.47s [INFO] running `Command { std: "docker" "inspect" "143aeba1e8a0ef0d9b9e965b6c475bd9b66ccf775f2e695900b23cb52ce4c616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143aeba1e8a0ef0d9b9e965b6c475bd9b66ccf775f2e695900b23cb52ce4c616", kill_on_drop: false }` [INFO] [stdout] 143aeba1e8a0ef0d9b9e965b6c475bd9b66ccf775f2e695900b23cb52ce4c616 [INFO] checking rasviitanen/DimensionDB 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%2Frasviitanen%2FDimensionDB" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rasviitanen/DimensionDB 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/rasviitanen/DimensionDB [INFO] finished tweaking git repo https://github.com/rasviitanen/DimensionDB [INFO] tweaked toml for git repo https://github.com/rasviitanen/DimensionDB written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rasviitanen/DimensionDB 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4aef3558b9882620f57fa3de8b2e1d0581a89ffbb19bcf2b30df9fda1ad71ea0 [INFO] running `Command { std: "docker" "start" "-a" "4aef3558b9882620f57fa3de8b2e1d0581a89ffbb19bcf2b30df9fda1ad71ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aef3558b9882620f57fa3de8b2e1d0581a89ffbb19bcf2b30df9fda1ad71ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aef3558b9882620f57fa3de8b2e1d0581a89ffbb19bcf2b30df9fda1ad71ea0", kill_on_drop: false }` [INFO] [stdout] 4aef3558b9882620f57fa3de8b2e1d0581a89ffbb19bcf2b30df9fda1ad71ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 74931f79e950b74c494bd9c7eb0dafa2c65d41b27f55ee42fa393611adf3f452 [INFO] running `Command { std: "docker" "start" "-a" "74931f79e950b74c494bd9c7eb0dafa2c65d41b27f55ee42fa393611adf3f452", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rio v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking DimensionDB v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | #[cfg(not(feature = "lock_free_delays"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `lock_free_delays` [INFO] [stdout] --> src/ebr/internal.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(feature = "lock_free_delays")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `lock_free_delays` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:284:15 [INFO] [stdout] | [INFO] [stdout] 284 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 304 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/internal.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `testing` [INFO] [stdout] --> src/ebr/mod.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = "testing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `testing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp` [INFO] [stdout] --> src/layout.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | cmp, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/layout.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/mdlist.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer` and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `fetch_and` are never used [INFO] [stdout] --> src/ebr/atomic.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/ebr/internal.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 71 | impl Bag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub(super) const fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/ebr/internal.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Engine` is never constructed [INFO] [stdout] --> src/engine.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used [INFO] [stdout] --> src/engine.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Engine { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 32 | pub fn new(threads: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn get(&self, key: String) -> anyhow::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn set(&self, key: String, value: String) -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `page`, `pos`, and `len` are never read [INFO] [stdout] --> src/engine.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 134 | page: PageId, [INFO] [stdout] | ^^^^ [INFO] [stdout] 135 | pos: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] 136 | len: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl BufReaderWithPos { [INFO] [stdout] | ---------------------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(mut inner: R) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/io.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl BufWriterWithPos { [INFO] [stdout] | ----------------------------------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(mut inner: W) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAGE_SIZE` is never used [INFO] [stdout] --> src/layout.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PAGE_SIZE: u64 = 4096 * 1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHUNK_SIZE` is never used [INFO] [stdout] --> src/layout.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const CHUNK_SIZE: u64 = 4096 * 2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Aligned` is never constructed [INFO] [stdout] --> src/layout.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Aligned([u8; CHUNK_SIZE as usize]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `open` and `open_additional` are never used [INFO] [stdout] --> src/layout.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl PageSlottedFile { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 37 | pub fn open(path: impl AsRef, ring: &rio::Rio) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn open_additional(path: impl AsRef) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dp`, `dc`, and `curr` are never read [INFO] [stdout] --> src/mdlist.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AdoptDesc { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 11 | dp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | dc: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | curr: Owned>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdoptDesc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pred` is never constructed [INFO] [stdout] --> src/mdlist.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Pred<'g, const DIM: usize> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pred` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimension` is never read [INFO] [stdout] --> src/mdlist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | dimension: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl NodeWithValue { [INFO] [stdout] | ----------------------------------------------- associated function in this implementation [INFO] [stdout] 79 | #[inline] [INFO] [stdout] 80 | pub fn new(coords: [u8; DIM], value: V) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `entry_of` is never used [INFO] [stdout] --> src/mdlist.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub trait IsElement { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 120 | fn entry_of(_: &T) -> &Node; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mdlist.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl Node { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 175 | #[inline] [INFO] [stdout] 176 | fn new(coords: [u8; DIM]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/mdlist.rs:192:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 192 | const UNMARKED: usize = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 193 | const ADP: usize = 1; [INFO] [stdout] | ^^^ [INFO] [stdout] 194 | const DEL: usize = 2; [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub(crate) unsafe fn finish_inserting<'g>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub(crate) unsafe fn locate_pred<'g>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub(crate) unsafe fn get<'g>(&'g self, coords: [u8; DIM], guard: &'g Guard) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub(crate) unsafe fn insert<'g>(&'g self, container: Shared<'g, T>, guard: &'g Guard) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn starts_with<'g>(&'g self, needle: &'g [u8], guard: &'g Guard) -> Iter<'g, DIM, T, C> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `list` is never read [INFO] [stdout] --> src/mdlist.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct MdList { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 384 | list: List>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `get`, `starts_with`, and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- associated items in this implementation [INFO] [stdout] 398 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn insert>(&self, key: Q, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn get>(&self, key: Q) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_coords` is never used [INFO] [stdout] --> src/mdlist.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 442 | pub trait ToCoords { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 443 | fn to_coords(self) -> [u8; DIM]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `DimensionDB` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dimension_db` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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/ebr/mod.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub(super) unsafe fn defer_unchecked(&self, f: F) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | local.defer(Deferred::new(move || drop(f())), self); [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/ebr/atomic.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe fn init(init: Self::Init) -> usize { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | Box::into_raw(Box::new(init)) as usize [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/ebr/atomic.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) fn init(init: T::Init) -> Atomic { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | Self::from(Owned::init(init)) [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/ebr/atomic.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 472 | fn from(b: Box) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 473 | Self::from(Owned::from(b)) [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/ebr/collector.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn with_handle(mut f: F) -> R [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / HANDLE [INFO] [stdout] 29 | | .try_with(|h| f(h)) [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/ebr/collector.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap_or_else(|_| f(&COLLECTOR.register())) [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/engine.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | index: Default::default(), [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/engine.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | pool: Arc::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] 39 | | rayon::ThreadPoolBuilder::new() [INFO] [stdout] 40 | | .num_threads(threads) [INFO] [stdout] 41 | | .build() [INFO] [stdout] 42 | | .unwrap(), [INFO] [stdout] 43 | | ), [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/engine.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | cell_ptr: Default::default(), [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/engine.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | unallocated: Arc::new(AtomicU64::new(PAGE_SIZE)), [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/io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(mut inner: R) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] 12 | Ok(BufReaderWithPos { [INFO] [stdout] | ____________^ [INFO] [stdout] 13 | | reader: BufReader::new(inner), [INFO] [stdout] 14 | | pos, [INFO] [stdout] 15 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/io.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(mut inner: W) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] 42 | Ok(BufWriterWithPos { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | writer: BufWriter::new(inner), [INFO] [stdout] 44 | | pos, [INFO] [stdout] 45 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/layout.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn open_additional(path: impl AsRef) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Self { [INFO] [stdout] 64 | file: Arc::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] 65 | | OpenOptions::new() [INFO] [stdout] 66 | | .read(true) [INFO] [stdout] 67 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 70 | | .unwrap(), [INFO] [stdout] 71 | | ), [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 13 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DimensionDB` (lib) due to 14 previous errors; 44 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mdlist.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let v = Shared::from(Self::element_of(entry) as *const _); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guard` [INFO] [stdout] --> src/mdlist.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe fn finalize(entry: &Node, guard: &Guard) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `defer` and `flush` are never used [INFO] [stdout] --> src/ebr/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl Guard { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 34 | pub(crate) fn defer(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn flush(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `swap` and `fetch_and` are never used [INFO] [stdout] --> src/ebr/atomic.rs:323:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl Atomic { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn swap<'g, P: Pointer>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub(crate) fn fetch_and<'g>(&self, val: usize, ord: Ordering, _: &'g Guard) -> Shared<'g, T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `flush` is never used [INFO] [stdout] --> src/ebr/internal.rs:457:19 [INFO] [stdout] | [INFO] [stdout] 404 | impl Local { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 457 | pub(super) fn flush(&self, guard: &Guard) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ring` and `file` are never read [INFO] [stdout] --> src/engine.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Engine { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 20 | ring: Rio, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | file: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `set` and `remove` are never used [INFO] [stdout] --> src/engine.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl Command { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 122 | fn set(key: String, value: String) -> Command { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn remove(key: String) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `page` is never read [INFO] [stdout] --> src/engine.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | struct CommandPos { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 134 | page: PageId, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TxStatus` is never used [INFO] [stdout] --> src/lftt.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TxStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/lftt.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/lftt.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Desc` is never constructed [INFO] [stdout] --> src/lftt.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Desc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeDesc` is never constructed [INFO] [stdout] --> src/lftt.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct NodeDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimension` is never read [INFO] [stdout] --> src/mdlist.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | dimension: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ALL` is never used [INFO] [stdout] --> src/mdlist.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 191 | impl> List { [INFO] [stdout] | --------------------------------------------------------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | const ALL: usize = Self::ADP | Self::DEL; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `starts_with` and `iter` are never used [INFO] [stdout] --> src/mdlist.rs:422:12 [INFO] [stdout] | [INFO] [stdout] 397 | impl MdList { [INFO] [stdout] | ---------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn starts_with<'q, Q: ?Sized + AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn iter(&self) -> impl Iterator { [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/ebr/mod.rs:48:52 [INFO] [stdout] | [INFO] [stdout] 43 | pub(super) unsafe fn defer_unchecked(&self, f: F) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | local.defer(Deferred::new(move || drop(f())), self); [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/ebr/atomic.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe fn init(init: Self::Init) -> usize { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | Box::into_raw(Box::new(init)) as usize [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/ebr/atomic.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 282 | pub(crate) fn init(init: T::Init) -> Atomic { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | Self::from(Owned::init(init)) [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/ebr/atomic.rs:473:20 [INFO] [stdout] | [INFO] [stdout] 472 | fn from(b: Box) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 473 | Self::from(Owned::from(b)) [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/ebr/collector.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | fn with_handle(mut f: F) -> R [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | / HANDLE [INFO] [stdout] 29 | | .try_with(|h| f(h)) [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/ebr/collector.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap_or_else(|_| f(&COLLECTOR.register())) [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: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 1]` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 95 - drop(a); [INFO] [stdout] 95 + let _ = a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ebr/deferred.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | drop(a); [INFO] [stdout] | ^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[usize; 10]` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 110 - drop(a); [INFO] [stdout] 110 + let _ = a; [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/engine.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | index: Default::default(), [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/engine.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | pool: Arc::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] 39 | | rayon::ThreadPoolBuilder::new() [INFO] [stdout] 40 | | .num_threads(threads) [INFO] [stdout] 41 | | .build() [INFO] [stdout] 42 | | .unwrap(), [INFO] [stdout] 43 | | ), [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/engine.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | cell_ptr: Default::default(), [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/engine.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 33 | let ring = rio::new().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let file = Arc::new(PageSlottedFile::open("gen1", &ring)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | unallocated: Arc::new(AtomicU64::new(PAGE_SIZE)), [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/io.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(mut inner: R) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] 12 | Ok(BufReaderWithPos { [INFO] [stdout] | ____________^ [INFO] [stdout] 13 | | reader: BufReader::new(inner), [INFO] [stdout] 14 | | pos, [INFO] [stdout] 15 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/io.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(mut inner: W) -> anyhow::Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let pos = inner.seek(SeekFrom::Current(0))?; [INFO] [stdout] 42 | Ok(BufWriterWithPos { [INFO] [stdout] | ____________^ [INFO] [stdout] 43 | | writer: BufWriter::new(inner), [INFO] [stdout] 44 | | pos, [INFO] [stdout] 45 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/layout.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn open_additional(path: impl AsRef) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | Self { [INFO] [stdout] 64 | file: Arc::new( [INFO] [stdout] | ___________________^ [INFO] [stdout] 65 | | OpenOptions::new() [INFO] [stdout] 66 | | .read(true) [INFO] [stdout] 67 | | .write(true) [INFO] [stdout] ... | [INFO] [stdout] 70 | | .unwrap(), [INFO] [stdout] 71 | | ), [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 13 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DimensionDB` (lib test) due to 14 previous errors; 31 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74931f79e950b74c494bd9c7eb0dafa2c65d41b27f55ee42fa393611adf3f452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74931f79e950b74c494bd9c7eb0dafa2c65d41b27f55ee42fa393611adf3f452", kill_on_drop: false }` [INFO] [stdout] 74931f79e950b74c494bd9c7eb0dafa2c65d41b27f55ee42fa393611adf3f452