swc_ecma_parser 6.0.0

Feature-complete es2019 parser.
Documentation
Build #1570796 2024-12-02T02:06:14.016078+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (3767aed0 2024-11-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_parser-6.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_parser-6.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-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-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] 4d1ff75b45ae44062fc57913e78093beac0e09bfb70811b12bb98ce55f920d96
[INFO] running `Command { std: "docker" "start" "-a" "4d1ff75b45ae44062fc57913e78093beac0e09bfb70811b12bb98ce55f920d96", 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 v6.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `serde-impl`
[INFO] [stderr]     --> src/parser/expr.rs:1982:1
[INFO] [stderr]      |
[INFO] [stderr] 1982 | #[ast_node]
[INFO] [stderr]      | ^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `tracing-spans`, `typescript`, and `verify`
[INFO] [stderr]      = help: consider adding `serde-impl` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]      = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `rkyv-impl`
[INFO] [stderr]     --> src/parser/expr.rs:1982:1
[INFO] [stderr]      |
[INFO] [stderr] 1982 | #[ast_node]
[INFO] [stderr]      | ^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `tracing-spans`, `typescript`, and `verify`
[INFO] [stderr]      = help: consider adding `rkyv-impl` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `__rkyv`
[INFO] [stderr]     --> src/parser/expr.rs:1982:1
[INFO] [stderr]      |
[INFO] [stderr] 1982 | #[ast_node]
[INFO] [stderr]      | ^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `tracing-spans`, `typescript`, and `verify`
[INFO] [stderr]      = help: consider adding `__rkyv` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: this warning originates in the attribute macro `ast_node` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `serde-impl`
[INFO] [stderr]     --> src/parser/expr.rs:1982:1
[INFO] [stderr]      |
[INFO] [stderr] 1982 | #[ast_node]
[INFO] [stderr]      | ^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `feature` are: `debug`, `default`, `stacker`, `swc_ecma_visit`, `tracing-spans`, `typescript`, and `verify`
[INFO] [stderr]      = help: consider adding `serde-impl` as a feature in `Cargo.toml`
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]      = note: this warning originates in the derive macro `::swc_common::DeserializeEnum` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[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 13 warnings (run `cargo fix --lib -p swc_ecma_parser` to apply 8 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.92s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/swc_ecma_parser/index.html
[INFO] running `Command { std: "docker" "inspect" "4d1ff75b45ae44062fc57913e78093beac0e09bfb70811b12bb98ce55f920d96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d1ff75b45ae44062fc57913e78093beac0e09bfb70811b12bb98ce55f920d96", kill_on_drop: false }`
[INFO] [stdout] 4d1ff75b45ae44062fc57913e78093beac0e09bfb70811b12bb98ce55f920d96