Build Information
Failed to build Kodable, reference main (a48c37
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 16:38:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jarmourato/Kodable.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/jarmourato/Kodable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a48c374 update CI
Cloned https://github.com/jarmourato/Kodable.git
Revision (git rev-parse @):
a48c374e7fd3c88c61bfda5ea0c4f8dfe5b5a943
SUCCESS checkout https://github.com/jarmourato/Kodable.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jarmourato/Kodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/wickwirew/Runtime
Fetching https://github.com/rogerluan/JSEN
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
[907/3223] Fetching cwlpreconditiontesting, runtime
[730/1257] Fetching cwlpreconditiontesting
[1064/3223] Fetching cwlpreconditiontesting, runtime
[1494/3355] Fetching cwlpreconditiontesting, runtime, jsen
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.56s)
Fetched https://github.com/wickwirew/Runtime from cache (0.57s)
Fetched https://github.com/rogerluan/JSEN from cache (0.57s)
Computing version for https://github.com/rogerluan/JSEN
Computed https://github.com/rogerluan/JSEN at 1.2.1 (1.44s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.02s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.51s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.32s)
Computing version for https://github.com/wickwirew/Runtime
Computed https://github.com/wickwirew/Runtime at 2.2.7 (0.78s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/wickwirew/Runtime
Working copy of https://github.com/wickwirew/Runtime resolved at 2.2.7
Creating working copy for https://github.com/rogerluan/JSEN
Working copy of https://github.com/rogerluan/JSEN resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling CRuntime dummy.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/53] Compiling Runtime Errors.swift
[7/53] Compiling Runtime FunctionInfo.swift
[8/53] Compiling Runtime Kind.swift
[9/53] Compiling Runtime PropertyInfo.swift
[10/53] Compiling Runtime TypeInfo.swift
[11/58] Compiling Runtime TypeInfoConvertible.swift
[12/58] Compiling Runtime Pointers.swift
[13/58] Compiling Runtime RelativePointer.swift
[14/58] Compiling Runtime RelativeVectorPointer.swift
[15/58] Compiling Runtime Union.swift
[16/58] Compiling JSEN JSEN.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[17/58] Compiling Runtime MetadataType.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[18/58] Compiling Runtime NominalMetadataType.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[19/58] Compiling Runtime ProtocolMetadata.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[20/58] Compiling Runtime StructMetadata.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[21/58] Compiling Runtime TupleMetadata.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[22/58] Compiling Runtime Case.swift
/host/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift:33:68: error: value of type 'String' has no member 'components'
31 | func labels() -> [String] {
32 | guard Int(bitPattern: pointer.pointee.labelsString) != 0 else { return (0..<numberOfElements()).map { _ in "" } }
33 | var labels = String(cString: pointer.pointee.labelsString).components(separatedBy: " ")
| `- error: value of type 'String' has no member 'components'
34 | labels.removeLast()
35 | return labels
[23/58] Compiling Runtime TypeDescriptor.swift
[24/58] Compiling Runtime ValueWitnessTable.swift
[25/58] Compiling Runtime ClassMetadata.swift
[26/58] Compiling Runtime EnumMetadata.swift
[27/58] Compiling Runtime FuntionMetadata.swift
[28/58] Compiling Runtime Metadata.swift
[29/58] Compiling Runtime ProtocolMetadataLayout.swift
[30/58] Compiling Runtime ProtocolTypeContainer.swift
[31/58] Compiling Runtime StructMetadataLayout.swift
[32/58] Compiling Runtime StructTypeDescriptor.swift
[33/58] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[34/58] Compiling Runtime TupleMetadataLayout.swift
[35/58] Compiling JSEN JSEN+KeyPath.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/58] Compiling JSEN JSEN+Codable.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[37/58] Emitting module JSEN
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[38/58] Compiling JSEN JSEN+SyntacticSugar.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[39/58] Compiling Runtime EnumTypeDescriptor.swift
[40/58] Compiling Runtime ExistentialContainter.swift
[41/58] Compiling Runtime FieldDescriptor.swift
[42/58] Compiling Runtime FunctionMetadataLayout.swift
[43/58] Compiling Runtime MetadataLayoutType.swift
[44/58] Compiling Runtime ProtocolDescriptor.swift
[45/58] Emitting module Runtime
[46/58] Compiling Runtime DefaultValue.swift
[47/58] Compiling Runtime Factory.swift
[48/58] Compiling Runtime ClassHeader.swift
[49/58] Compiling Runtime ClassMetadataLayout.swift
[50/58] Compiling Runtime ClassTypeDescriptor.swift
[51/58] Compiling Runtime EnumMetadataLayout.swift
[52/58] Compiling JSEN JSENRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[53/58] Compiling JSEN KeyPath.swift
/host/spi-builder-workspace/.build/checkouts/JSEN/Sources/JSEN+Codable.swift:3:8: error: no such module 'Foundation'
1 | // Copyright © 2021 Roger Oba. All rights reserved.
2 |
3 | import Foundation
| `- error: no such module 'Foundation'
4 |
5 | extension JSEN : Encodable {
[54/58] Compiling Runtime Vector.swift
[55/58] Compiling Runtime GettersSetters.swift
[56/58] Compiling Runtime Pointer+Extensions.swift
[57/58] Compiling Runtime RetainCounts.swift
[58/58] Compiling Runtime String+Extensions.swift
BUILD FAILURE 6.2 wasm