refactor: rename rspack default export var to rspack format (#12257) #2332
ecosystem-ci.yml
on: push
Get Runner Labels
/
Get Runner Labels
4s
create-comment
5s
calculate-eco-ci-suite
3s
Matrix: Test Linux / test / test
Waiting for pending jobs
Matrix: eco-ci
comment-compare-results
5s
Annotations
24 errors and 2 warnings
|
eco-ci (lynx-stack)
This member cannot have an 'override' modifier because its containing class 'RspeedyDiagnosticProcessor<Compiler>' does not extend another class.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'TCompilerOptions'.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'getSimpleProcessorRunner'.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'ECompilerType'.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'DiagnosticProcessor'.
|
|
eco-ci (lynx-stack)
Parameter 'options' implicitly has an 'any' type.
|
|
eco-ci (lynx-stack)
Parameter '_' implicitly has an 'any' type.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'TCompilerOptions'.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'NormalProcessor'.
|
|
eco-ci (lynx-stack)
Module '"@rspack/test-tools"' has no exported member 'ECompilerType'.
|
|
test-coverage/thresholds.test.ts > coverageThresholds > should check per files threshold correctly:
File: ./rstest.setup.ts#L1
Can't find log(/src\/string.ts coverage for statements .* does not meet "src\/\*\*" threshold/) in%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ test/date.test.ts (0)
✗ src/index.test.ts (0)
✗ test/array.test.ts (0)
✗ test/string.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/w
|
|
test-coverage/thresholds.test.ts > coverageThresholds > should check glob threshold correctly:
File: ./rstest.setup.ts#L1
Can't find log(/Error%3A coverage for statements .* does not meet "src\/\*\*" threshold/i) in%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ test/date.test.ts (0)
✗ src/index.test.ts (0)
✗ test/array.test.ts (0)
✗ test/string.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/r
|
|
test-coverage/thresholds.test.ts > coverageThresholds > should check global threshold correctly:
File: ./rstest.setup.ts#L1
Can't find log(/Coverage for statements .* does not meet global threshold/i) in%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ test/string.test.ts (0)
✗ test/array.test.ts (0)
✗ test/date.test.ts (0)
✗ src/index.test.ts (0)
Summary of all failing tests%3A
FAIL test/array.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-
|
|
test-coverage/index.test.ts > test coverage-istanbul > coverage-istanbul with custom reportsDirectory:
File: ./rstest.setup.ts#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ src/index.test.ts (0)
✗ test/date.test.ts (0)
✗ test/string.test.ts (0)
✗ test/array.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test
|
|
test-coverage/index.test.ts > test coverage-istanbul > coverage-istanbul with custom options:
File: ./rstest.setup.ts#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ src/index.test.ts (0)
✗ test/date.test.ts (0)
✗ test/array.test.ts (0)
✗ test/string.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test
|
|
test-coverage/index.test.ts > test coverage-istanbul > enable coverage with `--coverage`:
File: ./rstest.setup.ts#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ src/index.test.ts (0)
✗ test/date.test.ts (0)
✗ test/array.test.ts (0)
✗ test/string.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test
|
|
test-coverage/index.test.ts > test coverage-istanbul > coverage-istanbul:
File: ./rstest.setup.ts#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./src/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/src/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/array.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/array.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/string.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/string.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ src/index.test.ts (0)
✗ test/array.test.ts (0)
✗ test/date.test.ts (0)
✗ test/string.test.ts (0)
Summary of all failing tests%3A
FAIL src/index.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test
|
|
test-coverage/include.test.ts > test coverage-istanbul include option > coverage-istanbul should be works with include option:
File: ./rstest.setup.ts#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./rstest.setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/date.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/test/date.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ test/date.test.ts (0)
Summary of all failing tests%3A
FAIL test/date.test.ts
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/test-coverage/fixtures/rstest.setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
at Object../rstest.setup.ts (dist/.rstest-temp/rstest~setup~ts.js%3A5%3A7)
at __webpack_exec__ (dist/.rstest-temp/rstest~setup~ts.js%3A14%3A52)
at dist/.rstest-temp/rstest~setup~ts.js%3A15%3A28
at dist/.rstest-temp/rstest~setup~ts.js%3A18%3A3
Test Files 1 failed
Tests no tests
Duration 3.10s (build 3.01s%2C tests 87ms)
|
|
projects/coverage.test.ts > test projects coverage > should run projects correctly with coverage.include:
File: ./test/App.test.tsx#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./test/App.test.tsx%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/App.test.tsx")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/node/test/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/mockFs.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/node/test/mockFs.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ packages/node/test/index.test.ts (0)
✗ packages/node/test/mockFs.test.ts (0)
✗ packages/client/test/index.test.ts (0)
✗ packages/client/test/App.test.tsx (0)
Summary of all failing tests%3A
FAIL packages/client/test/App.test.tsx
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
|
|
projects/coverage.test.ts > test projects coverage > should run projects correctly with coverage:
File: ./test/App.test.tsx#L1
Test failed with exit code 1. Logs%3A
Rstest v0.6.6
Coverage enabled with istanbul
error Build errors%3A
File%3A ./test/App.test.tsx%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/App.test.tsx")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/setup.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/client/test/setup.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/index.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/node/test/index.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
File%3A ./test/mockFs.test.ts%3A1%3A1
× Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
│ x failed to invoke plugin on 'Some("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rstest/rstest/e2e/projects/fixtures/packages/node/test/mockFs.test.ts")'
│ The version of the SWC Wasm plugin you're using might not be compatible with `builtin%3Aswc-loader`.
│ The `swc_core` version of the current `rspack_core` is 46.0.3.
│ Please check the `swc_core` version of SWC Wasm plugin to make sure these versions are within the compatible range.
│ See this guide as a reference for selecting SWC Wasm plugin versions%3A https%3A//rspack.rs/errors/swc-plugin-version
✗ packages/node/test/index.test.ts (0)
✗ packages/node/test/mockFs.test.ts (0)
✗ packages/client/test/App.test.tsx (0)
✗ packages/client/test/index.test.ts (0)
Summary of all failing tests%3A
FAIL packages/client/test/App.test.tsx
Error%3A × Module build failed (from builtin%3Aswc-loader)%3A
╰─▶ × plugin
│
|
|
tests/integration/node-polyfill/index.test.ts > `Buffer` should be aliased to polyfill packages when bundle is disabled:
/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/tests/integration/node-polyfill/index.test.ts#L29
expected 'import { createRequire as __rspack_ex…' to contain 'const __WEBPACK_EXTERNAL_createRequir…'
- Expected
+ Received
- const __WEBPACK_EXTERNAL_createRequire_require = __WEBPACK_EXTERNAL_createRequire(import.meta.url);
+ import { createRequire as __rspack_external_createRequire } from "node%3Amodule";
+ const __rspack_external_createRequire_require = __rspack_external_createRequire(import.meta.url);
+ var __webpack_modules__ = {
+ "/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/node_modules/.pnpm/[email protected]/node_modules/buffer/index.js"%3A function(module) {
+ module.exports = __rspack_external_createRequire_require("buffer");
+ }
+ };
+ var __webpack_module_cache__ = {};
+ function __webpack_require__(moduleId) {
+ var cachedModule = __webpack_module_cache__[moduleId];
+ if (void 0 !== cachedModule) return cachedModule.exports;
+ var module = __webpack_module_cache__[moduleId] = {
+ exports%3A {}
+ };
+ __webpack_modules__[moduleId](module%2C module.exports%2C __webpack_require__);
+ return module.exports;
+ }
+ var Buffer = __webpack_require__("/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/node_modules/.pnpm/[email protected]/node_modules/buffer/index.js")["Buffer"];
+ const value = Buffer.from('value');
+ export { value };
+
|
|
tests/integration/externals/index.test.ts > should get warn when use require in ESM:
/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/tests/integration/externals/index.test.ts#L54
expected 'import * as __rspack_external_bar fro…' to contain 'import * as __WEBPACK_EXTERNAL_MODULE…'
- Expected
+ Received
- import * as __WEBPACK_EXTERNAL_MODULE_bar__ from "bar";
+ import * as __rspack_external_bar from "bar";
+ import * as __rspack_external_foo from "foo";
+ import * as __rspack_external_qux from "qux";
+ var __webpack_modules__ = {
+ "./src/baz.ts"%3A function(module) {
+ module.exports = ()=>{};
+ }%2C
+ bar%3A function(module) {
+ module.exports = __rspack_external_bar;
+ }%2C
+ foo%3A function(module) {
+ module.exports = __rspack_external_foo;
+ }%2C
+ qux%3A function(module) {
+ module.exports = __rspack_external_qux;
+ }
+ };
+ var __webpack_module_cache__ = {};
+ function __webpack_require__(moduleId) {
+ var cachedModule = __webpack_module_cache__[moduleId];
+ if (void 0 !== cachedModule) return cachedModule.exports;
+ var module = __webpack_module_cache__[moduleId] = {
+ exports%3A {}
+ };
+ __webpack_modules__[moduleId](module%2C module.exports%2C __webpack_require__);
+ return module.exports;
+ }
+ const src_baz = async ()=>{
+ const foo = __webpack_require__("foo");
+ const bar = __webpack_require__("bar");
+ const baz = __webpack_require__("./src/baz.ts");
+ const qux = __webpack_require__("qux");
+ const quxx = await import("quxx");
+ foo();
+ bar();
+ baz();
+ qux();
+ quxx();
+ };
+ export { src_baz as baz };
+
|
|
tests/integration/externals/index.test.ts > auto externalize Node.js built-in modules when `output.target` is "node":
/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/tests/integration/externals/index.test.ts#L29
expected 'import * as __rspack_external_bar fro…' to contain 'import * as __WEBPACK_EXTERNAL_MODULE…'
- Expected
+ Received
- import * as __WEBPACK_EXTERNAL_MODULE_bar__ from "bar"
+ import * as __rspack_external_bar from "bar";
+ import { createRequire as __rspack_external_createRequire } from "node%3Amodule";
+ const __rspack_external_createRequire_require = __rspack_external_createRequire(import.meta.url);
+ import node_assert from "node%3Aassert";
+ import fs from "fs";
+ import react from "react";
+ var __webpack_modules__ = {
+ bar%3A function(module) {
+ module.exports = __rspack_external_bar;
+ }%2C
+ foo%3A function(module) {
+ module.exports = __rspack_external_createRequire_require("foo");
+ }
+ };
+ var __webpack_module_cache__ = {};
+ function __webpack_require__(moduleId) {
+ var cachedModule = __webpack_module_cache__[moduleId];
+ if (void 0 !== cachedModule) return cachedModule.exports;
+ var module = __webpack_module_cache__[moduleId] = {
+ exports%3A {}
+ };
+ __webpack_modules__[moduleId](module%2C module.exports%2C __webpack_require__);
+ return module.exports;
+ }
+ const foo = async ()=>{
+ node_assert(fs%2C 'fs exists');
+ const fooModule = __webpack_require__("foo");
+ fooModule();
+ };
+ const bar = async ()=>{
+ node_assert(react.version);
+ const barModule = __webpack_require__("bar");
+ barModule();
+ };
+ const baz = async ()=>{
+ const bazModule = await import("./baz.mjs");
+ return bazModule.baz;
+ };
+ export { bar%2C baz%2C foo };
+
|
|
tests/integration/auto-external/index.test.ts > should get warn when use require in ESM:
/home/runner/work/rspack/rspack-ecosystem-ci/workspace/rslib/rslib/tests/integration/auto-external/index.test.ts#L88
expected 'import * as __rspack_external_e2 from…' to contain 'import * as __WEBPACK_EXTERNAL_MODULE…'
- Expected
+ Received
- import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react"
+ import * as __rspack_external_e2 from "e2";
+ import * as __rspack_external_e3 from "e3";
+ import * as __rspack_external_e5 from "e5";
+ import * as __rspack_external_e6 from "e6";
+ import * as __rspack_external_e7 from "e7";
+ import * as __rspack_external_e8 from "e8";
+ import * as __rspack_external_react from "react";
+ var __webpack_modules__ = {
+ "../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_Symbol.js"%3A function(module%2C __unused_webpack_exports%2C __webpack_require__) {
+ var root = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_root.js");
+ var Symbol = root.Symbol;
+ module.exports = Symbol;
+ }%2C
+ "../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_arrayMap.js"%3A function(module) {
+ function arrayMap(array%2C iteratee) {
+ var index = -1%2C length = null == array ? 0 %3A array.length%2C result = Array(length);
+ while(++index < length)result[index] = iteratee(array[index]%2C index%2C array);
+ return result;
+ }
+ module.exports = arrayMap;
+ }%2C
+ "../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_baseGetTag.js"%3A function(module%2C __unused_webpack_exports%2C __webpack_require__) {
+ var Symbol = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_Symbol.js")%2C getRawTag = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_getRawTag.js")%2C objectToString = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_objectToString.js");
+ var nullTag = '[object Null]'%2C undefinedTag = '[object Undefined]';
+ var symToStringTag = Symbol ? Symbol.toStringTag %3A void 0;
+ function baseGetTag(value) {
+ if (null == value) return void 0 === value ? undefinedTag %3A nullTag;
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) %3A objectToString(value);
+ }
+ module.exports = baseGetTag;
+ }%2C
+ "../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_baseToNumber.js"%3A function(module%2C __unused_webpack_exports%2C __webpack_require__) {
+ var isSymbol = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/isSymbol.js");
+ var NAN = 0 / 0;
+ function baseToNumber(value) {
+ if ('number' == typeof value) return value;
+ if (isSymbol(value)) return NAN;
+ return +value;
+ }
+ module.exports = baseToNumber;
+ }%2C
+ "../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_baseToString.js"%3A function(module%2C __unused_webpack_exports%2C __webpack_require__) {
+ var Symbol = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_Symbol.js")%2C arrayMap = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/_arrayMap.js")%2C isArray = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/isArray.js")%2C isSymbol = __webpack_require__("../../../../node_modules/.pnpm/[email protected]/node_modules/lodash/isSymbol.js");
+ var INFINITY = 1 / 0;
+ var symbolProto = Symbol ? Symbol.prototype %3A void 0%2C symbolToString = symbolProto ? symbolProto.toString %3A void 0;
+ function baseToString(value) {
+ if ('string' == typeof value) return value;
+ if (isArray(value)) return arrayMap(value%2C baseToString) + '';
+ if (isSymbol(value)) return symbolToString ? symbolToString.call(value) %3A '';
+ var result = value + '';
+ return '0' == result && 1 / value == -INFINITY ? '-0' %3A result;
+ }
+
|
|
eco-ci (modernjs)
Failed to save: reserveCache failed: Cache Service Url not found, unable to restore cache.
|
|
eco-ci (modernjs)
Failed to restore: getCacheEntry failed: Cache Service Url not found, unable to restore cache.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
bindings-x86_64-unknown-linux-gnu
|
20.4 MB |
sha256:4aca02b07ade88e49af0189734fe2bc98f5e67a37d5c68e121cda64aba732398
|
|
|
eco-ci-result-devserver
|
169 Bytes |
sha256:a366cdd14cbd9e20d40a33ad128382e25cbbc77f7901b8d9fe8ea91f4e3b122c
|
|
|
eco-ci-result-examples
|
167 Bytes |
sha256:4dd280619d005adabc7e8f96fd0c6c82dff782515f819f69872eee1d4fea86e2
|
|
|
eco-ci-result-lynx-stack
|
171 Bytes |
sha256:dc2776eb4c870ea3e59d8fc2132344787c1ff72fe3c2220b1cb08490263b5b0e
|
|
|
eco-ci-result-modernjs
|
167 Bytes |
sha256:cf145683562240fea00bd9eb5bd4dd73983ac8195fda626489238f96ac1e612a
|
|
|
eco-ci-result-nuxt
|
159 Bytes |
sha256:04b918da338903a2f7fdac938e9f8ac61f0e27a7aac4612a2a6aea8ec694baf5
|
|
|
eco-ci-result-plugin
|
163 Bytes |
sha256:119b6cc55bede1ec81a972fa034104c8234ff54b2b1dccd04b97bb87e6f495cc
|
|
|
eco-ci-result-rsbuild
|
165 Bytes |
sha256:9e00dca7a790db3930a44f1ee356db45f0cc2c45f6e01e3c39d91d7ad52aa489
|
|
|
eco-ci-result-rsdoctor
|
167 Bytes |
sha256:e176452a0253f4c16bbb3db228829190d257d3af71d0bf8aeb140e0045809ddd
|
|
|
eco-ci-result-rslib
|
161 Bytes |
sha256:9e98ca4e3c98e5ee8fa6153a5f883a29a6a4c7531fd3d2cd964b1a4c6be0491f
|
|
|
eco-ci-result-rspress
|
165 Bytes |
sha256:df52aa7dbb87f4a2f05d7a9e517ba92cced7fc7c58e8e960e39da15f440050bf
|
|
|
eco-ci-result-rstest
|
163 Bytes |
sha256:60e52bd28170a84c3fb14d2707672a8bb598f101a68c1a48c8380253e4beaff0
|
|