swc_common 0.37.5

Common utilities for the swc project.
Documentation
Build #1334036 2024-08-23T02:39:14.479968+00:00
# rustc version
rustc 1.82.0-nightly (eff09483c 2024-08-22)# docs.rs version
docsrs 0.6.0 (a6155e2c 2024-08-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.37.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.37.5/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/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\", \"-20240822-1.82.0-nightly-eff09483c\", \"--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-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", 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] 413d376afc341b4de11fe63d582a0c207a81f22ab3f41f4e0efd40de1b2ba453
[INFO] running `Command { std: "docker" "start" "-a" "413d376afc341b4de11fe63d582a0c207a81f22ab3f41f4e0efd40de1b2ba453", 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.37.5 (/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:26:36
[INFO] [stderr]    |
[INFO] [stderr] 26 |     /// `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:27:26
[INFO] [stderr]    |
[INFO] [stderr] 27 |     /// 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:29:10
[INFO] [stderr]    |
[INFO] [stderr] 29 |     /// [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:274:31
[INFO] [stderr]     |
[INFO] [stderr] 274 |     /// 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:274:48
[INFO] [stderr]     |
[INFO] [stderr] 274 |     /// 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: unresolved link to `Ident`
[INFO] [stderr]   --> src/syntax_pos/hygiene.rs:58:37
[INFO] [stderr]    |
[INFO] [stderr] 58 |     /// In `op`, [EqIgnoreSpan] of [Ident] will ignore the syntax context.
[INFO] [stderr]    |                                     ^^^^^ no item named `Ident` 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:1144:35
[INFO] [stderr]      |
[INFO] [stderr] 1144 | /// 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] 1144 | /// 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:1233:35
[INFO] [stderr]      |
[INFO] [stderr] 1233 | /// 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] 1233 | /// 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 14 warnings (run `cargo fix --lib -p swc_common` to apply 4 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-pc-windows-msvc/doc/swc_common/index.html
[INFO] running `Command { std: "docker" "inspect" "413d376afc341b4de11fe63d582a0c207a81f22ab3f41f4e0efd40de1b2ba453", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "413d376afc341b4de11fe63d582a0c207a81f22ab3f41f4e0efd40de1b2ba453", kill_on_drop: false }`
[INFO] [stdout] 413d376afc341b4de11fe63d582a0c207a81f22ab3f41f4e0efd40de1b2ba453