swc_common 0.17.25

Common utilities for the swc project.
Documentation
Build #548929 2022-04-27T05:48:50.460729+00:00
# rustc version
rustc 1.62.0-nightly (082e4ca49 2022-04-26)# docs.rs version
docsrs 0.6.0 (de197f9 2022-04-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.17.25/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.17.25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220426-1.62.0-nightly-082e4ca49\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-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] 7c0cb41254821a472d243d09bf36fa806061ced21fbefdd2731c26b71d01c064
[INFO] running `Command { std: "docker" "start" "-a" "7c0cb41254821a472d243d09bf36fa806061ced21fbefdd2731c26b71d01c064", kill_on_drop: false }`
[INFO] [stderr]  Documenting swc_common v0.17.25 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `&Comments`
[INFO] [stderr]   --> src/comments.rs:25:6
[INFO] [stderr]    |
[INFO] [stderr] 25 | /// [&Comments] to the parser. Thirdly, `(&self)` allows multi-threaded
[INFO] [stderr]    |      ^^^^^^^^^ no item named `&Comments` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[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: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:223:31
[INFO] [stderr]     |
[INFO] [stderr] 223 |     /// 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:223:48
[INFO] [stderr]     |
[INFO] [stderr] 223 |     /// 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: 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]   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[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/util/iter.rs:2:21
[INFO] [stderr]   |
[INFO] [stderr] 2 |     /// Copied from https://stackoverflow.com/a/49456265/6193633
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://stackoverflow.com/a/49456265/6193633>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `swc_common` (lib doc) generated 8 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.28s
[INFO] running `Command { std: "docker" "inspect" "7c0cb41254821a472d243d09bf36fa806061ced21fbefdd2731c26b71d01c064", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c0cb41254821a472d243d09bf36fa806061ced21fbefdd2731c26b71d01c064", kill_on_drop: false }`
[INFO] [stdout] 7c0cb41254821a472d243d09bf36fa806061ced21fbefdd2731c26b71d01c064