Build Information
Failed to build PrivateHeaderKit, reference main (0281f9), with Swift 6.2 for Wasm on 23 Mar 2026 14:04:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/PrivateHeaderKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/lynnswap/PrivateHeaderKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0281f9f Merge pull request #20 from lynnswap:codex/fix-dump-fd-handling
Cloned https://github.com/lynnswap/PrivateHeaderKit.git
Revision (git rev-parse @):
0281f9f36d713f3eb5d0f967cfb55c785c988d8b
SUCCESS checkout https://github.com/lynnswap/PrivateHeaderKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/lynnswap/PrivateHeaderKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/lynnswap/MachOObjCSection.git
[1/2318] Fetching machoobjcsection
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.71s)
Fetching https://github.com/lynnswap/MachOSwiftSection.git
[1/9275] Fetching machoswiftsection
Fetched https://github.com/lynnswap/MachOSwiftSection.git from cache (0.58s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetching https://github.com/lynnswap/SourceKitD.git
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/lynnswap/swift-apinotes.git
[1/1427] Fetching rainbow
[1428/1446] Fetching rainbow, dyldprivate
[1447/8185] Fetching rainbow, dyldprivate, swift-dependencies
[1717/8349] Fetching rainbow, dyldprivate, swift-dependencies, swift-clang
[2584/8510] Fetching rainbow, dyldprivate, swift-dependencies, swift-clang, sourcekitd
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.51s)
Fetching https://github.com/christophhagen/BinaryCodable
[4246/8491] Fetching rainbow, swift-dependencies, swift-clang, sourcekitd
Fetched https://github.com/onevcat/Rainbow from cache (0.54s)
[3088/7064] Fetching swift-dependencies, swift-clang, sourcekitd
Fetching https://github.com/lynnswap/FrameworkToolbox.git
[7065/7555] Fetching swift-dependencies, swift-clang, sourcekitd, frameworktoolbox
[7556/10496] Fetching swift-dependencies, swift-clang, sourcekitd, frameworktoolbox, binarycodable
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.43s)
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.99s)
[7812/9841] Fetching swift-dependencies, sourcekitd, binarycodable
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.00s)
Fetching https://github.com/apple/swift-argument-parser
[1191/3102] Fetching sourcekitd, binarycodable
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.73s)
Fetching https://github.com/p-x9/AssociatedObject
[1/246] Fetching swift-fileio
[247/17660] Fetching swift-fileio, swift-argument-parser
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.42s)
Fetching https://github.com/lynnswap/MachOKit.git
[524/23642] Fetching swift-argument-parser, swift-async-algorithms
[10097/24349] Fetching swift-argument-parser, swift-async-algorithms, associatedobject
[12163/24585] Fetching swift-argument-parser, swift-async-algorithms, associatedobject, swift-apinotes
Fetched https://github.com/lynnswap/SourceKitD.git from cache (1.74s)
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (1.74s)
[16339/24349] Fetching swift-argument-parser, swift-async-algorithms, associatedobject
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/p-x9/swift-objc-dump.git
Fetched https://github.com/p-x9/AssociatedObject from cache (0.51s)
[17199/23642] Fetching swift-argument-parser, swift-async-algorithms
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetched https://github.com/apple/swift-async-algorithms from cache (0.91s)
[1/6474] Fetching machokit
Fetching https://github.com/apple/swift-collections
[6475/6903] Fetching machokit, swift-objc-dump
[6904/7570] Fetching machokit, swift-objc-dump, swift-memberwise-init-macro
Fetched https://github.com/p-x9/swift-objc-dump.git from cache (0.61s)
[7128/7141] Fetching machokit, swift-memberwise-init-macro
Fetched https://github.com/lynnswap/MachOKit.git from cache (0.98s)
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.75s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.56s)
[1/22628] Fetching swift-collections
[2943/97469] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (1.96s)
[49396/74841] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.31s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (8.40s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (0.57s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11509] Fetching yams
[692/169750] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (1.90s)
[37978/158241] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (8.20s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.1.0 (8.50s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (0.38s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (0.38s)
Fetching https://github.com/apple/swift-log.git
[1/6252] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.46s)
Computing version for https://github.com/lynnswap/MachOKit.git
warning: 'machokit': /Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public static var allCases: [Self] {
137 | [
Computed https://github.com/lynnswap/MachOKit.git at 0.47.0 (0.91s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/48] Fetching swift-fileio-extra
[49/258] Fetching swift-fileio-extra, objectarchivekit
[259/500] Fetching swift-fileio-extra, objectarchivekit, swift-binary-parse-support
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (0.25s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.25s)
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.25s)
[1/17246] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.86s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (2.16s)
Computing version for https://github.com/p-x9/swift-objc-dump.git
Computed https://github.com/p-x9/swift-objc-dump.git at 0.8.0 (0.29s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (0.29s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.3.0 (0.36s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.2.2 (0.36s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (0.34s)
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/p-x9/swift-object-association.git
[1/111] Fetching swift-literal-type-inference
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (0.26s)
[1/207] Fetching swift-object-association
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.30s)
Computing version for https://github.com/p-x9/swift-object-association.git
Computed https://github.com/p-x9/swift-object-association.git at 0.5.0 (0.61s)
Computing version for https://github.com/p-x9/swift-literal-type-inference.git
Computed https://github.com/p-x9/swift-literal-type-inference.git at 0.5.0 (0.32s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (0.55s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.30s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.33s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.11.0 (0.36s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
[1/894] Fetching swift-concurrency-extras
[779/3444] Fetching swift-concurrency-extras, combine-schedulers
[883/4761] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.30s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.30s)
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.67s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.69s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.02s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.35s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.56s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.76s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.10s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (0.55s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.36s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.32s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.69s)
Computing version for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Computed https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro at 0.5.3-fork.1 (0.50s)
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.11.0
Creating working copy for https://github.com/lynnswap/FrameworkToolbox.git
Working copy of https://github.com/lynnswap/FrameworkToolbox.git resolved at 0.3.3
Creating working copy for https://github.com/p-x9/swift-objc-dump.git
Working copy of https://github.com/p-x9/swift-objc-dump.git resolved at 0.8.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/lynnswap/swift-apinotes.git
Working copy of https://github.com/lynnswap/swift-apinotes.git resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.0
Creating working copy for https://github.com/lynnswap/MachOKit.git
Working copy of https://github.com/lynnswap/MachOKit.git resolved at 0.47.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.0
Creating working copy for https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Working copy of https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro resolved at 0.5.3-fork.1
Creating working copy for https://github.com/p-x9/swift-literal-type-inference.git
Working copy of https://github.com/p-x9/swift-literal-type-inference.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.0
Creating working copy for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Working copy of https://github.com/MxIris-DeveloperTool-Forks/swift-clang resolved at 0.1.0
Creating working copy for https://github.com/lynnswap/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/p-x9/AssociatedObject
Working copy of https://github.com/p-x9/AssociatedObject resolved at 0.14.0
Creating working copy for https://github.com/lynnswap/MachOSwiftSection.git
Working copy of https://github.com/lynnswap/MachOSwiftSection.git resolved at 2fbb1a78e316a2beaf2911488ecda6455e205f84
Creating working copy for https://github.com/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 3dbf6a856cbdc856d4d7c1fe6bbf81161e0fbe9c
Creating working copy for https://github.com/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.2.1
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.3.0
Creating working copy for https://github.com/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.0
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:135:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
133 | }
134 |
135 | extension SwiftSetting: CaseIterable {
| |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
136 | public static var allCases: [Self] {
137 | [
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/601.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.36s)
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/534] Write sources
[15/534] Write swift-version-24593BA9C3E375BF.txt
[16/534] Compiling _SwiftSyntaxCShims dummy.c
[17/536] Compiling blake2.cc
[17/536] Write sources
[38/536] Compiling tasn_typ.cc
[38/536] Write sources
[38/536] Compiling printf.cc
[38/536] Write sources
[50/536] Compiling UtilitiesC PtrAuthWrapper.c
[51/536] Compiling MachOSwiftSectionC ValueWitnessTable.c
[52/536] Compiling MachOSwiftSectionC Functions.c
[53/536] Compiling bn_asn1.cc
[54/542] Compiling digest_extra.cc
[55/544] Compiling tasn_new.cc
[57/544] Emitting module SwiftSyntax600
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/548] Emitting module PrivateHeaderKitTooling
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | #if canImport(Darwin)
3 | import Darwin
[58/548] Compiling x_x509.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/561] Emitting module ObjCTypeDecodeKit
/host/spi-builder-workspace/.build/checkouts/swift-objc-dump/Sources/ObjCTypeDecodeKit/Extension/String+.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/561] Emitting module Semantic
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Decodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Decodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
11 | public let type: SemanticType
12 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:57: error: 'Codable' is unavailable: unavailable in embedded Swift
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
10 | public let string: String
11 | public let type: SemanticType
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Encodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Encodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
11 | public let type: SemanticType
12 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/Numeric.swift:27:23: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
25 | @inlinable
26 | public init<T: BinaryFloatingPoint>(_ value: T) {
27 | self.string = String(describing: value)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
28 | }
29 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:143:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
141 |
142 | @inlinable
143 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
144 | if value.isEmpty {
145 | self._storage = Storage()
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:533:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
531 |
532 | extension SemanticString: Codable {
533 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
534 | let container = try decoder.singleValueContainer()
535 | let atomicComponents = try container.decode([AtomicComponent].self)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:539:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
537 | }
538 |
539 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
540 | var container = encoder.singleValueContainer()
541 | try container.encode(components)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:532:27: error: 'Codable' is unavailable: unavailable in embedded Swift
530 | // MARK: - Codable Conformance
531 |
532 | extension SemanticString: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
533 | public init(from decoder: Decoder) throws {
534 | let container = try decoder.singleValueContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Decodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Decodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
11 | public let type: SemanticType
12 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:535:46: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
533 | public init(from decoder: Decoder) throws {
534 | let container = try decoder.singleValueContainer()
535 | let atomicComponents = try container.decode([AtomicComponent].self)
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
536 | self.init(components: atomicComponents)
537 | }
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:541:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
539 | public func encode(to encoder: Encoder) throws {
540 | var container = encoder.singleValueContainer()
541 | try container.encode(components)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
542 | }
543 | }
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticType.swift:2:51: error: 'Codable' is unavailable: unavailable in embedded Swift
1 | public enum SemanticType: Hashable, Codable, Sendable {
2 | public enum TypeKind: CaseIterable, Hashable, Codable, Sendable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
3 | case `enum`
4 | case `struct`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticType.swift:10:50: error: 'Codable' is unavailable: unavailable in embedded Swift
8 | }
9 |
10 | public enum Context: CaseIterable, Hashable, Codable, Sendable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
11 | case declaration
12 | case name
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticType.swift:1:37: error: 'Codable' is unavailable: unavailable in embedded Swift
1 | public enum SemanticType: Hashable, Codable, Sendable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
2 | public enum TypeKind: CaseIterable, Hashable, Codable, Sendable {
3 | case `enum`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
[62/561] Compiling PrivateHeaderKitTooling FileOps.swift
/host/spi-builder-workspace/Sources/PrivateHeaderKitTooling/FileOps.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | #if canImport(Darwin)
3 | import Darwin
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Decodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Decodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
11 | public let type: SemanticType
12 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:57: error: 'Codable' is unavailable: unavailable in embedded Swift
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
10 | public let string: String
11 | public let type: SemanticType
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Encodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Encodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
11 | public let type: SemanticType
12 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/Numeric.swift:27:23: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
25 | @inlinable
26 | public init<T: BinaryFloatingPoint>(_ value: T) {
27 | self.string = String(describing: value)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
28 | }
29 | }
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:143:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
141 |
142 | @inlinable
143 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
144 | if value.isEmpty {
145 | self._storage = Storage()
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:533:31: error: 'Decoder' is unavailable: unavailable in embedded Swift
531 |
532 | extension SemanticString: Codable {
533 | public init(from decoder: Decoder) throws {
| `- error: 'Decoder' is unavailable: unavailable in embedded Swift
534 | let container = try decoder.singleValueContainer()
535 | let atomicComponents = try container.decode([AtomicComponent].self)
Swift.Decoder:2:17: note: 'Decoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Decoder {
| `- note: 'Decoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:539:36: error: 'Encoder' is unavailable: unavailable in embedded Swift
537 | }
538 |
539 | public func encode(to encoder: Encoder) throws {
| `- error: 'Encoder' is unavailable: unavailable in embedded Swift
540 | var container = encoder.singleValueContainer()
541 | try container.encode(components)
Swift.Encoder:2:17: note: 'Encoder' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public protocol Encoder {
| `- note: 'Encoder' has been explicitly marked unavailable here
3 | var codingPath: [any CodingKey] { get }
4 | func container<Key>(keyedBy type: Key.Type) -> KeyedEncodingContainer<Key> where Key : CodingKey
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:532:27: error: 'Codable' is unavailable: unavailable in embedded Swift
530 | // MARK: - Codable Conformance
531 |
532 | extension SemanticString: Codable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
533 | public init(from decoder: Decoder) throws {
534 | let container = try decoder.singleValueContainer()
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/Components/AnyComponent.swift:9:15: error: type 'AtomicComponent' does not conform to protocol 'Decodable'
7 | /// You typically don't create `AtomicComponent` directly. Instead, use
8 | /// specific component types like `Keyword`, `TypeName`, or `Standard`.
9 | public struct AtomicComponent: AtomicSemanticComponent, Codable, Hashable {
| `- error: type 'AtomicComponent' does not conform to protocol 'Decodable'
10 | public let string: String
| `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
11 | public let type: SemanticType
12 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:535:46: error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
533 | public init(from decoder: Decoder) throws {
534 | let container = try decoder.singleValueContainer()
535 | let atomicComponents = try container.decode([AtomicComponent].self)
| `- error: value of type 'any SingleValueDecodingContainer' has no member 'decode'
536 | self.init(components: atomicComponents)
537 | }
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticString.swift:541:23: error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
539 | public func encode(to encoder: Encoder) throws {
540 | var container = encoder.singleValueContainer()
541 | try container.encode(components)
| `- error: value of type 'any SingleValueEncodingContainer' has no member 'encode'
542 | }
543 | }
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticType.swift:2:51: error: 'Codable' is unavailable: unavailable in embedded Swift
1 | public enum SemanticType: Hashable, Codable, Sendable {
2 | public enum TypeKind: CaseIterable, Hashable, Codable, Sendable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
3 | case `enum`
4 | case `struct`
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/MachOSwiftSection/Sources/Semantic/SemanticType.swift:10:50: error: 'Codable' is unavailable: unavailable in embedded Swift
8 | }
9 |
10 | public enum Context: CaseIterable, Hashable, Codable, Sendable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
11 | case declaration
12 | case name
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
[63/561] Emitting module SwiftSyntax509
[64/561] Emitting module SwiftSyntax601
[65/561] Emitting module SwiftSyntax510
BUILD FAILURE 6.2 wasm