Build Information
Failed to build MachOSwiftSection, reference main (3d6165), with Swift 6.2 for Wasm on 9 Mar 2026 07:46:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/MachOSwiftSection.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/MachOSwiftSection
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3d6165d Switch dependencies to tagged versions
Cloned https://github.com/lynnswap/MachOSwiftSection.git
Revision (git rev-parse @):
3d6165d8dd4edd17937be00811a76225c0a947b6
SUCCESS checkout https://github.com/lynnswap/MachOSwiftSection.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/lynnswap/MachOSwiftSection.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/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/MxIris-DeveloperTool-Forks/swift-clang
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/lynnswap/swift-apinotes.git
Fetching https://github.com/pointfreeco/swift-dependencies
[1/236] Fetching swift-apinotes
[18/320] Fetching swift-apinotes, swift-clang
[150/1743] Fetching swift-apinotes, swift-clang, rainbow
[1117/8399] Fetching swift-apinotes, swift-clang, rainbow, swift-dependencies
Fetching https://github.com/christophhagen/BinaryCodable
Fetching https://github.com/lynnswap/SourceKitD.git
Fetched https://github.com/lynnswap/swift-apinotes.git from cache (0.75s)
Fetched https://github.com/MxIris-DeveloperTool-Forks/swift-clang from cache (0.76s)
Fetched https://github.com/onevcat/Rainbow from cache (0.76s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.76s)
Fetching https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro
Fetching https://github.com/lynnswap/FrameworkToolbox.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/AssociatedObject
[1/246] Fetching swift-fileio
[29/3187] Fetching swift-fileio, binarycodable
[154/3348] Fetching swift-fileio, binarycodable, sourcekitd
[354/4015] Fetching swift-fileio, binarycodable, sourcekitd, swift-memberwise-init-macro
[409/4506] Fetching swift-fileio, binarycodable, sourcekitd, swift-memberwise-init-macro, frameworktoolbox
[1425/5213] Fetching swift-fileio, binarycodable, sourcekitd, swift-memberwise-init-macro, frameworktoolbox, associatedobject
Fetched https://github.com/lynnswap/FrameworkToolbox.git from cache (0.31s)
[2870/4722] Fetching swift-fileio, binarycodable, sourcekitd, swift-memberwise-init-macro, associatedobject
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.32s)
[2682/4476] Fetching binarycodable, sourcekitd, swift-memberwise-init-macro, associatedobject
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/MxIris-Library-Forks/swift-memberwise-init-macro from cache (0.39s)
[3074/3809] Fetching binarycodable, sourcekitd, associatedobject
Fetched https://github.com/p-x9/AssociatedObject from cache (0.38s)
[2838/3102] Fetching binarycodable, sourcekitd
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/lynnswap/SourceKitD.git from cache (0.62s)
Fetched https://github.com/christophhagen/BinaryCodable from cache (0.62s)
Fetching https://github.com/lynnswap/MachOObjCSection.git
[1/17182] Fetching swift-argument-parser
[173/23406] Fetching swift-argument-parser, swift-async-algorithms
[1063/45436] Fetching swift-argument-parser, swift-async-algorithms, swift-collections
[1188/47749] Fetching swift-argument-parser, swift-async-algorithms, swift-collections, machoobjcsection
Fetching https://github.com/lynnswap/MachOKit.git
Fetched https://github.com/lynnswap/MachOObjCSection.git from cache (0.38s)
[12455/45436] Fetching swift-argument-parser, swift-async-algorithms, swift-collections
Fetching https://github.com/lynnswap/DyldPrivate.git
Fetched https://github.com/apple/swift-async-algorithms from cache (0.77s)
[16368/39212] Fetching swift-argument-parser, swift-collections
[19607/113833] Fetching swift-argument-parser, swift-collections, swift-syntax
[19828/113852] Fetching swift-argument-parser, swift-collections, swift-syntax, dyldprivate
[20288/120089] Fetching swift-argument-parser, swift-collections, swift-syntax, dyldprivate, machokit
Fetched https://github.com/lynnswap/DyldPrivate.git from cache (0.30s)
[23143/120070] Fetching swift-argument-parser, swift-collections, swift-syntax, machokit
Fetched https://github.com/lynnswap/MachOKit.git from cache (0.58s)
[35134/113833] Fetching swift-argument-parser, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (2.15s)
[62326/96651] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.18s)
[43281/74621] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.14s)
Computing version for https://github.com/lynnswap/DyldPrivate.git
Computed https://github.com/lynnswap/DyldPrivate.git at 0.1.0 (7.67s)
Computing version for https://github.com/lynnswap/swift-apinotes.git
Computed https://github.com/lynnswap/swift-apinotes.git at 0.1.0 (1.13s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/SwiftyLab/MetaCodable
[1/11505] Fetching yams
[1152/169746] Fetching yams, metacodable
Fetched https://github.com/jpsim/Yams from cache (1.70s)
[37978/158241] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable from cache (9.80s)
Computing version for https://github.com/MxIris-DeveloperTool-Forks/swift-clang
Computed https://github.com/MxIris-DeveloperTool-Forks/swift-clang at 0.1.0 (10.92s)
Computing version for https://github.com/lynnswap/SourceKitD.git
Computed https://github.com/lynnswap/SourceKitD.git at 0.1.0 (1.24s)
Computing version for https://github.com/lynnswap/FrameworkToolbox.git
Computed https://github.com/lynnswap/FrameworkToolbox.git at 0.3.3 (0.73s)
Fetching https://github.com/apple/swift-log.git
[1/6154] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.27s)
Computing version for https://github.com/lynnswap/MachOObjCSection.git
Computed https://github.com/lynnswap/MachOObjCSection.git at 0.5.2 (3.83s)
Fetching https://github.com/lynnswap/swift-objc-dump.git
[1/452] Fetching swift-objc-dump
Fetched https://github.com/lynnswap/swift-objc-dump.git from cache (0.47s)
Computing version for https://github.com/lynnswap/MachOKit.git
Computed https://github.com/lynnswap/MachOKit.git at 0.45.1 (1.25s)
Fetching https://github.com/apple/swift-crypto.git
[1/17245] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.03s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (4.84s)
Computing version for https://github.com/lynnswap/swift-objc-dump.git
Computed https://github.com/lynnswap/swift-objc-dump.git at 0.8.2 (2.02s)
Computing version for https://github.com/p-x9/AssociatedObject
Computed https://github.com/p-x9/AssociatedObject at 0.14.0 (1.80s)
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/p-x9/swift-object-association.git
[1/207] Fetching swift-object-association
[208/318] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-literal-type-inference.git from cache (0.37s)
Fetched https://github.com/p-x9/swift-object-association.git from cache (0.37s)
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 (1.06s)
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 (1.04s)
Computing version for https://github.com/SwiftyLab/MetaCodable
Computed https://github.com/SwiftyLab/MetaCodable at 1.6.0 (1.07s)
Computing version for https://github.com/christophhagen/BinaryCodable
Computed https://github.com/christophhagen/BinaryCodable at 3.2.0 (0.71s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.61s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.11.0 (1.70s)
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2550] Fetching combine-schedulers
[919/3867] Fetching combine-schedulers, swift-clocks
[2956/9585] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
[3552/10471] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.63s)
[5983/9585] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.31s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.31s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.33s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (2.49s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.68s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.89s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.71s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.0 (0.95s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.73s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.85s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (1.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.61s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.59s)
Fetching https://github.com/apple/swift-asn1.git
[1/1766] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (1.79s)
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.93s)
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/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.11.0
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/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.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.13.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/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/lynnswap/SourceKitD.git
Working copy of https://github.com/lynnswap/SourceKitD.git resolved at 0.1.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/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/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/SwiftyLab/MetaCodable
Working copy of https://github.com/SwiftyLab/MetaCodable resolved at 1.6.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/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/lynnswap/MachOKit.git
Working copy of https://github.com/lynnswap/MachOKit.git resolved at 0.45.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/DyldPrivate.git
Working copy of https://github.com/lynnswap/DyldPrivate.git resolved at 0.1.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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/lynnswap/MachOObjCSection.git
Working copy of https://github.com/lynnswap/MachOObjCSection.git resolved at 0.5.2
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/christophhagen/BinaryCodable
Working copy of https://github.com/christophhagen/BinaryCodable resolved at 3.2.0
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/lynnswap/swift-objc-dump.git
Working copy of https://github.com/lynnswap/swift-objc-dump.git resolved at 0.8.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.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.0
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/550] Write sources
[38/550] Compiling MachOSwiftSectionC ValueWitnessTable.c
[39/550] Compiling DyldPrivate dummy.c
[40/550] Write sources
[59/550] Write swift-version-24593BA9C3E375BF.txt
[60/550] Write sources
[61/550] Compiling _SwiftSyntaxCShims dummy.c
[63/550] Compiling MachOSwiftSectionC Functions.c
[64/560] Compiling MachOSwiftSectionC CallAccessor.c
[65/566] Compiling UtilitiesC PtrAuthWrapper.c
[67/575] Emitting module SwiftSyntax600
[68/575] Emitting module SwiftSyntax601
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/578] Emitting module Semantic
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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
[69/578] Compiling fork_detect.cc
[70/578] Compiling deterministic.cc
[72/594] Compiling Semantic AnyComponent.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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
BUILD FAILURE 6.2 wasm