lance-encoding 1.0.4

Encoders and decoders for the Lance file format
Documentation
Build #2927490 2026-02-24 07:27:31

# rustc version rustc 1.95.0-nightly (b3869b94c 2026-02-23)

# docs.rs version docsrs 0.0.0 (91dcccd9 2026-02-13 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder3/builds/lance-encoding-1.0.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder3/builds/lance-encoding-1.0.4/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder3/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "protoc" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260223-1.95.0-nightly-b3869b94c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 700f91aa6ab5c45e352dcc0aeec501140d88da21a5d251d540c238ba192566dd [INFO] running `Command { std: "docker" "start" "-a" "700f91aa6ab5c45e352dcc0aeec501140d88da21a5d251d540c238ba192566dd", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting lance-encoding v1.0.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `dealloc` [INFO] [stderr] --> src/buffer.rs:125:46 [INFO] [stderr] | [INFO] [stderr] 125 | /// > needs to be equal to satisfy the [`dealloc`] requirement that memory must be [INFO] [stderr] | ^^^^^^^ no item named `dealloc` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `T` [INFO] [stderr] --> src/buffer.rs:131:27 [INFO] [stderr] | [INFO] [stderr] 131 | /// Reinterprets Arc<[T]> as a LanceBuffer [INFO] [stderr] | ^ no item named `T` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `T` [INFO] [stderr] --> src/buffer.rs:133:67 [INFO] [stderr] | [INFO] [stderr] 133 | /// This is similar to [`Self::reinterpret_vec`] but for Arc<[T]> instead of Vec<T> [INFO] [stderr] | ^ no item named `T` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `T` [INFO] [stderr] --> src/buffer.rs:171:45 [INFO] [stderr] | [INFO] [stderr] 171 | /// Reinterprets a LanceBuffer into a &[T] [INFO] [stderr] | ^ no item named `T` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `borrow_to_typed_slice` [INFO] [stderr] --> src/buffer.rs:173:18 [INFO] [stderr] | [INFO] [stderr] 173 | /// Unlike [`borrow_to_typed_slice`], this function returns a `Cow<'_, [T]>` instead of an owned [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no item named `borrow_to_typed_slice` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `arrow_data::data::ArrayData` [INFO] [stderr] --> src/data.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | //! between [`arrow_data::data::ArrayData`] (which, as a collection of buffers, is too [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `data` in module `arrow_data` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `self::FieldScheduler` [INFO] [stderr] --> src/decoder.rs:14:32 [INFO] [stderr] | [INFO] [stderr] 14 | //! Scheduling is split into [`self::FieldScheduler`] and [`self::PageScheduler`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `FieldScheduler` in module `decoder` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `self::PhysicalPageDecoder` [INFO] [stderr] --> src/decoder.rs:26:31 [INFO] [stderr] | [INFO] [stderr] 26 | //! Decoders are split into [`self::PhysicalPageDecoder`] and [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `PhysicalPageDecoder` in module `decoder` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::decode::DecodeBatchScheduler` [INFO] [stderr] --> src/decoder.rs:1327:13 [INFO] [stderr] | [INFO] [stderr] 1327 | /// [`crate::decode::DecodeBatchScheduler`] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `decode` in module `lance_encoding` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::decode::DecodeBatchScheduler` [INFO] [stderr] --> src/decoder.rs:1673:13 [INFO] [stderr] | [INFO] [stderr] 1673 | /// [`crate::decode::DecodeBatchScheduler`] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `decode` in module `lance_encoding` [INFO] [stderr] [INFO] [stderr] warning: public documentation for `MiniBlockScheduler` links to private item `ChunkInstructions` [INFO] [stderr] --> src/encodings/logical/primitive.rs:1198:64 [INFO] [stderr] | [INFO] [stderr] 1198 | /// The above prose descriptions are what are represented by [`ChunkInstructions`] and [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: public documentation for `MiniBlockScheduler` links to private item `ChunkDrainInstructions` [INFO] [stderr] --> src/encodings/logical/primitive.rs:1199:7 [INFO] [stderr] | [INFO] [stderr] 1199 | /// [`ChunkDrainInstructions`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ this item is private [INFO] [stderr] | [INFO] [stderr] = note: this link will resolve properly if you pass `--document-private-items` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `17` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/lance-encoding-531c675df9420124/out/lance.encodings21.rs:47:43 [INFO] [stderr] | [INFO] [stderr] 47 | /// 3 to support access like rows[50][17][3]. [INFO] [stderr] | ^^ no item named `17` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `3` [INFO] [stderr] --> /opt/rustwide/target/x86_64-unknown-linux-gnu/debug/build/lance-encoding-531c675df9420124/out/lance.encodings21.rs:47:47 [INFO] [stderr] | [INFO] [stderr] 47 | /// 3 to support access like rows[50][17][3]. [INFO] [stderr] | ^ no item named `3` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `Self::wait` [INFO] [stderr] --> src/previous/decoder.rs:97:77 [INFO] [stderr] | [INFO] [stderr] 97 | /// The decoder is initially "unloaded" (doesn't have all its data). The [`Self::wait`] [INFO] [stderr] | ^^^^^^^^^^ the trait `LogicalPageDecoder` has no associated item named `wait` [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/buffer.rs:117:27 [INFO] [stderr] | [INFO] [stderr] 117 | /// Reinterprets a Vec<T> as a LanceBuffer [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 117 | /// Reinterprets a `Vec<T>` as a LanceBuffer [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/buffer.rs:119:69 [INFO] [stderr] | [INFO] [stderr] 119 | /// This is a zero-copy operation. We can safely reinterpret Vec<T> into &[u8] which is what happens here. [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 119 | /// This is a zero-copy operation. We can safely reinterpret `Vec<T>` into &[u8] which is what happens here. [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/buffer.rs:120:52 [INFO] [stderr] | [INFO] [stderr] 120 | /// However, we cannot safely reinterpret a Vec<T> into a Vec<u8> in rust due to alignment constraints [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 120 | /// However, we cannot safely reinterpret a `Vec<T>` into a Vec<u8> in rust due to alignment constraints [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `u8` [INFO] [stderr] --> src/buffer.rs:120:66 [INFO] [stderr] | [INFO] [stderr] 120 | /// However, we cannot safely reinterpret a Vec<T> into a Vec<u8> in rust due to alignment constraints [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 120 | /// However, we cannot safely reinterpret a Vec<T> into a `Vec<u8>` in rust due to alignment constraints [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/buffer.rs:133:85 [INFO] [stderr] | [INFO] [stderr] 133 | /// This is similar to [`Self::reinterpret_vec`] but for Arc<[T]> instead of Vec<T> [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 133 | /// This is similar to [`Self::reinterpret_vec`] but for Arc<[T]> instead of `Vec<T>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `T` [INFO] [stderr] --> src/buffer.rs:145:46 [INFO] [stderr] | [INFO] [stderr] 145 | /// Reinterprets a LanceBuffer into a Vec<T> [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 145 | /// Reinterprets a LanceBuffer into a `Vec<T>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `UInt32` [INFO] [stderr] --> src/decoder.rs:63:81 [INFO] [stderr] | [INFO] [stderr] 63 | //! So, for example, a single field in the Arrow schema might have the type List<UInt32> [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 63 | //! So, for example, a single field in the Arrow schema might have the type `List<UInt32>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `int` [INFO] [stderr] --> src/decoder.rs:2219:14 [INFO] [stderr] | [INFO] [stderr] 2219 | /// list<list<int>> and each outer list has 10 rows and each inner [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 2219 | /// `list<list<int>>` and each outer list has 10 rows and each inner [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `Int32` [INFO] [stderr] --> src/encoder.rs:49:31 [INFO] [stderr] | [INFO] [stderr] 49 | /// For example, FixedSizeList<Int32> will have two EncodedArray instances and one EncodedPage [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 49 | /// For example, `FixedSizeList<Int32>` will have two EncodedArray instances and one EncodedPage [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `u8` [INFO] [stderr] --> src/previous/encodings/logical/binary.rs:65:89 [INFO] [stderr] | [INFO] [stderr] 65 | /// A logical scheduler for utf8/binary pages which assumes the data are encoded as List<u8> [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: try marking as source code [INFO] [stderr] | [INFO] [stderr] 65 | /// A logical scheduler for utf8/binary pages which assumes the data are encoded as `List<u8>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `lance-encoding` (lib doc) generated 25 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.03s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/lance_encoding/index.html [INFO] running `Command { std: "docker" "inspect" "700f91aa6ab5c45e352dcc0aeec501140d88da21a5d251d540c238ba192566dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700f91aa6ab5c45e352dcc0aeec501140d88da21a5d251d540c238ba192566dd", kill_on_drop: false }` [INFO] [stdout] 700f91aa6ab5c45e352dcc0aeec501140d88da21a5d251d540c238ba192566dd