swc_ecma_transforms_react 0.189.2

rust port of babel and closure compiler.
Documentation
Build #1298587 2024-07-21T12:29:32.276577+00:00
# rustc version
rustc 1.81.0-nightly (506985649 2024-07-20)# docs.rs version
docsrs 0.6.0 (bd66f012 2024-07-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.189.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.189.2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240720-1.81.0-nightly-506985649\", \"--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] ae78df0a3e8526ceb8e8593b4c16983c241c3f1d0ada7c228ee990d89b50d9ba
[INFO] running `Command { std: "docker" "start" "-a" "ae78df0a3e8526ceb8e8593b4c16983c241c3f1d0ada7c228ee990d89b50d9ba", 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.189.2 (/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/i686-unknown-linux-gnu/doc/swc_ecma_transforms_react/index.html
[INFO] running `Command { std: "docker" "inspect" "ae78df0a3e8526ceb8e8593b4c16983c241c3f1d0ada7c228ee990d89b50d9ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae78df0a3e8526ceb8e8593b4c16983c241c3f1d0ada7c228ee990d89b50d9ba", kill_on_drop: false }`
[INFO] [stdout] ae78df0a3e8526ceb8e8593b4c16983c241c3f1d0ada7c228ee990d89b50d9ba