Skip to content

Conversation

@jbedard
Copy link
Member

@jbedard jbedard commented Dec 10, 2025

Close #2571

Changes are visible to end-users: no

Test plan

  • Covered by existing test cases

@aspect-workflows
Copy link

aspect-workflows bot commented Dec 10, 2025

Bazel 7 (Test)

⚠️ Buildkite build #11223 failed.

//examples/nextjs:standalone failed to build

next_js_binary failed: error executing NextJs command (from target //examples/nextjs:standalone) bazel-out/k8-opt-exec-ST-d57f47055a04/bin/examples/nextjs/next_js_binary_/next_js_binary build
 
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
 

-----
FATAL: An unexpected Turbopack error occurred. A panic log has been written to /tmp/next-panic-7389ae793c740648052206c9e08342c2.log.
 
To help make Turbopack better, report this error by clicking here: https://github.com/vercel/next.js/discussions/new?category=turbopack-error-report&title=Turbopack%20Error%3A%20Invalid%20symlink&body=Turbopack%20version%3A%20%60b1a04a84%60%0ANext.js%20version%3A%20%600.0.0%60%0A%0AError%20message%3A%0A%60%60%60%0ATurbopack%20Error%3A%20Invalid%20symlink%0A%60%60%60&labels=Turbopack,Turbopack%20Panic%20Backtrace
-----
 

> Build error occurred
Error [TurbopackInternalError]: Invalid symlink
 
Debug info:
- Execution of get_all_written_entrypoints_with_issues_operation failed
- Execution of EntrypointsOperation::new failed
- Execution of all_entrypoints_write_to_disk_operation failed
- Execution of Project::emit_all_output_assets failed
- Execution of *emit_assets failed
- Execution of all_assets_from_entries_operation failed
- Execution of *all_assets_from_entries failed
- Execution of output_assets_operation failed
- Execution of Project::get_all_endpoints failed
- Execution of Project::get_all_endpoint_groups failed
- Execution of Project::entrypoints failed
- Execution of PagesProject::routes failed
- Execution of get_pages_structure_for_root_directory failed
- Execution of try_get_next_package failed
- Execution of *ResolveResult::first_source failed
- Execution of resolve failed
- Execution of resolve_internal failed
- Execution of *ResolveResult::with_replaced_request_key failed
- Execution of resolve_into_package failed
- Execution of exports_field failed
- Execution of read_package_json failed
- Execution of *AssetContent::parse_json failed
- Execution of <FileSource as Asset>::content failed
- Invalid symlink
    at <unknown> (TurbopackInternalError: Invalid symlink) {
  type: 'TurbopackInternalError',
  location: undefined
}

💡 To reproduce the build failures, run

bazel build //examples/nextjs:standalone

Bazel 8 (Test)

⚠️ Buildkite build #11223 failed.

//examples/nextjs:standalone failed to build

next_js_binary failed: error executing NextJs command (from target //examples/nextjs:standalone) bazel-out/k8-opt-exec-ST-d57f47055a04/bin/examples/nextjs/next_js_binary_/next_js_binary build
 
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
 

-----
FATAL: An unexpected Turbopack error occurred. A panic log has been written to /tmp/next-panic-ac502594a79dd6067b210ef3d8bc19eb.log.
 
To help make Turbopack better, report this error by clicking here: https://github.com/vercel/next.js/discussions/new?category=turbopack-error-report&title=Turbopack%20Error%3A%20Invalid%20symlink&body=Turbopack%20version%3A%20%60b1a04a84%60%0ANext.js%20version%3A%20%600.0.0%60%0A%0AError%20message%3A%0A%60%60%60%0ATurbopack%20Error%3A%20Invalid%20symlink%0A%60%60%60&labels=Turbopack,Turbopack%20Panic%20Backtrace
-----
 

> Build error occurred
Error [TurbopackInternalError]: Invalid symlink
 
Debug info:
- Execution of get_all_written_entrypoints_with_issues_operation failed
- Execution of EntrypointsOperation::new failed
- Execution of all_entrypoints_write_to_disk_operation failed
- Execution of Project::emit_all_output_assets failed
- Execution of *emit_assets failed
- Execution of all_assets_from_entries_operation failed
- Execution of *all_assets_from_entries failed
- Execution of output_assets_operation failed
- Execution of Project::get_all_endpoints failed
- Execution of Project::get_all_endpoint_groups failed
- Execution of Project::entrypoints failed
- Execution of PagesProject::routes failed
- Execution of get_pages_structure_for_root_directory failed
- Execution of try_get_next_package failed
- Execution of *ResolveResult::first_source failed
- Execution of resolve failed
- Execution of resolve_internal failed
- Execution of *ResolveResult::with_replaced_request_key failed
- Execution of resolve_into_package failed
- Execution of exports_field failed
- Execution of read_package_json failed
- Execution of *AssetContent::parse_json failed
- Execution of <FileSource as Asset>::content failed
- Invalid symlink
    at <unknown> (TurbopackInternalError: Invalid symlink) {
  type: 'TurbopackInternalError',
  location: undefined
}

💡 To reproduce the build failures, run

bazel build //examples/nextjs:standalone

Bazel 7 (Test)

e2e/bzlmod

All tests were cache hits

5 tests (100.0%) were fully cached saving 559ms.


Bazel 7 (Test)

e2e/git_dep_metadata

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Bazel 7 (Test)

e2e/gyp_no_install_script

All tests were cache hits

2 tests (100.0%) were fully cached saving 153ms.


Bazel 7 (Test)

e2e/js_image_oci

All tests were cache hits

1 test (100.0%) was fully cached saving 6s.


Bazel 7 (Test)

e2e/npm_link_package

All tests were cache hits

2 tests (100.0%) were fully cached saving 206ms.


Bazel 7 (Test)

e2e/npm_link_package-esm

All tests were cache hits

2 tests (100.0%) were fully cached saving 224ms.


Bazel 7 (Test)

e2e/npm_link_package-rerooted

All tests were cache hits

2 tests (100.0%) were fully cached saving 199ms.


Bazel 7 (Test)

e2e/npm_translate_lock

All tests were cache hits

3 tests (100.0%) were fully cached saving 681ms.


Bazel 7 (Test)

e2e/npm_translate_lock_disable_hooks

All tests were cache hits

3 tests (100.0%) were fully cached saving 257ms.


Bazel 7 (Test)

e2e/npm_translate_lock_empty

All tests were cache hits

2 tests (100.0%) were fully cached saving 180ms.


Bazel 7 (Test)

e2e/npm_translate_lock_exclude_package_contents

All tests were cache hits

1 test (100.0%) was fully cached saving 34ms.


Bazel 7 (Test)

e2e/npm_translate_lock_link_workspace

All tests were cache hits

2 tests (100.0%) were fully cached saving 225ms.


Bazel 7 (Test)

e2e/npm_translate_lock_multi

All tests were cache hits

2 tests (100.0%) were fully cached saving 164ms.


Bazel 7 (Test)

e2e/npm_translate_lock_partial_clone

All tests were cache hits

1 test (100.0%) was fully cached saving 61ms.


Bazel 7 (Test)

e2e/npm_translate_lock_replace_packages

All tests were cache hits

4 tests (100.0%) were fully cached saving 487ms.


Bazel 7 (Test)

e2e/npm_translate_lock_subdir_patch

All tests were cache hits

1 test (100.0%) was fully cached saving 95ms.


Bazel 7 (Test)

e2e/npm_translate_package_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Bazel 7 (Test)

e2e/npm_translate_yarn_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Bazel 7 (Test)

e2e/package_json_module

All tests were cache hits

1 test (100.0%) was fully cached saving 324ms.


Bazel 7 (Test)

e2e/patch_from_repo

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Bazel 7 (Test)

e2e/pnpm_lockfiles

All tests were cache hits

82 tests (100.0%) were fully cached saving 8s.


Bazel 7 (Test)

e2e/pnpm_repo_install

All tests were cache hits

1 test (100.0%) was fully cached saving 963ms.


Bazel 7 (Test)

e2e/pnpm_version

All tests were cache hits

1 test (100.0%) was fully cached saving 75ms.


Bazel 7 (Test)

e2e/pnpm_workspace

All tests were cache hits

15 tests (100.0%) were fully cached saving 3s.


Bazel 7 (Test)

e2e/pnpm_workspace_deps

All tests were cache hits

3 tests (100.0%) were fully cached saving 428ms.


Bazel 7 (Test)

e2e/pnpm_workspace_rerooted

All tests were cache hits

15 tests (100.0%) were fully cached saving 3s.


Bazel 7 (Test)

e2e/repo_mapping

All tests were cache hits

3 tests (100.0%) were fully cached saving 394ms.


Bazel 7 (Test)

e2e/runfiles

All tests were cache hits

1 test (100.0%) was fully cached saving 110ms.


Bazel 7 (Test)

e2e/stamped_package_json

All tests were cache hits

1 test (100.0%) was fully cached saving 44ms.


Bazel 7 (Test)

e2e/vendored_node

All tests were cache hits

1 test (100.0%) was fully cached saving 70ms.


Bazel 7 (Test)

e2e/vendored_tarfile

All tests were cache hits

1 test (100.0%) was fully cached saving 31ms.


Bazel 7 (Test)

e2e/verify_patches

All tests were cache hits

2 tests (100.0%) were fully cached saving 109ms.


Bazel 7 (Test)

e2e/worker

All tests were cache hits

1 test (100.0%) was fully cached saving 35ms.


Bazel 7 (Test)

e2e/workspace

All tests were cache hits

1 test (100.0%) was fully cached saving 35ms.


Buildifier      Format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: NextJS 15.2.4. Can you bump? https://security.snyk.io/package/npm/next/15.2.4

1 participant