swc_ecma_parser 5.0.0

Feature-complete es2019 parser.
Documentation
Build #1499504 2024-11-06T06:47:20.282424+00:00
# rustc version
rustc 1.84.0-nightly (bc5cf994d 2024-11-05)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_parser-5.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_parser-5.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" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241105-1.84.0-nightly-bc5cf994d\", \"--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] 9162aeffd1f1c65d87f5e1f56d2a77b134ce68bdff1396e04a45a65d84b10a2c
[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" "9162aeffd1f1c65d87f5e1f56d2a77b134ce68bdff1396e04a45a65d84b10a2c", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: lexer, parse-all, perf, typescript
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting swc_ecma_parser v5.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/lexer/number.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! See https://tc39.github.io/ecma262/#sec-literals-numeric-literals
[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] 4 | //! See <https://tc39.github.io/ecma262/#sec-literals-numeric-literals>
[INFO] [stderr]   |         +                                                             +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lexer/state.rs:782:9
[INFO] [stderr]     |
[INFO] [stderr] 782 | /// See https://github.com/mozilla/sweet.js/wiki/design
[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] 782 | /// See <https://github.com/mozilla/sweet.js/wiki/design>
[INFO] [stderr]     |         +                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/lexer/table.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! https://github.com/ratel-rust/ratel-core/blob/e55a1310ba69a3f5ce2a9a6eef643feced02ac08/ratel/src/lexer/mod.rs#L665
[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] 5 | //! <https://github.com/ratel-rust/ratel-core/blob/e55a1310ba69a3f5ce2a9a6eef643feced02ac08/ratel/src/lexer/mod.rs#L665>
[INFO] [stderr]   |     +                                                                                                                  +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lexer/util.rs:338:9
[INFO] [stderr]     |
[INFO] [stderr] 338 |     /// https://tc39.github.io/ecma262/#prod-IdentifierStart
[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] 338 |     /// <https://tc39.github.io/ecma262/#prod-IdentifierStart>
[INFO] [stderr]     |         +                                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lexer/util.rs:358:13
[INFO] [stderr]     |
[INFO] [stderr] 358 |     /// See https://tc39.github.io/ecma262/#sec-line-terminators
[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] 358 |     /// See <https://tc39.github.io/ecma262/#sec-line-terminators>
[INFO] [stderr]     |             +                                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lexer/util.rs:368:13
[INFO] [stderr]     |
[INFO] [stderr] 368 |     /// See https://tc39.github.io/ecma262/#sec-literals-string-literals
[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] 368 |     /// See <https://tc39.github.io/ecma262/#sec-literals-string-literals>
[INFO] [stderr]     |             +                                                            +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lexer/util.rs:378:13
[INFO] [stderr]     |
[INFO] [stderr] 378 |     /// See https://tc39.github.io/ecma262/#sec-white-space
[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] 378 |     /// See <https://tc39.github.io/ecma262/#sec-white-space>
[INFO] [stderr]     |             +                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Error`
[INFO] [stderr]   --> src/parser/input.rs:34:47
[INFO] [stderr]    |
[INFO] [stderr] 34 |     /// Implementors should use Rc<RefCell<Vec<Error>>>.
[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] 34 |     /// Implementors should use `Rc<RefCell<Vec<Error>>>`.
[INFO] [stderr]    |                                 +                       +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:329:14
[INFO] [stderr]     |
[INFO] [stderr] 329 |     /// see: https://babeljs.io/docs/en/babel-plugin-transform-typescript#disallowambiguousjsxlike
[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] 329 |     /// see: <https://babeljs.io/docs/en/babel-plugin-transform-typescript#disallowambiguousjsxlike>
[INFO] [stderr]     |              +                                                                                     +
[INFO] [stderr] 
[INFO] [stderr] warning: `swc_ecma_parser` (lib doc) generated 9 warnings (run `cargo fix --lib -p swc_ecma_parser` to apply 8 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/swc_ecma_parser/index.html
[INFO] running `Command { std: "docker" "inspect" "9162aeffd1f1c65d87f5e1f56d2a77b134ce68bdff1396e04a45a65d84b10a2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9162aeffd1f1c65d87f5e1f56d2a77b134ce68bdff1396e04a45a65d84b10a2c", kill_on_drop: false }`
[INFO] [stdout] 9162aeffd1f1c65d87f5e1f56d2a77b134ce68bdff1396e04a45a65d84b10a2c