swc_ecma_plugin_ast 0.2.0

Special AST for swc, which can be passed to dynamic libraries directly
Build #461424 2021-11-11T11:43:20.183737+00:00
# rustc version
rustc 1.58.0-nightly (82af160c2 2021-11-10)
# docs.rs version
docsrs 0.6.0 (e52460f 2021-11-04)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_plugin_ast-0.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/swc_ecma_plugin_ast-0.2.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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20211110-1.58.0-nightly-82af160c2\", \"--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", kill_on_drop: false }`
[INFO] [stdout] c9020fc198171fb39ac7c8dda2af347646165112dfd445d30afc3e912d1b9246
[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" "c9020fc198171fb39ac7c8dda2af347646165112dfd445d30afc3e912d1b9246", kill_on_drop: false }`
[INFO] [stderr]  Documenting swc_ecma_plugin_ast v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `rplugin::StableAst`
[INFO] [stderr]  --> src/lib.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use rplugin::StableAst;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^ no `StableAst` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `ast_for_plugin` in `rplugin`
[INFO] [stderr]   --> src/lib.rs:67:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | #[rplugin::ast_for_plugin(swc_ecma_ast)]
[INFO] [stderr]    |            ^^^^^^^^^^^^^^ could not find `ast_for_plugin` in `rplugin`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0432`.
[INFO] [stderr] error: could not document `swc_ecma_plugin_ast`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name swc_ecma_plugin_ast src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi -C metadata=f49f9697893f4a57 -L dependency=/opt/rustwide/target/debug/deps --extern abi_stable=/opt/rustwide/target/debug/deps/libabi_stable-fd18de4eac44ad51.rmeta --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-7d865f16b5ec1530.rmeta --extern rplugin=/opt/rustwide/target/debug/deps/librplugin-275fded483d84e97.rmeta --extern swc_atoms=/opt/rustwide/target/debug/deps/libswc_atoms-ca1c83f9f331f439.rmeta --extern swc_common=/opt/rustwide/target/debug/deps/libswc_common-d5ae96c6b7d1e722.rmeta --extern swc_ecma_ast=/opt/rustwide/target/debug/deps/libswc_ecma_ast-2d11a0baa7542e20.rmeta --extern-html-root-url 'abi_stable=https://docs.rs/abi_stable/0.10.3/x86_64-unknown-linux-gnu' --extern-html-root-url 'num_bigint=https://docs.rs/num-bigint/0.2.6/x86_64-unknown-linux-gnu' --extern-html-root-url 'rplugin=https://docs.rs/rplugin/0.1.0/x86_64-unknown-linux-gnu' --extern-html-root-url 'swc_atoms=https://docs.rs/swc_atoms/0.2.9/x86_64-unknown-linux-gnu' --extern-html-root-url 'swc_common=https://docs.rs/swc_common/0.14.6/x86_64-unknown-linux-gnu' --extern-html-root-url 'swc_ecma_ast=https://docs.rs/swc_ecma_ast/0.58.0/x86_64-unknown-linux-gnu' -Zunstable-options -Z unstable-options --emit=invocation-specific --resource-suffix -20211110-1.58.0-nightly-82af160c2 --static-root-path / --cap-lints warn --disable-per-crate-search --crate-version 0.2.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "c9020fc198171fb39ac7c8dda2af347646165112dfd445d30afc3e912d1b9246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9020fc198171fb39ac7c8dda2af347646165112dfd445d30afc3e912d1b9246", kill_on_drop: false }`
[INFO] [stdout] c9020fc198171fb39ac7c8dda2af347646165112dfd445d30afc3e912d1b9246