swc_ecma_transforms_react 0.173.22

rust port of babel and closure compiler.
Documentation
Build #835510 2023-06-12T03:14:15.485770+00:00
# rustc version
rustc 1.72.0-nightly (37998ab50 2023-06-11)# docs.rs version
docsrs 0.6.0 (4b18bfe6 2023-06-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.173.22/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_transforms_react-0.173.22/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230611-1.72.0-nightly-37998ab50\", \"--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\"" "-Zrustdoc-scrape-examples" "-j3" "--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] a525f97a1ee5b650de3ef8a783c626142e13560127c510e86a71751fa1077f82
[INFO] running `Command { std: "docker" "start" "-a" "a525f97a1ee5b650de3ef8a783c626142e13560127c510e86a71751fa1077f82", 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.173.22 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `swc_ecma_transforms_base::resolver::resolver_with_mark`
[INFO] [stderr]    --> src/jsx/mod.rs:171:6
[INFO] [stderr]     |
[INFO] [stderr] 171 | /// [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:28:6
[INFO] [stderr]    |
[INFO] [stderr] 28 | /// [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:34:21
[INFO] [stderr]    |
[INFO] [stderr] 34 | /// 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:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 | /// https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#runtime
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#runtime>`
[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] 
[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]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://reactjs.org/docs/react-api.html>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[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]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/facebook/react/blob/main/packages/react-refresh/src/ReactFreshBabelPlugin.js>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[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 [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "a525f97a1ee5b650de3ef8a783c626142e13560127c510e86a71751fa1077f82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a525f97a1ee5b650de3ef8a783c626142e13560127c510e86a71751fa1077f82", kill_on_drop: false }`
[INFO] [stdout] a525f97a1ee5b650de3ef8a783c626142e13560127c510e86a71751fa1077f82