The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FoundationExtensions, reference main (e62d07), with Swift 6.1 for Wasm on 29 May 2025 14:54:56 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/FoundationExtensions.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/wadetregaskis/FoundationExtensions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e62d07e Commented-out the "FullTypedThrows" option, as not only does it tend to trip up on compiler bugs, but in recent Xcode 15 betas the compiler goes out of its way to refuse to even accept it, failing the build entirely. 😠
Cloned https://github.com/wadetregaskis/FoundationExtensions.git
Revision (git rev-parse @):
e62d07ed354d16b1ab2c8c1ba98c646b9518e8f7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/FoundationExtensions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wadetregaskis/FoundationExtensions.git
https://github.com/wadetregaskis/FoundationExtensions.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FoundationExtensions",
  "name" : "FoundationExtensions",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationExtensions",
      "targets" : [
        "FoundationExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FoundationExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationExtensionsTests",
      "path" : "Tests/FoundationExtensionsTests",
      "sources" : [
        "AsyncSequenceTests.swift",
        "BidirectionalCollectionTests.swift",
        "BinaryIntegerTests.swift",
        "CollectionOfUInt8Tests.swift",
        "ComparableTests.swift",
        "DataTests.swift",
        "DoubleTests.swift",
        "FloatTests.swift",
        "IteratorProtocolTests.swift",
        "LocaleTests.swift",
        "OptionalTests.swift",
        "StringProtocolTests.swift"
      ],
      "target_dependencies" : [
        "FoundationExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FoundationExtensions",
      "module_type" : "SwiftTarget",
      "name" : "FoundationExtensions",
      "path" : "Sources/FoundationExtensions",
      "product_memberships" : [
        "FoundationExtensions"
      ],
      "sources" : [
        "AsyncSequence.swift",
        "BidirectionalCollection.swift",
        "BinaryInteger.swift",
        "CollectionOfUInt8.swift",
        "Comparable.swift",
        "Data.swift",
        "Date.swift",
        "Double.swift",
        "Float.swift",
        "IteratorProtocol.swift",
        "Locale.swift",
        "Optional.swift",
        "StringProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FoundationExtensions Optional.swift
[4/16] Compiling FoundationExtensions StringProtocol.swift
[5/16] Compiling FoundationExtensions Float.swift
[6/16] Compiling FoundationExtensions IteratorProtocol.swift
[7/16] Compiling FoundationExtensions Locale.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Compiling FoundationExtensions BinaryInteger.swift
[9/16] Compiling FoundationExtensions CollectionOfUInt8.swift
[10/16] Compiling FoundationExtensions Comparable.swift
[11/16] Compiling FoundationExtensions Data.swift
[12/16] Compiling FoundationExtensions AsyncSequence.swift
[13/16] Compiling FoundationExtensions BidirectionalCollection.swift
[14/16] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[15/16] Compiling FoundationExtensions Date.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[16/16] Compiling FoundationExtensions Double.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling FoundationExtensions Optional.swift
[3/15] Compiling FoundationExtensions Locale.swift
[4/15] Compiling FoundationExtensions Comparable.swift
[5/15] Compiling FoundationExtensions Data.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module FoundationExtensions
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[7/15] Compiling FoundationExtensions Float.swift
[8/15] Compiling FoundationExtensions IteratorProtocol.swift
[9/15] Compiling FoundationExtensions Date.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[10/15] Compiling FoundationExtensions Double.swift
/host/spi-builder-workspace/Sources/FoundationExtensions/Date.swift:9:25: error: cannot find 'RelativeDateTimeFormatter' in scope
 7 |     @usableFromInline
 8 |     internal nonisolated(unsafe) static let relativeDateTimeFormatter = {
 9 |         var formatter = RelativeDateTimeFormatter()
   |                         `- error: cannot find 'RelativeDateTimeFormatter' in scope
10 |         formatter.dateTimeStyle = .named
11 |         formatter.unitsStyle = .full
[11/15] Compiling FoundationExtensions StringProtocol.swift
[12/15] Compiling FoundationExtensions BinaryInteger.swift
[13/15] Compiling FoundationExtensions CollectionOfUInt8.swift
[14/15] Compiling FoundationExtensions AsyncSequence.swift
[15/15] Compiling FoundationExtensions BidirectionalCollection.swift
BUILD FAILURE 6.1 wasm