The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodableExtensions, reference 1.1.0 (4bd3dc), with Swift 6.2 for Wasm on 19 Jun 2025 19:29:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Appsaurus/CodableExtensions.git
Reference: 1.1.0
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/Appsaurus/CodableExtensions
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 4bd3dc5 Swift 5.5 support.
Cloned https://github.com/Appsaurus/CodableExtensions.git
Revision (git rev-parse @):
4bd3dc586fd4f90a9c4f07eced3a94874d9d849e
SUCCESS checkout https://github.com/Appsaurus/CodableExtensions.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Appsaurus/CodableExtensions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Appsaurus/SwiftTestUtils
Fetching https://github.com/Appsaurus/RuntimeExtensions
Fetching https://github.com/yonaskolb/Codability.git
[1/150] Fetching swifttestutils
[4/276] Fetching swifttestutils, codability
[243/573] Fetching swifttestutils, codability, runtimeextensions
Fetched https://github.com/Appsaurus/SwiftTestUtils from cache (0.44s)
Fetched https://github.com/yonaskolb/Codability.git from cache (0.44s)
Fetched https://github.com/Appsaurus/RuntimeExtensions from cache (0.45s)
Computing version for https://github.com/Appsaurus/SwiftTestUtils
Computed https://github.com/Appsaurus/SwiftTestUtils at 1.0.1 (4.94s)
Computing version for https://github.com/yonaskolb/Codability.git
Computed https://github.com/yonaskolb/Codability.git at 0.2.1 (0.78s)
Computing version for https://github.com/Appsaurus/RuntimeExtensions
Computed https://github.com/Appsaurus/RuntimeExtensions at 1.1.0 (0.93s)
Fetching https://github.com/wickwirew/Runtime
[1/1966] Fetching runtime
Fetched https://github.com/wickwirew/Runtime from cache (0.46s)
Computing version for https://github.com/wickwirew/Runtime
Computed https://github.com/wickwirew/Runtime at 2.2.7 (1.33s)
Creating working copy for https://github.com/Appsaurus/RuntimeExtensions
Working copy of https://github.com/Appsaurus/RuntimeExtensions resolved at 1.1.0
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/Appsaurus/SwiftTestUtils
Working copy of https://github.com/Appsaurus/SwiftTestUtils resolved at 1.0.1
Creating working copy for https://github.com/yonaskolb/Codability.git
Working copy of https://github.com/yonaskolb/Codability.git resolved at 0.2.1
Building for debugging...
[0/6] Write sources
[4/6] Compiling CRuntime dummy.c
[4/6] Write swift-version-24593BA9C3E375BF.txt
[7/54] Compiling Runtime TypeInfoConvertible.swift
[8/54] Compiling Runtime Pointers.swift
[9/54] Compiling Runtime RelativePointer.swift
[10/54] Compiling Runtime RelativeVectorPointer.swift
[11/54] Compiling Runtime Union.swift
[12/54] Compiling Runtime Errors.swift
[13/54] Compiling Runtime FunctionInfo.swift
[14/54] Compiling Runtime Kind.swift
[15/54] Compiling Runtime PropertyInfo.swift
[16/54] Compiling Runtime TypeInfo.swift
[17/59] Compiling Runtime ProtocolMetadataLayout.swift
[18/59] Compiling Runtime ProtocolTypeContainer.swift
[19/59] Compiling Runtime StructMetadataLayout.swift
[20/59] Compiling Runtime StructTypeDescriptor.swift
[21/59] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[22/59] Compiling Runtime TupleMetadataLayout.swift
[23/59] Compiling Codability InvalidElementStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[24/59] 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
[25/59] 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
[26/59] 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
[27/59] 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
[28/59] 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
[29/59] 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
[30/59] Compiling Runtime TypeDescriptor.swift
[31/59] Compiling Runtime ValueWitnessTable.swift
[32/59] Compiling Runtime ClassMetadata.swift
[33/59] Compiling Runtime EnumMetadata.swift
[34/59] Compiling Runtime FuntionMetadata.swift
[35/59] Compiling Runtime Metadata.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/59] Emitting module Codability
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[37/59] Compiling Codability GenericDecodingContainer.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[38/59] Compiling Codability RawCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[39/59] Compiling Codability AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[40/59] Compiling Codability KeyedDecodingContainer+Any.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
[41/59] Compiling Codability KeyedEncodingContainer+Any.swift
/host/spi-builder-workspace/.build/checkouts/Codability/Sources/Codability/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // Based on https://github.com/Flight-School/AnyCodable
BUILD FAILURE 6.2 wasm