Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rules to work with --incompatible_auto_exec_groups #2035

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dzbarsky
Copy link
Collaborator

Do this migration preemptively (and unblock upstream repos)

Test plan

Enabled for tests

Copy link

aspect-workflows bot commented Dec 13, 2024

Test

⚠️ Buildkite build #6813 failed.

Failed tests (4)
//.aspect/bazelrc:update_aspect_bazelrc_presets_2_test [k8-fastbuild]                   🔗
//.aspect/bazelrc:update_aspect_bazelrc_presets_5_test [k8-fastbuild]                   🔗
//.github/workflows:update_aspect_bazelrc_presets_0_test [k8-fastbuild]                 🔗
//.github/workflows:update_aspect_bazelrc_presets_1_test [k8-fastbuild]                 🔗

💡 To reproduce the test failures, run

bazel test //.aspect/bazelrc:update_aspect_bazelrc_presets_5_test //.aspect/bazelrc:update_aspect_bazelrc_presets_2_test //.github/workflows:update_aspect_bazelrc_presets_1_test //.github/workflows:update_aspect_bazelrc_presets_0_test

Test

e2e/bzlmod

All tests were cache hits

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


Test

e2e/gyp_no_install_script

All tests were cache hits

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


Test

e2e/js_image_oci

⚠️ Buildkite build #6813 failed.

//src:image failed to build

in oci_image rule //src:image:
Traceback (most recent call last):
	File "/mnt/ephemeral/output/rules_js/e2e_js_image_oci/external/rules_oci~/oci/private/image.bzl", line 184,
column 43, in _oci_image_impl
		descriptor = _calculate_descriptor(ctx, i, layer, zstd, jq, coreutils, regctl)
	File "/mnt/ephemeral/output/rules_js/e2e_js_image_oci/external/rules_oci~/oci/private/image.bzl", line 106,
column 20, in _calculate_descriptor
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

💡 To reproduce the build failures, run

bazel build //src:image

Test

e2e/npm_link_package

⚠️ Buildkite build #6813 failed.

//lib:lib_pkg failed to build

in js_library rule //lib:lib_pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_library.bzl",
line 195, column 47, in _js_library_impl
		sources, types = _gather_sources_and_types(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_library.bzl",
line 155, column 46, in _gather_sources_and_types
		file = copy_js_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

@@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks failed to build

in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_binary.bzl", line
567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_binary.bzl", line
545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_helpers.bzl",
line 202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.
in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_binary.bzl", line
567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_binary.bzl", line
545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_helpers.bzl",
line 202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

💡 To reproduce the build failures, run

bazel build //lib:lib_pkg @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks

Test

e2e/npm_link_package-esm

⚠️ Buildkite build #6813 failed.

//lib:lib_pkg failed to build

in js_library rule //lib:lib_pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_library.bzl",
line 195, column 47, in _js_library_impl
		sources, types = _gather_sources_and_types(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_library.bzl",
line 155, column 46, in _gather_sources_and_types
		file = copy_js_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

@@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks failed to build

in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_binary.bzl",
line 567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_binary.bzl",
line 545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_helpers.bzl",
line 202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.
in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_binary.bzl",
line 567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_binary.bzl",
line 545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_helpers.bzl",
line 202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_rules_js/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_link_package-esm/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

💡 To reproduce the build failures, run

bazel build //lib:lib_pkg @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks

Test

e2e/npm_translate_lock

All tests were cache hits

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


Test

e2e/npm_translate_lock_empty

All tests were cache hits

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


Test

e2e/npm_translate_lock_multi

⚠️ Buildkite build #6813 failed.

//app1:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //app1:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_multi/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//app2:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //app2:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_multi/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

💡 To reproduce the build failures, run

bazel build //app1:.aspect_rules_js/node_modules/[email protected]/pkg //app2:.aspect_rules_js/node_modules/[email protected]/pkg

Test

e2e/npm_translate_lock_partial_clone

⚠️ Buildkite build #6813 failed.

//root:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //root:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_partial_clone/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//root:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //root:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_partial_clone/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//root:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //root:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_partial_clone/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//root:.aspect_rules_js/node_modules/@[email protected]/pkg failed to build

in npm_package_store_internal rule //root:.aspect_rules_js/node_modules/@[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_partial_clone/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//root:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //root:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_partial_clone/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

35 other actions failed to build.

💡 To reproduce the build failures, run

bazel build //root:.aspect_rules_js/node_modules/[email protected]/pkg //root:.aspect_rules_js/node_modules/[email protected]/pkg //root:.aspect_rules_js/node_modules/[email protected]/pkg //root:.aspect_rules_js/node_modules/@[email protected]/pkg //root:.aspect_rules_js/node_modules/[email protected]/pkg

Test

e2e/npm_translate_lock_replace_packages

All tests were cache hits

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


Test

e2e/npm_translate_lock_subdir_patch

⚠️ Buildkite build #6813 failed.

//subdir:.aspect_rules_js/node_modules/[email protected]_w2b4m3xsads6xcjljikht6jcgu/pkg failed to build

in npm_package_store_internal rule
//subdir:.aspect_rules_js/node_modules/[email protected]_w2b4m3xsads6xcjljikht6jcgu/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_subdir_patch/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 246, column 42, in _npm_package_store_impl
		copy_directory_bin_action(
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_subdir_patch/external/aspect_bazel_lib~/lib/private/copy_directory.bzl",
line 61, column 20, in copy_directory_bin_action
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:copy_directory_toolchain_type'.

//subdir:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //subdir:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_lock_subdir_patch/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

💡 To reproduce the build failures, run

bazel build //subdir:.aspect_rules_js/node_modules/[email protected]_w2b4m3xsads6xcjljikht6jcgu/pkg //subdir:.aspect_rules_js/node_modules/[email protected]/pkg

Test

e2e/npm_translate_package_lock

⚠️ Buildkite build #6813 failed.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_package_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_package_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_package_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_package_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_package_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

357 other actions failed to build.

💡 To reproduce the build failures, run

bazel build //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg

Test

e2e/npm_translate_yarn_lock

⚠️ Buildkite build #6813 failed.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_yarn_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_yarn_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_yarn_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/@[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/@[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_yarn_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/@[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/@[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_npm_translate_yarn_lock/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

273 other actions failed to build.

💡 To reproduce the build failures, run

bazel build //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/@[email protected]/pkg //:.aspect_rules_js/node_modules/@[email protected]/pkg

Test

e2e/package_json_module

⚠️ Buildkite build #6813 failed.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_package_json_module/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_package_json_module/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_package_json_module/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_package_json_module/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

//:.aspect_rules_js/node_modules/[email protected]/pkg failed to build

in npm_package_store_internal rule //:.aspect_rules_js/node_modules/[email protected]/pkg:
Traceback (most recent call last):
	File
"/mnt/ephemeral/output/rules_js/e2e_package_json_module/external/aspect_rules_js~/npm/private/npm_package_store.bzl",
line 226, column 32, in _npm_package_store_impl
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:tar_toolchain_type'.

72 other actions failed to build.

💡 To reproduce the build failures, run

bazel build //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg //:.aspect_rules_js/node_modules/[email protected]/pkg

Test

e2e/pnpm_lockfiles

All tests were cache hits

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


Test

e2e/pnpm_workspace

All tests were cache hits

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


Test

e2e/pnpm_workspace_rerooted

All tests were cache hits

12 tests (100.0%) were fully cached saving 2s.


Test

e2e/repo_mapping

All tests were cache hits

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


Test

e2e/rules_foo

⚠️ Buildkite build #6813 failed.

@@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks failed to build

in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_binary.bzl", line
567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_binary.bzl", line
545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_helpers.bzl", line
202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_helpers.bzl", line
111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.
in js_binary rule @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks:
Traceback (most recent call last):
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_binary.bzl", line
567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_binary.bzl", line
545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_helpers.bzl", line
202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_rules_js/js/private/js_helpers.bzl", line
111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_bazel_lib/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File "/mnt/ephemeral/output/rules_js/e2e_rules_foo/external/aspect_bazel_lib/lib/private/copy_file.bzl",
line 80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Couldn't identify if tools are from implicit dependencies or a toolchain. Please set the
toolchain parameter. If you're not using a toolchain, set it to 'None'.

💡 To reproduce the build failures, run

bazel build @@aspect_rules_js//npm/private/lifecycle:lifecycle-hooks

Test

e2e/runfiles

Buildkite build #6813 is running...


Test

e2e/vendored_node

⚠️ Buildkite build #6813 failed.

//:test failed to build

in js_test rule //:test:
Traceback (most recent call last):
	File "/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_rules_js~/js/private/js_binary.bzl",
line 567, column 32, in _js_binary_impl
		launcher = _create_launcher(
	File "/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_rules_js~/js/private/js_binary.bzl",
line 545, column 31, in _create_launcher
		runfiles = gather_runfiles(
	File "/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_rules_js~/js/private/js_helpers.bzl",
line 202, column 65, in gather_runfiles
		files_runfiles.append(copy_js_file_to_bin_action(ctx, d))
	File "/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_rules_js~/js/private/js_helpers.bzl",
line 111, column 35, in copy_js_file_to_bin_action
		return copy_file_to_bin_action(ctx, file)
	File
"/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_bazel_lib~/lib/private/copy_to_bin.bzl",
line 84, column 21, in copy_file_to_bin_action
		copy_file_action(ctx, file, dst)
	File
"/mnt/ephemeral/output/rules_js/e2e_vendored_node/external/aspect_bazel_lib~/lib/private/copy_file.bzl", line
80, column 20, in copy_file_action
		ctx.actions.run(
Error in run: Action declared for non-existent toolchain '@@[unknown repo 'aspect_bazel_lib' requested from
@@]//lib:coreutils_toolchain_type'.

💡 To reproduce the build failures, run

bazel build //:test

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.

2 participants