The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BinaryParseKit, reference main (b5320e), with Swift 6.2 for Wasm on 9 Feb 2026 12:54:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlickerSoul/BinaryParseKit.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/FlickerSoul/BinaryParseKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b5320e4 Update README (#32)
Cloned https://github.com/FlickerSoul/BinaryParseKit.git
Revision (git rev-parse @):
b5320e47d1eff68000fb12f7bba7bef6a8183744
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlickerSoul/BinaryParseKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FlickerSoul/BinaryParseKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-binary-parsing.git
[1/1270] Fetching swift-binary-parsing
Fetched https://github.com/apple/swift-binary-parsing.git from cache (0.80s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/2171] Fetching swift-docc-plugin
[23/3114] Fetching swift-docc-plugin, swift-macro-testing
[429/4098] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.29s)
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (0.29s)
[261/2171] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.45s)
[1/19478] Fetching swift-collections
[2728/93578] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (7.28s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.31s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (9.79s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.8.0 (0.39s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.4 (0.34s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15737] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (4.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3655] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.53s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.34s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5291] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (0.69s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.73s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (1.12s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-binary-parsing.git
Working copy of https://github.com/apple/swift-binary-parsing.git resolved at main (223d08d)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.4
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.8.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.36s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/77] Write sources
[36/77] Compiling _SwiftSyntaxCShims PlatformMutex.c
[37/77] Write swift-version-24593BA9C3E375BF.txt
[39/114] Compiling BinaryParseKitCommons Types.swift
[40/114] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[41/114] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[42/116] Emitting module SwiftSyntax509
[43/116] Compiling SwiftSyntax509 Empty.swift
[44/117] Compiling InternalCollectionsUtilities Debugging.swift
[45/117] Compiling InternalCollectionsUtilities Descriptions.swift
[46/117] Compiling SwiftSyntax602 Empty.swift
[47/117] Emitting module SwiftSyntax602
[48/117] Compiling SwiftSyntax510 Empty.swift
[49/117] Emitting module SwiftSyntax510
[50/119] Compiling InternalCollectionsUtilities _SortedCollection.swift
[51/119] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[52/119] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[53/119] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[54/119] Emitting module SwiftSyntax601
[56/119] Compiling SwiftSyntax601 Empty.swift
[58/120] Emitting module InternalCollectionsUtilities
[59/120] Compiling InternalCollectionsUtilities UInt+reversed.swift
[60/120] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[61/120] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/120] Compiling InternalCollectionsUtilities Integer rank.swift
[63/120] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/120] Emitting module SwiftSyntax600
[66/120] Compiling SwiftSyntax600 Empty.swift
[67/120] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[68/120] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[70/120] Compiling BinaryParsingMacros ParserMacroVisitors.swift
[71/120] Compiling BinaryParsingMacros Plugin.swift
[72/122] Compiling BinaryParsingMacros MagicNumberStringMacro.swift
[73/122] Compiling BinaryParsingMacros Extensions.swift
[74/122] Emitting module BinaryParseKitCommons
[75/122] Compiling BinaryParseKitCommons ExtensionAccessor.swift
[77/123] Compiling BinaryParsingMacros ParserMacroRewriters.swift
[79/123] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[80/123] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[82/124] Compiling BinaryParsingMacros SyntaxVisitorPredicate.swift
[82/124] Wrapping AST for SwiftSyntax601 for debugging
[83/124] Wrapping AST for SwiftSyntax602 for debugging
[84/124] Wrapping AST for SwiftSyntax510 for debugging
[85/124] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/126] Emitting module BinaryParseKitCommons
/host/spi-builder-workspace/Sources/BinaryParseKitCommons/ExtensionAccessor.swift:9:77: error: 'Codable' is unavailable: unavailable in embedded Swift
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |                                                                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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/BinaryParseKitCommons/ExtensionAccessor.swift:9:13: error: type 'ExtensionAccessor' does not conform to protocol 'Decodable'
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |             `- error: type 'ExtensionAccessor' does not conform to protocol 'Decodable'
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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 |
BinaryParseKitCommons.ExtensionAccessor.unknown._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum ExtensionAccessor {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/BinaryParseKitCommons/ExtensionAccessor.swift:9:13: error: type 'ExtensionAccessor' does not conform to protocol 'Encodable'
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |             `- error: type 'ExtensionAccessor' does not conform to protocol 'Encodable'
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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 |
BinaryParseKitCommons.ExtensionAccessor.unknown._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum ExtensionAccessor {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
[88/231] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[89/231] Compiling HeapModule Heap+Invariants.swift
[90/400] Compiling HeapModule Heap+Descriptions.swift
[91/400] Compiling BitCollections BitArray+BitwiseOperations.swift
[92/400] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[93/402] Compiling BitCollections BitArray+Hashable.swift
[94/402] Compiling BitCollections BitArray+Initializers.swift
[95/402] Compiling HeapModule _HeapNode.swift
[96/402] Compiling HeapModule Heap.swift
[97/402] Compiling BitCollections BitArray+Copy.swift
[98/402] Compiling BitCollections BitArray+CustomReflectable.swift
[99/402] Compiling BitCollections BitArray+Descriptions.swift
[100/402] Compiling BitCollections BitArray+Equatable.swift
[101/402] Compiling HeapModule Heap+UnsafeHandle.swift
[102/402] Emitting module HeapModule
[104/403] Compiling DequeModule _DequeSlot.swift
[105/403] Compiling DequeModule _UnsafeWrappedBuffer.swift
[106/403] Compiling HashTreeCollections TreeSet+Hashable.swift
[107/403] Compiling HashTreeCollections TreeSet+Sendable.swift
[108/403] Compiling HashTreeCollections TreeSet+Sequence.swift
[109/403] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[110/403] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[111/403] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[112/403] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[113/403] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[114/403] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[115/403] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[116/476] Compiling SwiftSyntax SyntaxText.swift
[117/476] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[118/476] Compiling SwiftSyntax TokenDiagnostic.swift
[119/476] Compiling SwiftSyntax TokenSequence.swift
[120/476] Compiling SwiftSyntax TokenSyntax.swift
[121/476] Compiling SwiftSyntax Trivia.swift
[122/476] Compiling SwiftSyntax Utils.swift
[123/483] Compiling BinaryParseKitCommons ExtensionAccessor.swift
/host/spi-builder-workspace/Sources/BinaryParseKitCommons/ExtensionAccessor.swift:9:77: error: 'Codable' is unavailable: unavailable in embedded Swift
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |                                                                             `- error: 'Codable' is unavailable: unavailable in embedded Swift
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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/BinaryParseKitCommons/ExtensionAccessor.swift:9:13: error: type 'ExtensionAccessor' does not conform to protocol 'Decodable'
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |             `- error: type 'ExtensionAccessor' does not conform to protocol 'Decodable'
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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 |
BinaryParseKitCommons.ExtensionAccessor.unknown._:2:1: note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
1 | enum ExtensionAccessor {
2 | _: String}
  | `- note: cannot automatically synthesize 'Decodable' because 'String' does not conform to 'Decodable'
3 |
/host/spi-builder-workspace/Sources/BinaryParseKitCommons/ExtensionAccessor.swift:9:13: error: type 'ExtensionAccessor' does not conform to protocol 'Encodable'
 7 |
 8 | /// This enum represents the access level of an extension in Swift, with a few extra cases
 9 | public enum ExtensionAccessor: ExpressibleByUnicodeScalarLiteral, Sendable, Codable {
   |             `- error: type 'ExtensionAccessor' does not conform to protocol 'Encodable'
10 |     public typealias UnicodeScalarLiteralType = String
11 |
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 |
BinaryParseKitCommons.ExtensionAccessor.unknown._:2:1: note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
1 | enum ExtensionAccessor {
2 | _: String}
  | `- note: cannot automatically synthesize 'Encodable' because 'String' does not conform to 'Encodable'
3 |
[124/483] Compiling SwiftSyntax SyntaxCollection.swift
[125/483] Compiling SwiftSyntax SyntaxHashable.swift
[126/483] Compiling SwiftSyntax SyntaxIdentifier.swift
[127/483] Compiling SwiftSyntax ChildNameForKeyPath.swift
[128/483] Compiling SwiftSyntax Keyword.swift
[129/483] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[130/483] Compiling SwiftSyntax RenamedNodesCompatibility.swift
BUILD FAILURE 6.2 wasm