display-as 0.3.0

Compile-time templates for displaying data in different markup formats.
Build #677796 2022-11-19T15:27:46.692199+00:00
# rustc version
rustc 1.67.0-nightly (b833ad56f 2022-11-18)
# docs.rs version
docsrs 0.6.0 (33e304fa 2022-11-19)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/display-as-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/display-as-0.3.0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221118-1.67.0-nightly-b833ad56f\", \"--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\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 34e3cca80f3e2e2f7fdae9f7379da43f7c95be87b3ceec4fc35f58af5702f9d3
[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" "34e3cca80f3e2e2f7fdae9f7379da43f7c95be87b3ceec4fc35f58af5702f9d3", kill_on_drop: false }`
[INFO] [stderr]  Documenting display-as v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0557]: feature has been removed
[INFO] [stderr]    --> src/lib.rs:163:45
[INFO] [stderr]     |
[INFO] [stderr] 163 | #![cfg_attr(feature = "docinclude", feature(external_doc))]
[INFO] [stderr]     |                                             ^^^^^^^^^^^^ feature has been removed
[INFO] [stderr]     |
[INFO] [stderr]     = note: use #[doc = include_str!("filename")] instead, which handles macro invocations
[INFO] [stderr] 
[INFO] [stderr] error[E0726]: implicit elided lifetime not allowed here
[INFO] [stderr]    --> src/lib.rs:315:66
[INFO] [stderr]     |
[INFO] [stderr] 315 |     impl<F: Format, T: DisplayAs<F>> Into<rouille::Response> for As<F, T> {
[INFO] [stderr]     |                                                                  ^^^^^^^^ expected lifetime parameter
[INFO] [stderr]     |
[INFO] [stderr]     = note: assuming a `'static` lifetime...
[INFO] [stderr] help: indicate the anonymous lifetime
[INFO] [stderr]     |
[INFO] [stderr] 315 |     impl<F: Format, T: DisplayAs<F>> Into<rouille::Response> for As<'_, F, T> {
[INFO] [stderr]     |                                                                     +++
[INFO] [stderr] 
[INFO] [stderr] error[E0726]: implicit elided lifetime not allowed here
[INFO] [stderr]    --> src/lib.rs:330:52
[INFO] [stderr]     |
[INFO] [stderr] 330 |     impl<F: Format, T: DisplayAs<F>> Responder for As<F, T> {
[INFO] [stderr]     |                                                    ^^^^^^^^ expected lifetime parameter
[INFO] [stderr]     |
[INFO] [stderr]     = note: assuming a `'static` lifetime...
[INFO] [stderr] help: indicate the anonymous lifetime
[INFO] [stderr]     |
[INFO] [stderr] 330 |     impl<F: Format, T: DisplayAs<F>> Responder for As<'_, F, T> {
[INFO] [stderr]     |                                                       +++
[INFO] [stderr] 
[INFO] [stderr] error[E0726]: implicit elided lifetime not allowed here
[INFO] [stderr]    --> src/lib.rs:352:72
[INFO] [stderr]     |
[INFO] [stderr] 352 |     impl<F: Format, T: DisplayAs<F>> gotham::handler::IntoResponse for As<F, T> {
[INFO] [stderr]     |                                                                        ^^^^^^^^ expected lifetime parameter
[INFO] [stderr]     |
[INFO] [stderr]     = note: assuming a `'static` lifetime...
[INFO] [stderr] help: indicate the anonymous lifetime
[INFO] [stderr]     |
[INFO] [stderr] 352 |     impl<F: Format, T: DisplayAs<F>> gotham::handler::IntoResponse for As<'_, F, T> {
[INFO] [stderr]     |                                                                           +++
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0557, E0726.
[INFO] [stderr] For more information about an error, try `rustc --explain E0557`.
[INFO] [stderr] error: could not document `display-as`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name display_as src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="actix-web"' --cfg 'feature="docinclude"' --cfg 'feature="gotham"' --cfg 'feature="gotham-web"' --cfg 'feature="http"' --cfg 'feature="hyper"' --cfg 'feature="rouille"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -C metadata=1ae4970838cea66a -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern actix_web=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libactix_web-91195f72efa4626a.rmeta --extern display_as_proc_macro=/opt/rustwide/target/debug/deps/libdisplay_as_proc_macro-19d394873dc11d76.so --extern gotham=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libgotham-0d12c408f3f849ad.rmeta --extern http=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libhttp-630b97dda517fd9f.rmeta --extern hyper=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libhyper-c339e84a91dc6de9.rmeta --extern mime=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libmime-8d9904950a6a94db.rmeta --extern proc_macro_hack=/opt/rustwide/target/debug/deps/libproc_macro_hack-bd66513869653eb4.so --extern rouille=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/librouille-69da8e7c69200b1f.rmeta --extern-html-root-url 'actix_web=https://docs.rs/actix-web/0.7.19/x86_64-unknown-linux-gnu' --extern-html-root-url 'display_as_proc_macro=https://docs.rs/display-as-proc-macro/0.3.1/x86_64-unknown-linux-gnu' --extern-html-root-url 'gotham=https://docs.rs/gotham/0.3.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'http=https://docs.rs/http/0.1.21/x86_64-unknown-linux-gnu' --extern-html-root-url 'hyper=https://docs.rs/hyper/0.12.36/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 'proc_macro_hack=https://docs.rs/proc-macro-hack/0.5.19/x86_64-unknown-linux-gnu' --extern-html-root-url 'rouille=https://docs.rs/rouille/2.2.0/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20221118-1.67.0-nightly-b833ad56f --static-root-path /-/rustdoc.static/ --cap-lints warn --disable-per-crate-search --extern-html-root-takes-precedence --crate-version 0.3.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "34e3cca80f3e2e2f7fdae9f7379da43f7c95be87b3ceec4fc35f58af5702f9d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34e3cca80f3e2e2f7fdae9f7379da43f7c95be87b3ceec4fc35f58af5702f9d3", kill_on_drop: false }`
[INFO] [stdout] 34e3cca80f3e2e2f7fdae9f7379da43f7c95be87b3ceec4fc35f58af5702f9d3