[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#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rasviitanen/DimensionDB on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7bc7e5ba53ca9721c17f38648defd1940ab32f0ab548b2c3f3b56e9f97fae06 [INFO] running `Command { std: "docker" "start" "-a" "b7bc7e5ba53ca9721c17f38648defd1940ab32f0ab548b2c3f3b56e9f97fae06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7bc7e5ba53ca9721c17f38648defd1940ab32f0ab548b2c3f3b56e9f97fae06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bc7e5ba53ca9721c17f38648defd1940ab32f0ab548b2c3f3b56e9f97fae06", kill_on_drop: false }` [INFO] [stdout] b7bc7e5ba53ca9721c17f38648defd1940ab32f0ab548b2c3f3b56e9f97fae06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a88312bf89b0cdfde06a8f4e36129aa3d2e983f41793de47d037314a4de5032 [INFO] running `Command { std: "docker" "start" "-a" "2a88312bf89b0cdfde06a8f4e36129aa3d2e983f41793de47d037314a4de5032", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rio v0.9.4 [INFO] [stderr] Compiling syn v2.0.48 [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: 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: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/ebr/internal.rs:627:42 [INFO] [stdout] | [INFO] [stdout] 627 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 628 | [INFO] [stdout] 629 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pin` is imported redundantly [INFO] [stdout] --> src/ebr/queue.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | use super::*; [INFO] [stdout] | -------- the item `pin` is already imported here [INFO] [stdout] 224 | use crate::ebr::pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] [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: the item `Owned` is imported redundantly [INFO] [stdout] --> src/mdlist.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 492 | use super::*; [INFO] [stdout] | -------- the item `Owned` is already imported here [INFO] [stdout] 493 | use crate::ebr::collector::Collector; [INFO] [stdout] 494 | use crate::ebr::Owned; [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: 34 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.17s [INFO] running `Command { std: "docker" "inspect" "2a88312bf89b0cdfde06a8f4e36129aa3d2e983f41793de47d037314a4de5032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a88312bf89b0cdfde06a8f4e36129aa3d2e983f41793de47d037314a4de5032", kill_on_drop: false }` [INFO] [stdout] 2a88312bf89b0cdfde06a8f4e36129aa3d2e983f41793de47d037314a4de5032 [INFO] checking rasviitanen/DimensionDB against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frasviitanen%2FDimensionDB" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rasviitanen/DimensionDB on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f33749b1818239a35c51bd0561953de7e73208250fe91320204c40e4a26848ff [INFO] running `Command { std: "docker" "start" "-a" "f33749b1818239a35c51bd0561953de7e73208250fe91320204c40e4a26848ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f33749b1818239a35c51bd0561953de7e73208250fe91320204c40e4a26848ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f33749b1818239a35c51bd0561953de7e73208250fe91320204c40e4a26848ff", kill_on_drop: false }` [INFO] [stdout] f33749b1818239a35c51bd0561953de7e73208250fe91320204c40e4a26848ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80265a74cd129ae126959dc3829a0e39f4490b2b477e4129e2be8566e39e3c86 [INFO] running `Command { std: "docker" "start" "-a" "80265a74cd129ae126959dc3829a0e39f4490b2b477e4129e2be8566e39e3c86", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking rio v0.9.4 [INFO] [stderr] Compiling syn v2.0.48 [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: 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: the item `Ordering` is imported redundantly [INFO] [stdout] --> src/ebr/internal.rs:627:42 [INFO] [stdout] | [INFO] [stdout] 627 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 628 | [INFO] [stdout] 629 | use super::*; [INFO] [stdout] | -------- the item `Ordering` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pin` is imported redundantly [INFO] [stdout] --> src/ebr/queue.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | use super::*; [INFO] [stdout] | -------- the item `pin` is already imported here [INFO] [stdout] 224 | use crate::ebr::pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] [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: the item `Owned` is imported redundantly [INFO] [stdout] --> src/mdlist.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 492 | use super::*; [INFO] [stdout] | -------- the item `Owned` is already imported here [INFO] [stdout] 493 | use crate::ebr::collector::Collector; [INFO] [stdout] 494 | use crate::ebr::Owned; [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: 34 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: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [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] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.16s [INFO] running `Command { std: "docker" "inspect" "80265a74cd129ae126959dc3829a0e39f4490b2b477e4129e2be8566e39e3c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80265a74cd129ae126959dc3829a0e39f4490b2b477e4129e2be8566e39e3c86", kill_on_drop: false }` [INFO] [stdout] 80265a74cd129ae126959dc3829a0e39f4490b2b477e4129e2be8566e39e3c86