xlsx_writer 0.1.2

write to xlsx in windows
Build #728417 2023-01-25T03:20:05.827784+00:00
# rustc version
rustc 1.69.0-nightly (c8e6a9e8b 2023-01-23)
# docs.rs version
docsrs 0.6.0 (3b562799 2023-01-23)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/xlsx_writer-0.1.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/xlsx_writer-0.1.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230123-1.69.0-nightly-c8e6a9e8b\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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" "-j3" "--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] 5092950f8d03932d64152f4435f46657cc9ccbf5d169a15b743adf9b38b64559
[INFO] running `Command { std: "docker" "start" "-a" "5092950f8d03932d64152f4435f46657cc9ccbf5d169a15b743adf9b38b64559", kill_on_drop: false }`
[INFO] [stderr]     Checking xlsx_writer v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to check lib in package `xlsx_writer` as a prerequisite for scraping examples from: example "write_xlsx"
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `xlsx_writer` (lib) generated 1 warning
[INFO] [stderr]     Scraping xlsx_writer v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: failed to scan example "write_xlsx" in package `xlsx_writer` for example code usage
[INFO] [stderr]     Try running with `--verbose` to see the error message.
[INFO] [stderr]     If an example should not be scanned, then consider adding `doc-scrape-examples = false` to its `[[example]]` definition in Cargo.toml
[INFO] [stderr] warning: `xlsx_writer` (example "write_xlsx") generated 1 warning
[INFO] [stderr]  Documenting xlsx_writer v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stderr]  --> src/lib.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::os::windows::process::CommandExt;
[INFO] [stderr]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0433`.
[INFO] [stderr] error: could not document `xlsx_writer`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name xlsx_writer src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=fbe2e3f8f57bae4d -Zunstable-options -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libchrono-a7fb830069719396.rmeta --extern dirs=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libdirs-6d160c47c8f2fee9.rmeta --extern encoding_rs=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libencoding_rs-bf5d8e9abab11d71.rmeta --extern rm_rf=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librm_rf-8603fbb390aa9c90.rmeta --extern-html-root-url 'chrono=https://docs.rs/chrono/0.4.23/x86_64-unknown-linux-gnu' --extern-html-root-url 'dirs=https://docs.rs/dirs/3.0.2/x86_64-unknown-linux-gnu' --extern-html-root-url 'encoding_rs=https://docs.rs/encoding_rs/0.8.31/x86_64-unknown-linux-gnu' --extern-html-root-url 'rm_rf=https://docs.rs/rm_rf/0.6.2/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20230123-1.69.0-nightly-c8e6a9e8b --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.1.2` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "5092950f8d03932d64152f4435f46657cc9ccbf5d169a15b743adf9b38b64559", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5092950f8d03932d64152f4435f46657cc9ccbf5d169a15b743adf9b38b64559", kill_on_drop: false }`
[INFO] [stdout] 5092950f8d03932d64152f4435f46657cc9ccbf5d169a15b743adf9b38b64559