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 SwiftOCA, reference 0.4.5 (afb3f6), with Swift 6.2 (beta) for Wasm on 19 Jul 2025 06:53:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/PADL/SwiftOCA.git
Reference: 0.4.5
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/PADL/SwiftOCA
 * tag               0.4.5      -> FETCH_HEAD
HEAD is now at afb3f66 cache device property method IDs
Cloned https://github.com/PADL/SwiftOCA.git
Revision (git rev-parse @):
afb3f665a983959e77b9f5336d6a5718d58fad26
SUCCESS checkout https://github.com/PADL/SwiftOCA.git at 0.4.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PADL/SwiftOCA.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/lhoward/AsyncExtensions
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/PADL/IORingSwift
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/PADL/SocketAddress
[1/68] Fetching socketaddress
[69/850] Fetching socketaddress, anycodable
[445/1532] Fetching socketaddress, anycodable, asyncextensions
[636/3089] Fetching socketaddress, anycodable, asyncextensions, gzipswift
[2353/5267] Fetching socketaddress, anycodable, asyncextensions, gzipswift, ioringswift
[4136/7075] Fetching socketaddress, anycodable, asyncextensions, gzipswift, ioringswift, swift-atomics
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.25s)
[5200/6393] Fetching socketaddress, anycodable, gzipswift, ioringswift, swift-atomics
Fetching https://github.com/apple/swift-system
Fetched https://github.com/Flight-School/AnyCodable from cache (0.26s)
[4599/5611] Fetching socketaddress, gzipswift, ioringswift, swift-atomics
Fetching https://github.com/apple/swift-log
Fetched https://github.com/PADL/SocketAddress from cache (0.31s)
Fetched https://github.com/PADL/IORingSwift from cache (0.31s)
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/1024jp/GzipSwift from cache (0.42s)
Fetched https://github.com/apple/swift-atomics from cache (0.42s)
[1/3867] Fetching swift-log
[2/8524] Fetching swift-log, swift-system
[4366/13514] Fetching swift-log, swift-system, swift-async-algorithms
Fetched https://github.com/apple/swift-system from cache (0.39s)
Fetched https://github.com/apple/swift-log from cache (0.41s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.37s)
Computing version for https://github.com/1024jp/GzipSwift
warning: 'gzipswift': /Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/1024jp/GzipSwift at 6.1.0 (1.03s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.39s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.65s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.77s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.77s)
Fetching https://github.com/apple/swift-collections.git
[1/16816] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (2.10s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.71s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.1.9 (0.59s)
Fetching https://github.com/dfed/swift-async-queue
[1/1323] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.23s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (0.54s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.32s)
Creating working copy for https://github.com/lhoward/AsyncExtensions
Working copy of https://github.com/lhoward/AsyncExtensions resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.1.9
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.1.0
Creating working copy for https://github.com/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/dfed/swift-async-queue
Working copy of https://github.com/dfed/swift-async-queue resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
warning: 'gzipswift': /host/spi-builder-workspace/.build/checkouts/GzipSwift/Package.swift:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
 3 | import PackageDescription
 4 |
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' [#DeprecatedDeclaration]
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |     name: "GzipSwift",
 7 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[0/48] Write sources
[20/48] Compiling CSystem shims.c
[21/48] Compiling _AtomicsShims.c
[22/48] Compiling system-zlib anchor.c
[23/48] Write swift-version-24593BA9C3E375BF.txt
[25/119] Emitting module Atomics
[26/121] Compiling AnyCodable AnyEncodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[27/121] Compiling SystemPackage FileOperations.swift
[28/121] Compiling SystemPackage FilePath.swift
[29/122] Compiling InternalCollectionsUtilities Descriptions.swift
[30/122] Compiling Atomics AtomicMemoryOrderings.swift
[31/122] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/122] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/122] Compiling InternalCollectionsUtilities Debugging.swift
[34/122] Compiling AnyCodable AnyDecodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/122] Emitting module Gzip
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:29:15: error: no such module 'Foundation'
 27 |  */
 28 |
 29 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
 30 |
 31 | #if os(Linux)
[38/122] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/.build/checkouts/GzipSwift/Sources/Gzip/Data+Gzip.swift:29:15: error: no such module 'Foundation'
 27 |  */
 28 |
 29 | import struct Foundation.Data
    |               `- error: no such module 'Foundation'
 30 |
 31 | #if os(Linux)
[39/122] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[40/122] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/122] Compiling SystemPackage FileDescriptor.swift
[42/122] Compiling SystemPackage FileHelpers.swift
[43/122] Compiling Atomics ManagedAtomic.swift
[44/122] Compiling Atomics ManagedAtomicLazyReference.swift
[46/122] Compiling Atomics DoubleWord.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/122] Emitting module AnyCodable
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[48/122] Compiling AnyCodable AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/AnyCodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | /**
  3 |  A type-erased `Codable` value.
[53/122] Compiling Atomics UnsafeAtomic.swift
[54/122] Compiling Atomics UnsafeAtomicLazyReference.swift
[55/122] Compiling SystemPackage Errno.swift
[56/122] Compiling SystemPackage ErrnoWindows.swift
BUILD FAILURE 6.2 wasm