swc 5.0.2

Speedy web compiler
Documentation
Build #1517776 2024-11-11T02:12:45.248070+00:00
# rustc version
rustc 1.84.0-nightly (143ce0920 2024-11-10)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/swc-5.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/swc-5.0.2/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\", \"-20241110-1.84.0-nightly-143ce0920\", \"--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] a1a120973acddac62f5e02f4a5664fd2e6510c483fd1f10c31162a8613be2cd7
[INFO] running `Command { std: "docker" "start" "-a" "a1a120973acddac62f5e02f4a5664fd2e6510c483fd1f10c31162a8613be2cd7", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc v5.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `testing`
[INFO] [stderr]   --> src/lib.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 | //! See [testing] and [swc_ecma_transforms_testing](https://docs.rs/swc_ecma_transforms_testing).
[INFO] [stderr]    |          ^^^^^^^ no item named `testing` 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 `swc_ecma_transforms_base::resolver::resolver_with_mark`
[INFO] [stderr]   --> src/lib.rs:45:10
[INFO] [stderr]    |
[INFO] [stderr] 45 | //! See [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_transforms_base::resolver::resolver_with_mark`
[INFO] [stderr]   --> src/lib.rs:50:6
[INFO] [stderr]    |
[INFO] [stderr] 50 | //! [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::Id`
[INFO] [stderr]   --> src/lib.rs:54:10
[INFO] [stderr]    |
[INFO] [stderr] 54 | //! See [swc_ecma_utils::Id]. You can use [swc_ecma_utils::IdentLike::to_id] to
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^ no item named `Id` in module `swc_ecma_utils`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `swc_ecma_utils::IdentLike::to_id`
[INFO] [stderr]   --> src/lib.rs:54:44
[INFO] [stderr]    |
[INFO] [stderr] 54 | //! See [swc_ecma_utils::Id]. You can use [swc_ecma_utils::IdentLike::to_id] to
[INFO] [stderr]    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `IdentLike` in module `swc_ecma_utils`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `swc_ecma_utils::prepend`
[INFO] [stderr]   --> src/lib.rs:64:41
[INFO] [stderr]    |
[INFO] [stderr] 64 | //! [swc_ecma_utils::prepend_stmts] or [swc_ecma_utils::prepend] if `len == 1`.
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^ no item named `prepend` in module `swc_ecma_utils`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `swc_ecma_utils::ExprFactory::as_obj`
[INFO] [stderr]   --> src/lib.rs:89:9
[INFO] [stderr]    |
[INFO] [stderr] 89 | //!    [swc_ecma_utils::ExprFactory::as_obj] to create object field.
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ExprFactory` has no associated item named `as_obj`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/config/mod.rs:1446:9
[INFO] [stderr]      |
[INFO] [stderr] 1446 |     /// https://www.typescriptlang.org/tsconfig#useDefineForClassFields
[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] 1446 |     /// <https://www.typescriptlang.org/tsconfig#useDefineForClassFields>
[INFO] [stderr]      |         +                                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/config/mod.rs:1450:9
[INFO] [stderr]      |
[INFO] [stderr] 1450 |     /// https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax
[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] 1450 |     /// <https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax>
[INFO] [stderr]      |         +                                                            +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:451:20
[INFO] [stderr]     |
[INFO] [stderr] 451 |     /// path. See: https://github.com/swc-project/swc/issues/1255
[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] 451 |     /// path. See: <https://github.com/swc-project/swc/issues/1255>
[INFO] [stderr]     |                    +                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: `swc` (lib doc) generated 10 warnings (run `cargo fix --lib -p swc` to apply 3 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/swc/index.html
[INFO] running `Command { std: "docker" "inspect" "a1a120973acddac62f5e02f4a5664fd2e6510c483fd1f10c31162a8613be2cd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1a120973acddac62f5e02f4a5664fd2e6510c483fd1f10c31162a8613be2cd7", kill_on_drop: false }`
[INFO] [stdout] a1a120973acddac62f5e02f4a5664fd2e6510c483fd1f10c31162a8613be2cd7