dprint-swc-ext 0.21.0

Functionality to make swc easier to work with.
Documentation
Build #1486539 2024-10-30T12:55:49.187043+00:00
# rustc version
rustc 1.84.0-nightly (1e4f10ba6 2024-10-29)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/dprint-swc-ext-0.21.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/dprint-swc-ext-0.21.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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241029-1.84.0-nightly-1e4f10ba6\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 320a08ae92e8aea3ff709d4939551d8e14124c56b2aa534e9969650a7d742ca8
[INFO] running `Command { std: "docker" "start" "-a" "320a08ae92e8aea3ff709d4939551d8e14124c56b2aa534e9969650a7d742ca8", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting dprint-swc-ext v0.21.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `b`
[INFO] [stderr]     --> src/view/generated.rs:2720:19
[INFO] [stderr]      |
[INFO] [stderr] 2720 |   /// computed (a[b]) member expression and property is an Expression. If
[INFO] [stderr]      |                   ^ no item named `b` in scope
[INFO] [stderr]      |
[INFO] [stderr]      = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]      = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Atom`
[INFO] [stderr]      --> src/view/generated.rs:12633:39
[INFO] [stderr]       |
[INFO] [stderr] 12633 | /// stored using an interned string, [Atom] . The second
[INFO] [stderr]       |                                       ^^^^ no item named `Atom` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Arc`
[INFO] [stderr]      --> src/view/generated.rs:12649:43
[INFO] [stderr]       |
[INFO] [stderr] 12649 | /// in rust, type like `Scope`  requires [Arc<Mutex<Scope>>] so swc uses
[INFO] [stderr]       |                                           ^^^^^^^^^^^^^^^^^ no item named `Arc` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyntaxContext`
[INFO] [stderr]      --> src/view/generated.rs:12652:6
[INFO] [stderr]       |
[INFO] [stderr] 12652 | /// [SyntaxContext]. The notation for the syntax
[INFO] [stderr]       |      ^^^^^^^^^^^^^ no item named `SyntaxContext` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Atom`
[INFO] [stderr]      --> src/view/generated.rs:12666:7
[INFO] [stderr]       |
[INFO] [stderr] 12666 | /// ([Atom], [SyntaxContext])
[INFO] [stderr]       |       ^^^^ no item named `Atom` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SyntaxContext`
[INFO] [stderr]      --> src/view/generated.rs:12666:15
[INFO] [stderr]       |
[INFO] [stderr] 12666 | /// ([Atom], [SyntaxContext])
[INFO] [stderr]       |               ^^^^^^^^^^^^^ no item named `SyntaxContext` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Id`
[INFO] [stderr]      --> src/view/generated.rs:12668:10
[INFO] [stderr]       |
[INFO] [stderr] 12668 | /// See [Id], which is a type alias for this.
[INFO] [stderr]       |          ^^ no item named `Id` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Id`
[INFO] [stderr]      --> src/view/generated.rs:12678:27
[INFO] [stderr]       |
[INFO] [stderr] 12678 | /// There's a type named [Id] which only contains minimal information to
[INFO] [stderr]       |                           ^^ no item named `Id` in scope
[INFO] [stderr]       |
[INFO] [stderr]       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `crate::Ident`
[INFO] [stderr]      --> src/view/generated.rs:15398:48
[INFO] [stderr]       |
[INFO] [stderr] 15398 |   /// **Note**: This should not be `NaN`. Use [crate::Ident] to represent NaN.
[INFO] [stderr]       |                                                ^^^^^^^^^^^^ no item named `Ident` in module `dprint_swc_ext`
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Scope`
[INFO] [stderr]      --> src/view/generated.rs:12649:52
[INFO] [stderr]       |
[INFO] [stderr] 12649 | /// in rust, type like `Scope`  requires [Arc<Mutex<Scope>>] so swc uses
[INFO] [stderr]       |                                                    ^^^^^^^
[INFO] [stderr]       |
[INFO] [stderr]       = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]       |
[INFO] [stderr] 12649 | /// in rust, type like `Scope`  requires [`Arc<Mutex<Scope>>`] so swc uses
[INFO] [stderr]       |                                           +                 +
[INFO] [stderr] 
[INFO] [stderr] warning: `dprint-swc-ext` (lib doc) generated 10 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/dprint_swc_ext/index.html
[INFO] running `Command { std: "docker" "inspect" "320a08ae92e8aea3ff709d4939551d8e14124c56b2aa534e9969650a7d742ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "320a08ae92e8aea3ff709d4939551d8e14124c56b2aa534e9969650a7d742ca8", kill_on_drop: false }`
[INFO] [stdout] 320a08ae92e8aea3ff709d4939551d8e14124c56b2aa534e9969650a7d742ca8