swc 8.0.0

Speedy web compiler
Documentation
Build #1570897 2024-12-02T03:27:40.085239+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (3767aed0 2024-11-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc-8.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc-8.0.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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] [stdout] ed541354d826c01dae6b89502b67ab19317d6751ade5e1739ba46df173a1cd3e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ed541354d826c01dae6b89502b67ab19317d6751ade5e1739ba46df173a1cd3e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc v8.0.0 (/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:1453:9
[INFO] [stderr]      |
[INFO] [stderr] 1453 |     /// 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] 1453 |     /// <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:1457:9
[INFO] [stderr]      |
[INFO] [stderr] 1457 |     /// 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] 1457 |     /// <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.47s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/swc/index.html
[INFO] running `Command { std: "docker" "inspect" "ed541354d826c01dae6b89502b67ab19317d6751ade5e1739ba46df173a1cd3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed541354d826c01dae6b89502b67ab19317d6751ade5e1739ba46df173a1cd3e", kill_on_drop: false }`
[INFO] [stdout] ed541354d826c01dae6b89502b67ab19317d6751ade5e1739ba46df173a1cd3e