swc_ecma_transforms_react 0.190.0

rust port of babel and closure compiler.
Documentation
Build #1312658 2024-08-05T09:52:04.703860+00:00
# rustc version
rustc 1.82.0-nightly (176e54520 2024-08-04)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.190.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.190.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240804-1.82.0-nightly-176e54520\", \"--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] d93c23d63efd90e9aeba5734d52491fe0412d4958e8dbdd4ceabd9f6b6652273
[INFO] running `Command { std: "docker" "start" "-a" "d93c23d63efd90e9aeba5734d52491fe0412d4958e8dbdd4ceabd9f6b6652273", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc_ecma_transforms_react v0.190.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `swc_ecma_transforms_base::resolver::resolver_with_mark`
[INFO] [stderr]    --> src/jsx/mod.rs:172:6
[INFO] [stderr]     |
[INFO] [stderr] 172 | /// [swc_ecma_transforms_base::resolver::resolver_with_mark].
[INFO] [stderr]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `resolver` is a function, not a module or type, and cannot have associated items
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `swc_ecma_transforms_base::resolver::resolver_with_mark`
[INFO] [stderr]   --> src/lib.rs:31:6
[INFO] [stderr]    |
[INFO] [stderr] 31 | /// [swc_ecma_transforms_base::resolver::resolver_with_mark].
[INFO] [stderr]    |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `resolver` is a function, not a module or type, and cannot have associated items
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `swc_ecma_utils::HANDLER`
[INFO] [stderr]   --> src/lib.rs:37:21
[INFO] [stderr]    |
[INFO] [stderr] 37 | /// This pass uses [swc_ecma_utils::HANDLER].
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^ no item named `HANDLER` in module `swc_ecma_utils`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/jsx/mod.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | /// https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#runtime
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 29 | /// <https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#runtime>
[INFO] [stderr]    |     +                                                                   +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/pure_annotations/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// See https://reactjs.org/docs/react-api.html
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// See <https://reactjs.org/docs/react-api.html>
[INFO] [stderr]    |         +                                       +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/refresh/mod.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 | /// https://github.com/facebook/react/blob/main/packages/react-refresh/src/ReactFreshBabelPlugin.js
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 48 | /// <https://github.com/facebook/react/blob/main/packages/react-refresh/src/ReactFreshBabelPlugin.js>
[INFO] [stderr]    |     +                                                                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: `swc_ecma_transforms_react` (lib doc) generated 6 warnings (run `cargo fix --lib -p swc_ecma_transforms_react` to apply 3 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/swc_ecma_transforms_react/index.html
[INFO] running `Command { std: "docker" "inspect" "d93c23d63efd90e9aeba5734d52491fe0412d4958e8dbdd4ceabd9f6b6652273", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d93c23d63efd90e9aeba5734d52491fe0412d4958e8dbdd4ceabd9f6b6652273", kill_on_drop: false }`
[INFO] [stdout] d93c23d63efd90e9aeba5734d52491fe0412d4958e8dbdd4ceabd9f6b6652273