[ci-scan] Build break: Apple x64 NativeAOT apps cannot link CryptoKit SHA3 symbols
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- build-system, ci-cd
Hướng nghiên cứu
Start with the failing iOS-simulator-x64 and MacCatalyst-x64 NativeAOT build logs linked in the issue, then trace the CryptoKit SHA3 references in libSystem.Security.Cryptography.Native.Apple.a and the Apple NativeAOT build path. Confirm the linker failure on an affected build and identify why the x86_64 SHA3 symbols are missing; done when both affected legs link successfully.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1668850
Build error leg or test failing: iossimulator-x64 Release AllSubsets_NativeAOT-AppleHybrid.Tests
Also affected: maccatalyst-x64 Release AllSubsets_NativeAOT, queue osx.15.amd64.open.
Pipeline: runtime-extra-platforms, definition 154, main.
First build it occurred: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1665174 (finished 2026-11-05; earliest verified occurrence in the sampled window, not a proven introducing build).
Follow-up build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1669782 (finished 2026-11-08), same linker diagnostic.
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.- Build Analysis parses only the single JSON block under
Error Message. ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.- Set
BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.
Error Details
Apple NativeAOT test applications fail to link CryptoKit SHA3 symbols from libSystem.Security.Cryptography.Native.Apple.a. In the source build, 172 of 175 iOS-simulator-x64 work items and 173 of 176 MacCatalyst-x64 work items fail with this diagnostic (over 98% of each leg). This is one shared linker failure, not hundreds of independent test failures.
The diagnostic was verified in four distinct builds: 1665174, 1667020, 1668850, and follow-up 1669782. Ten prior completed build monitors were inspected; older inventories without an affected console do not establish a passing affected test.
Representative linker output below omits run-specific paths and MSBuild project suffixes:
error MSB4018: "nominal type descriptor for CryptoKit.SHA3_256", referenced from:
error MSB4018: type metadata accessor for CryptoKit.HashedAuthenticationCode<CryptoKit.SHA3_256> in libSystem.Security.Cryptography.Native.Apple.a[2](pal_swiftbindings.o)
error MSB4018: "nominal type descriptor for CryptoKit.SHA3_384", referenced from:
error MSB4018: "nominal type descriptor for CryptoKit.SHA3_512", referenced from:
error MSB4018: ld: symbol(s) not found for architecture x86_64
error MSB4018: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error MSB4018: ** BUILD FAILED **
error MSB4018: at Utils.RunProcess(TaskLoggingHelper logger, String path, String args, IDictionary`2 envVars, String workingDir, Boolean ignoreErrors, Boolean silent, MessageImportance debugMessageImportance)
error MSB4018: at Xcode.BuildAppBundle(String xcodePrjPath, Boolean optimized, String devTeamProvisioning)
error MSB4018: at AppleAppBuilderTask.Execute()
Error Message
{
"ErrorMessage": "\"nominal type descriptor for CryptoKit.SHA3_256\", referenced from:",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 1 hits in failure.log
The literal diagnostic matches the saved AppleHybrid.Tests source console and the follow-up console, with no passing or skipped matches. The complete source failure inventory was grouped before selecting this representative.
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.
[!NOTE]
Generated by GitHub Copilot.
Generated by CI Outer-Loop Failure Scanner · copilot · gpt61 · ~347 AIC · ⌖ ~14 AIC · ⊞ 33.3K · ◷
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1670305 | dotnet/runtime | System.Runtime.Numerics.Tests.WorkItemExecution |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 1 | 1 |
- Ngôn ngữ chính
- C#
- Star
- 18.4k
- Fork
- 5.8k
- Merge trung bình
- 2 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 585
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/runtime
-
area-Host untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dotnet/runtime#137187 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ImmutableSortedSet<T>.Builder: enumerating through IEnumerable<T> doesn't throw on modification and can return wrong itemsCó thể đã có người làm @aw0lid đã nhận hôm nay. Đang mởarea-System.Collections
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#137167 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DbTransaction.SupportsSavepoints docs say Release/ReleaseAsync are expected to throw, but they are no-ops by designCó thể đã có người làm @alaricd đã nhận 4 ngày trước. Đang mởarea-System.Transactions untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dotnet/runtime#137040 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
FileSystemGlobbing: Matcher throws ArgumentOutOfRangeException when the rootDir is the same value as the fileCó thể đã có người làm @makazeu đã nhận 5 ngày trước. Đang mởarea-Extensions-FileSystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#136989 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Configuration binder source generator emits unqualified List<T> when binding arrays without implicit usingsCó thể đã có người làm @makazeu đã nhận 5 ngày trước. Đang mởarea-Extensions-Configuration bug source-generator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
dotnet/runtime#136972 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của dotnet/runtime
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: Add Ukrainian (Українська) as a target language for the Translator (Ollama) engineĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
KnifeLemon/Filee#1344 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
JiaFeiMiao-K-Cat/DiscImageStudio#281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100