swc_ecma_transforms_react 5.0.0

rust port of babel and closure compiler.
Documentation
Build #1499663 2024-11-06T07:25:57.330790+00:00
# rustc version
rustc 1.84.0-nightly (bc5cf994d 2024-11-05)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/swc_ecma_transforms_react-5.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/swc_ecma_transforms_react-5.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241105-1.84.0-nightly-bc5cf994d\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 4e5dc21a8d4b737ffbc4300d2f6588b585252a7eeec13f0bf3c23a2b9a430f4b
[INFO] running `Command { std: "docker" "start" "-a" "4e5dc21a8d4b737ffbc4300d2f6588b585252a7eeec13f0bf3c23a2b9a430f4b", 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 v5.0.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:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | /// 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] 14 | /// 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.93s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/swc_ecma_transforms_react/index.html
[INFO] running `Command { std: "docker" "inspect" "4e5dc21a8d4b737ffbc4300d2f6588b585252a7eeec13f0bf3c23a2b9a430f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e5dc21a8d4b737ffbc4300d2f6588b585252a7eeec13f0bf3c23a2b9a430f4b", kill_on_drop: false }`
[INFO] [stdout] 4e5dc21a8d4b737ffbc4300d2f6588b585252a7eeec13f0bf3c23a2b9a430f4b