swc_common 0.16.1

Common utilities for the swc project.
Documentation
Build #487998 2022-01-07T07:12:17.142562+00:00
# rustc version
rustc 1.59.0-nightly (cfa4ac66c 2022-01-06)# docs.rs version
docsrs 0.6.0 (c86fbce 2021-12-30)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.16.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_common-0.16.1/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/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\", \"-20220106-1.59.0-nightly-cfa4ac66c\", \"--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] bf5ab1f1258a40b9dd206369e22417ff845ac46716a4cb6b18ac242d9de733da
[INFO] running `Command { std: "docker" "start" "-a" "bf5ab1f1258a40b9dd206369e22417ff845ac46716a4cb6b18ac242d9de733da", kill_on_drop: false }`
[INFO] [stderr]  Documenting swc_common v0.16.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `&Comments`
[INFO] [stderr]   --> src/comments.rs:23:6
[INFO] [stderr]    |
[INFO] [stderr] 23 | /// [&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:24:36
[INFO] [stderr]    |
[INFO] [stderr] 24 |     /// `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:25:26
[INFO] [stderr]    |
[INFO] [stderr] 25 |     /// 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:27:10
[INFO] [stderr]    |
[INFO] [stderr] 27 |     /// [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:221:31
[INFO] [stderr]     |
[INFO] [stderr] 221 |     /// 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:221:48
[INFO] [stderr]     |
[INFO] [stderr] 221 |     /// 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/plugin.rs:12:11
[INFO] [stderr]    |
[INFO] [stderr] 12 | /// TODO: https://github.com/swc-project/swc/issues/3167
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/swc-project/swc/issues/3167>`
[INFO] [stderr]    |
[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/plugin.rs:29:11
[INFO] [stderr]    |
[INFO] [stderr] 29 | /// TODO: https://github.com/swc-project/swc/issues/3167
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/swc-project/swc/issues/3167>`
[INFO] [stderr]    |
[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/syntax_pos.rs:91:5
[INFO] [stderr]    |
[INFO] [stderr] 91 | /// https://rustdoc.swc.rs/swc_ecma_transforms_base/resolver/fn.resolver_with_mark.html
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://rustdoc.swc.rs/swc_ecma_transforms_base/resolver/fn.resolver_with_mark.html>`
[INFO] [stderr]    |
[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 11 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "bf5ab1f1258a40b9dd206369e22417ff845ac46716a4cb6b18ac242d9de733da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf5ab1f1258a40b9dd206369e22417ff845ac46716a4cb6b18ac242d9de733da", kill_on_drop: false }`
[INFO] [stdout] bf5ab1f1258a40b9dd206369e22417ff845ac46716a4cb6b18ac242d9de733da