MobileNativeFoundation / MobileNativeFoundation/rules_xcodeproj
Bug: com_github_apple_swift_argument_parser//:ArgumentParserToolInfo [for tool] failed
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 626
- Forks
- 124
- PR merge metrics
- No merged PRs in 30d
Description
Description
ERROR: /private/var/tmp/_bazel_jiangchao/11a172fb0b7bb90e1ea6fdb4f5a93109/rules_xcodeproj.noindex/build_output_base/external/com_github_apple_swift_argument_parser/BUILD.bazel:3:14: Compiling Swift module @com_github_apple_swift_argument_parser//:ArgumentParserToolInfo [for tool] failed: (Exit 1): worker failed: error executing command (from target @com_github_apple_swift_argument_parser//:ArgumentParserToolInfo)
(cd /private/var/tmp/_bazel_jiangchao/11a172fb0b7bb90e1ea6fdb4f5a93109/rules_xcodeproj.noindex/build_output_base/execroot/main &&
exec env -
APPLE_SDK_PLATFORM=MacOSX
APPLE_SDK_VERSION_OVERRIDE=15.4
SWIFT_AVOID_WARNING_USING_OLD_DRIVER=1
XCODE_VERSION_OVERRIDE=16.3.0.16E140
bazel-out/darwin_arm64-opt-exec-2B5CBBC6-ST-3c4d7ba9992d/bin/external/build_bazel_rules_swift/tools/worker/worker swiftc @bazel-out/macos-arm64-min12.0-applebin_macos-darwin_arm64-opt-exec-2B5CBBC6-ST-2ca2fe3bbcf6/bin/external/com_github_apple_swift_argument_parser/ArgumentParserToolInfo.swiftmodule-0.params)
error: failed to read unit file /private/var/tmp/_bazel_jiangchao/11a172fb0b7bb90e1ea6fdb4f5a93109/rules_xcodeproj.noindex/build_output_base/execroot/main/bazel-out/_global_index_store/v5/units/ToolInfo.swift.o-2H373DD07CM5Y -- Failed opening '/private/var/tmp/_bazel_jiangchao/11a172fb0b7bb90e1ea6fdb4f5a93109/rules_xcodeproj.noindex/build_output_base/execroot/main/bazel-out/_global_index_store/v5/units/ToolInfo.swift.o-2H373DD07CM5Y': No such file or directory
Reproduction steps
rt
Expected behavior
work
rules_xcodeproj version
1.16
Xcode version
16.3
Bazel version
6.1.1
rules_apple version
No response
rules_swift version
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using the reported Xcode 16.3.0.16E140 and Bazel 6.1.1 setup, starting with the rt reproduction command. Inspect external/com_github_apple_swift_argument_parser/BUILD.bazel and the ArgumentParserToolInfo target around the missing ToolInfo.swift.o unit file. Done means the target compiles without the worker error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100