salvo-static 0.37.9

Serve static assets for salvo web server framework.
Build #709189 2022-12-26T07:27:55.753468+00:00
# rustc version
rustc 1.68.0-nightly (8dfb33954 2022-12-25)
# docs.rs version
docsrs 0.6.0 (6c24e02a 2022-12-25)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/salvo-static-0.37.9/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/salvo-static-0.37.9/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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221225-1.68.0-nightly-8dfb33954\", \"--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] 0a9976bc46a14946425bb1e89bfb4c047f0fc179bd3bed6d3cf519521f061723
[INFO] running `Command { std: "docker" "start" "-a" "0a9976bc46a14946425bb1e89bfb4c047f0fc179bd3bed6d3cf519521f061723", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting salvo-static v0.37.9 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0658]: `#[doc(cfg)]` is experimental
[INFO] [stderr]   --> src/cfg.rs:8:32
[INFO] [stderr]    |
[INFO] [stderr] 8  |               #[cfg_attr(docsrs, doc(cfg($meta)))]
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/lib.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / cfg_feature! {
[INFO] [stderr] 18 | |     #![feature = "embed"]
[INFO] [stderr] 19 | |     mod embed;
[INFO] [stderr] 20 | |     pub use embed::{render_embedded_file, static_embed, EmbeddedFileExt, StaticEmbed};
[INFO] [stderr] 21 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: see issue #43781 <https://github.com/rust-lang/rust/issues/43781> for more information
[INFO] [stderr]    = help: add `#![feature(doc_cfg)]` to the crate attributes to enable
[INFO] [stderr]    = note: this error originates in the macro `cfg_feature` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0658`.
[INFO] [stderr] error: could not document `salvo-static`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name salvo_static src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="all"' --cfg 'feature="default"' --cfg 'feature="embed"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=09e531a6c9f1913c -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern hex=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libhex-1386508b214dcd96.rmeta --extern mime=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmime-8d9904950a6a94db.rmeta --extern mime_guess=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmime_guess-29852b105495bc7a.rmeta --extern path_slash=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libpath_slash-c50beecd243ef43c.rmeta --extern percent_encoding=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libpercent_encoding-34725cf25164471e.rmeta --extern rust_embed=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librust_embed-18125b3678f9af1e.rmeta --extern salvo_core=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libsalvo_core-334d88ad6ab3674f.rmeta --extern serde=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde-7935003ca4c227dd.rmeta --extern serde_json=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libserde_json-8828f0faca2397eb.rmeta --extern time=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtime-6bfa77f81465d72e.rmeta --extern tokio=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtokio-df74c2a8d6e5794e.rmeta --extern tracing=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libtracing-c157da52dc2c3fde.rmeta --extern-html-root-url 'hex=https://docs.rs/hex/0.4.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'mime=https://docs.rs/mime/0.3.16/x86_64-unknown-linux-gnu' --extern-html-root-url 'mime_guess=https://docs.rs/mime_guess/2.0.4/x86_64-unknown-linux-gnu' --extern-html-root-url 'path_slash=https://docs.rs/path-slash/0.2.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'percent_encoding=https://docs.rs/percent-encoding/2.2.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'rust_embed=https://docs.rs/rust-embed/6.4.2/x86_64-unknown-linux-gnu' --extern-html-root-url 'salvo_core=https://docs.rs/salvo_core/0.37.9/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde=https://docs.rs/serde/1.0.151/x86_64-unknown-linux-gnu' --extern-html-root-url 'serde_json=https://docs.rs/serde_json/1.0.91/x86_64-unknown-linux-gnu' --extern-html-root-url 'time=https://docs.rs/time/0.3.17/x86_64-unknown-linux-gnu' --extern-html-root-url 'tokio=https://docs.rs/tokio/1.23.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'tracing=https://docs.rs/tracing/0.1.37/x86_64-unknown-linux-gnu' -Zunstable-options --cfg docsrs -Z unstable-options --emit=invocation-specific --resource-suffix -20221225-1.68.0-nightly-8dfb33954 --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.37.9` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "0a9976bc46a14946425bb1e89bfb4c047f0fc179bd3bed6d3cf519521f061723", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a9976bc46a14946425bb1e89bfb4c047f0fc179bd3bed6d3cf519521f061723", kill_on_drop: false }`
[INFO] [stdout] 0a9976bc46a14946425bb1e89bfb4c047f0fc179bd3bed6d3cf519521f061723