Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust documentation for polars-plan broken since 0.40 #17204

Closed
2 tasks done
datapythonista opened this issue Jun 26, 2024 · 1 comment · Fixed by #17266
Closed
2 tasks done

Rust documentation for polars-plan broken since 0.40 #17204

datapythonista opened this issue Jun 26, 2024 · 1 comment · Fixed by #17266
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars

Comments

@datapythonista
Copy link
Contributor

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

See https://docs.rs/crate/polars-plan/0.41.2

Last working version seems to be https://docs.rs/crate/polars-plan/0.39.2

Log output

https://docs.rs/crate/polars-plan/0.41.2/builds/1259470


# rustc version
rustc 1.81.0-nightly (bcf94dec5 2024-06-23)# docs.rs version
docsrs 0.6.0 (34981d90 2024-06-23)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/polars-plan-0.41.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/polars-plan-0.41.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "approx_n_unique temporal serde rolling_window rolling_window_by timezones dtype-date extract_groups dtype-datetime asof_join dtype-duration is_first_distinct pivot dtype-array is_last_distinct dtype-time array_any_all month_start month_end offset_by parquet strings row_hash json python cloud string_to_integer list_any_all pct_change list_gather dtype-i16 round_series cutqcut async ewma ewma_by random chunked_ids repeat_by is_in log string_reverse list_sets propagate_nans mode rank hist object approx_unique dtype-categorical merge_sorted bigidx cov list_sample dtype-i8 fused binary_encoding list_drop_nulls fmt list_to_struct string_pad diff rle is_unique find_many string_encoding ipc search_sorted unique_counts dtype-u8 dtype-struct peaks abs interpolate interpolate_by list_count cum_agg top_k moment semi_anti_join replace dtype-u16 regex ciborium dtype-decimal arg_where business range meta hive_partitions concat_str coalesce dot_diagram trigonometry streaming true_div sign" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240623-1.81.0-nightly-bcf94dec5\", \"--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] [stdout] 52bd7343c5e66f0ae00d6b879174feff6604132d1fd453127a584881a423b482
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "52bd7343c5e66f0ae00d6b879174feff6604132d1fd453127a584881a423b482", kill_on_drop: false }`
[INFO] [stderr] error: none of the selected packages contains these features: approx_n_unique
[INFO] running `Command { std: "docker" "inspect" "52bd7343c5e66f0ae00d6b879174feff6604132d1fd453127a584881a423b482", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52bd7343c5e66f0ae00d6b879174feff6604132d1fd453127a584881a423b482", kill_on_drop: false }`
[INFO] [stdout] 52bd7343c5e66f0ae00d6b879174feff6604132d1fd453127a584881a423b482


### Issue description

Doc build broken, not sure about the reason, if I have to guess maybe related to not enough resources in the worker?

### Expected behavior

Docs should build

### Installed versions

Not relevant
@datapythonista datapythonista added bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars labels Jun 26, 2024
@ritchie46
Copy link
Member

This feature combination fails: https://docs.rs/crate/polars-plan/0.41.2/builds/1259470

"--features" "approx_n_unique temporal serde rolling_window rolling_window_by timezones dtype-date extract_groups dtype-datetime asof_join dtype-duration is_first_distinct pivot dtype-array is_last_distinct dtype-time array_any_all month_start month_end offset_by parquet strings row_hash json python cloud string_to_integer list_any_all pct_change list_gather dtype-i16 round_series cutqcut async ewma ewma_by random chunked_ids repeat_by is_in log string_reverse list_sets propagate_nans mode rank hist object approx_unique dtype-categorical merge_sorted bigidx cov list_sample dtype-i8 fused binary_encoding list_drop_nulls fmt list_to_struct string_pad diff rle is_unique find_many string_encoding ipc search_sorted unique_counts dtype-u8 dtype-struct peaks abs interpolate interpolate_by list_count cum_agg top_k moment semi_anti_join replace dtype-u16 regex ciborium dtype-decimal arg_where business range meta hive_partitions concat_str coalesce dot_diagram trigonometry streaming true_div sign


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants