rspack_plugin_externals 0.1.0

rspack externals plugin
Build #1316419 2024-08-08T14:50:52.363299+00:00
# rustc version
rustc 1.82.0-nightly (e57f3090a 2024-08-05)# docs.rs version
docsrs 0.6.0 (a6435f13 2024-08-07)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/rspack_plugin_externals-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rspack_plugin_externals-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-08-06" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240805-1.82.0-nightly-e57f3090a\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2432df2c14140f8003657c3bdf50fafe2bc22d52edeeca32dc9e8f8fa54d86d6
[INFO] running `Command { std: "docker" "start" "-a" "2432df2c14140f8003657c3bdf50fafe2bc22d52edeeca32dc9e8f8fa54d86d6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking swc v0.282.3
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/swc-0.282.3/src/lib.rs:909:21
[INFO] [stderr]     |
[INFO] [stderr] 909 |                     orig,
[INFO] [stderr]     |                     ^^^^ expected `sourcemap::SourceMap`, found `sourcemap::types::SourceMap`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `sourcemap::types::SourceMap` and `sourcemap::SourceMap` have similar names, but are actually distinct types
[INFO] [stderr] note: `sourcemap::types::SourceMap` is defined in crate `sourcemap`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sourcemap-9.0.0/src/types.rs:463:1
[INFO] [stderr]     |
[INFO] [stderr] 463 | pub struct SourceMap {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] note: `sourcemap::SourceMap` is defined in crate `sourcemap`
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sourcemap-8.0.1/src/types.rs:481:1
[INFO] [stderr]     |
[INFO] [stderr] 481 | pub struct SourceMap {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: perhaps two different versions of crate `sourcemap` are being used?
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `swc` (lib) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "2432df2c14140f8003657c3bdf50fafe2bc22d52edeeca32dc9e8f8fa54d86d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2432df2c14140f8003657c3bdf50fafe2bc22d52edeeca32dc9e8f8fa54d86d6", kill_on_drop: false }`
[INFO] [stdout] 2432df2c14140f8003657c3bdf50fafe2bc22d52edeeca32dc9e8f8fa54d86d6