Skip to content

parquet docs are broken on docs.rs #9649

@alamb

Description

@alamb

Describe the bug

https://docs.rs/crate/parquet/latest

Image

To Reproduce

Seems like something related to object store:

Build log: https://docs.rs/crate/parquet/latest/builds/3059087

[INFO] [stdout] 688ea4d951eee7ddb6f7d1b3774968bb4491b564f2721b4a5c0a75e1775fa7ec
[INFO] running `Command { std: "docker" "start" "-a" "688ea4d951eee7ddb6f7d1b3774968bb4491b564f2721b4a5c0a75e1775fa7ec", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: external_metadata, read_parquet, read_with_rowgroup, write_parquet
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting parquet v58.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `object_store::buffered`
[INFO] [stderr]    --> src/arrow/async_writer/store.rs:25:19
[INFO] [stderr]     |
[INFO] [stderr]  25 | use object_store::buffered::BufWriter;
[INFO] [stderr]     |                   ^^^^^^^^ could not find `buffered` in `object_store`
[INFO] [stderr]     |
[INFO] [stderr] note: found an item that was configured out
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/object_store-0.13.2/src/lib.rs:545:9
[INFO] [stderr]     |
[INFO] [stderr] 544 | #[cfg(feature = "tokio")]
[INFO] [stderr]     |       ----------------- the item is gated behind the `tokio` feature
[INFO] [stderr] 545 | pub mod buffered;
[INFO] [stderr]     |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `parquet`
[INFO] running `Command { std: "docker" "inspect" "688ea4d951eee7ddb6f7d1b3774968bb4491b564f2721b4a5c0a75e1775fa7ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "688ea4d951eee7ddb6f7d1b3774968bb4491b564f2721b4a5c0a75e1775fa7ec", kill_on_drop: false }`
[INFO] [stdout] 688ea4d951eee7ddb6f7d1b3774968bb4491b564f2721b4a5c0a75e1775fa7ec

Expected behavior

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions