The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build universal, reference 5.2.7 (e0ed94), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 11:44:39 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/marcprux/universal.git
Reference: 5.2.7
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/marcprux/universal
 * tag               5.2.7      -> FETCH_HEAD
HEAD is now at e0ed945
Cloned https://github.com/marcprux/universal.git
Revision (git rev-parse @):
e0ed945ef972dcbb81312d29fbbe5605c28759e4
SUCCESS checkout https://github.com/marcprux/universal.git at 5.2.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/marcprux/universal.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
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/9] Emitting module Either
/host/spi-builder-workspace/Sources/Either/Either.swift:319:19: warning: conformance of 'Never' to protocol 'Decodable' was already stated in the type's module 'Swift'
317 |
318 | /// Useful extension for when a `OneOfX<A, B, …, Never>` wants to be treated as `Codable`
319 | extension Never : Decodable {
    |                   `- warning: conformance of 'Never' to protocol 'Decodable' was already stated in the type's module 'Swift'
320 |     /// Throws an error, since it should never be decodable
321 |     public init(from decoder: Decoder) throws {
    |            `- note: initializer 'init(from:)' will not be used to satisfy the conformance to 'Decodable'
322 |         throw NeverCodableError.decodableNever
323 |     }
Swift.Never:2:11: note: 'Never' declares conformance to protocol 'Decodable' here
1 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
2 | extension Never : Decodable {
  |           `- note: 'Never' declares conformance to protocol 'Decodable' here
3 |     @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
4 |     public init(from decoder: any Decoder) throws
/host/spi-builder-workspace/Sources/Either/Either.swift:327:19: warning: conformance of 'Never' to protocol 'Encodable' was already stated in the type's module 'Swift'
325 |
326 | /// Useful extension for when a `OneOfX<A, B, …, Never>` wants to be treated as `Codable`
327 | extension Never : Encodable {
    |                   `- warning: conformance of 'Never' to protocol 'Encodable' was already stated in the type's module 'Swift'
328 |     /// Throws an error, since it should never be encodable
329 |     public func encode(to encoder: Encoder) throws {
    |                 `- note: instance method 'encode(to:)' will not be used to satisfy the conformance to 'Encodable'
330 |         throw NeverCodableError.encodableNever
331 |     }
Swift.Never:2:11: note: 'Never' declares conformance to protocol 'Encodable' here
1 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
2 | extension Never : Encodable {
  |           `- note: 'Never' declares conformance to protocol 'Encodable' here
3 |     @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
4 |     public func encode(to encoder: any Encoder) throws
[9/9] Compiling Either Either.swift
/host/spi-builder-workspace/Sources/Either/Either.swift:319:19: warning: conformance of 'Never' to protocol 'Decodable' was already stated in the type's module 'Swift'
317 |
318 | /// Useful extension for when a `OneOfX<A, B, …, Never>` wants to be treated as `Codable`
319 | extension Never : Decodable {
    |                   `- warning: conformance of 'Never' to protocol 'Decodable' was already stated in the type's module 'Swift'
320 |     /// Throws an error, since it should never be decodable
321 |     public init(from decoder: Decoder) throws {
    |            `- note: initializer 'init(from:)' will not be used to satisfy the conformance to 'Decodable'
322 |         throw NeverCodableError.decodableNever
323 |     }
Swift.Never:2:11: note: 'Never' declares conformance to protocol 'Decodable' here
1 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
2 | extension Never : Decodable {
  |           `- note: 'Never' declares conformance to protocol 'Decodable' here
3 |     @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
4 |     public init(from decoder: any Decoder) throws
/host/spi-builder-workspace/Sources/Either/Either.swift:327:19: warning: conformance of 'Never' to protocol 'Encodable' was already stated in the type's module 'Swift'
325 |
326 | /// Useful extension for when a `OneOfX<A, B, …, Never>` wants to be treated as `Codable`
327 | extension Never : Encodable {
    |                   `- warning: conformance of 'Never' to protocol 'Encodable' was already stated in the type's module 'Swift'
328 |     /// Throws an error, since it should never be encodable
329 |     public func encode(to encoder: Encoder) throws {
    |                 `- note: instance method 'encode(to:)' will not be used to satisfy the conformance to 'Encodable'
330 |         throw NeverCodableError.encodableNever
331 |     }
Swift.Never:2:11: note: 'Never' declares conformance to protocol 'Encodable' here
1 | @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
2 | extension Never : Encodable {
  |           `- note: 'Never' declares conformance to protocol 'Encodable' here
3 |     @available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *)
4 |     public func encode(to encoder: any Encoder) throws
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/21] Emitting module PLIST
/host/spi-builder-workspace/Sources/PLIST/PLIST.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 | import struct Foundation.Date
  9 | import class Foundation.PropertyListSerialization
[12/21] Compiling JSON JSONX.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 |
  9 | /// A JSON tree node, which can contain a `Scalar` (`String`, `Double`, `Bool`, or `Null`), `[JSON]`, or `[String: JSON]`
[13/21] Compiling JSON JSONParser.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 |
  9 | /// A JSON tree node, which can contain a `Scalar` (`String`, `Double`, `Bool`, or `Null`), `[JSON]`, or `[String: JSON]`
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/21] Emitting module XML
/host/spi-builder-workspace/Sources/XML/XML.swift:5:8: error: no such module 'Foundation'
  3 |  */
  4 | import Swift
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import Either
  7 |
[15/21] Compiling XML XML.swift
/host/spi-builder-workspace/Sources/XML/XML.swift:5:8: error: no such module 'Foundation'
  3 |  */
  4 | import Swift
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import Either
  7 |
[16/21] Compiling PLIST PLIST.swift
/host/spi-builder-workspace/Sources/PLIST/PLIST.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 | import struct Foundation.Date
  9 | import class Foundation.PropertyListSerialization
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/21] Emitting module JSON
/host/spi-builder-workspace/Sources/JSON/JSON.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 |
  9 | /// A JSON tree node, which can contain a `Scalar` (`String`, `Double`, `Bool`, or `Null`), `[JSON]`, or `[String: JSON]`
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/21] Emitting module YAML
/host/spi-builder-workspace/Sources/YAML/YAML.swift:2:8: error: no such module 'Foundation'
   1 | import Swift
   2 | import Foundation
     |        `- error: no such module 'Foundation'
   3 | import Either
   4 |
[19/21] Compiling JSON JSON.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:7:15: error: no such module 'Foundation'
  5 | //
  6 | import Either
  7 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
  8 |
  9 | /// A JSON tree node, which can contain a `Scalar` (`String`, `Double`, `Bool`, or `Null`), `[JSON]`, or `[String: JSON]`
BUILD FAILURE 6.2 wasm