swc_common 0.34.4

Common utilities for the swc project.
Documentation
Build #1283203 2024-07-06T06:34:41.014311+00:00
# rustc version
rustc 1.81.0-nightly (524d806c6 2024-07-05)# docs.rs version
docsrs 0.6.0 (bb8cd489 2024-06-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.34.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.34.4/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" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240705-1.81.0-nightly-524d806c6\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] 8b4618185268991dd49a315c2d71091667475422947945b3ae703d22cc961c1d
[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" "8b4618185268991dd49a315c2d71091667475422947945b3ae703d22cc961c1d", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc_common v0.34.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `&Comments`
[INFO] [stderr]   --> src/comments.rs:26:6
[INFO] [stderr]    |
[INFO] [stderr] 26 | /// [&Comments] to the parser. Thirdly, `(&self)` allows multi-threaded
[INFO] [stderr]    |      ^^^^^^^^^ no item named `&Comments` 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 `Atom::new_bad`
[INFO] [stderr]    --> src/comments.rs:642:11
[INFO] [stderr]     |
[INFO] [stderr] 642 |     /// [`Atom::new_bad`][] is perfectly fine for this value.
[INFO] [stderr]     |           ^^^^^^^^^^^^^ the struct `Atom` has no field or associated item named `new_bad`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr]   --> src/input.rs:25:36
[INFO] [stderr]    |
[INFO] [stderr] 25 |     /// `swc` get this value from [SourceMap] because code generator depends on
[INFO] [stderr]    |                                    ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr]   --> src/input.rs:26:26
[INFO] [stderr]    |
[INFO] [stderr] 26 |     /// some methods of [SourceMap].
[INFO] [stderr]    |                          ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr]   --> src/input.rs:28:10
[INFO] [stderr]    |
[INFO] [stderr] 28 |     /// [SourceMap], you may use any value.
[INFO] [stderr]    |          ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `last_pos`
[INFO] [stderr]    --> src/input.rs:264:31
[INFO] [stderr]     |
[INFO] [stderr] 264 |     /// This method modifies [last_pos()] and [cur_pos()].
[INFO] [stderr]     |                               ^^^^^^^^^^ no item named `last_pos` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `cur_pos`
[INFO] [stderr]    --> src/input.rs:264:48
[INFO] [stderr]     |
[INFO] [stderr] 264 |     /// This method modifies [last_pos()] and [cur_pos()].
[INFO] [stderr]     |                                                ^^^^^^^^^ no item named `cur_pos` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Comments`
[INFO] [stderr]   --> src/comments.rs:22:25
[INFO] [stderr]    |
[INFO] [stderr] 22 | /// must use [Rc<RefCell<Comments>>]. We have two option. We may implement it in
[INFO] [stderr]    |                         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 22 | /// must use [`Rc<RefCell<Comments>>`]. We have two option. We may implement it in
[INFO] [stderr]    |               +                     +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `error`
[INFO] [stderr]    --> src/errors/mod.rs:366:41
[INFO] [stderr]     |
[INFO] [stderr] 366 |     /// Used to suggest rustc --explain <error code>
[INFO] [stderr]     |                                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/iter.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | /// Copied from https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3
[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] 1 | /// Copied from <https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3>
[INFO] [stderr]   |                 +                                                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/syntax_pos.rs:1265:35
[INFO] [stderr]      |
[INFO] [stderr] 1265 | /// to avoid redundant data copy (https://github.com/swc-project/swc/issues/5471)
[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] 1265 | /// to avoid redundant data copy (<https://github.com/swc-project/swc/issues/5471>)
[INFO] [stderr]      |                                   +                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]     --> src/syntax_pos.rs:1354:35
[INFO] [stderr]      |
[INFO] [stderr] 1354 | /// to avoid redundant data copy (https://github.com/swc-project/swc/issues/5471)
[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] 1354 | /// to avoid redundant data copy (<https://github.com/swc-project/swc/issues/5471>)
[INFO] [stderr]      |                                   +                                              +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/util/iter.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 |     /// Copied from https://stackoverflow.com/a/49456265/6193633
[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] 2 |     /// Copied from <https://stackoverflow.com/a/49456265/6193633>
[INFO] [stderr]   |                     +                                            +
[INFO] [stderr] 
[INFO] [stderr] warning: `swc_common` (lib doc) generated 13 warnings (run `cargo fix --lib -p swc_common` to apply 4 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/swc_common/index.html
[INFO] running `Command { std: "docker" "inspect" "8b4618185268991dd49a315c2d71091667475422947945b3ae703d22cc961c1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b4618185268991dd49a315c2d71091667475422947945b3ae703d22cc961c1d", kill_on_drop: false }`
[INFO] [stdout] 8b4618185268991dd49a315c2d71091667475422947945b3ae703d22cc961c1d