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.1 (ee619b), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 03:49:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/PADL/SwiftOCA.git
Reference: 0.4.1
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.1      -> FETCH_HEAD
HEAD is now at ee619b7 Revert "make device-side locking functions public"
Cloned https://github.com/PADL/SwiftOCA.git
Revision (git rev-parse @):
ee619b72b55598b2ffdb9afd0580da2cf74cd71e
SUCCESS checkout https://github.com/PADL/SwiftOCA.git at 0.4.1
========================================
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-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/apple/swift-atomics
Fetching https://github.com/lhoward/AsyncExtensions
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/PADL/SocketAddress
Fetching https://github.com/PADL/IORingSwift
Fetching https://github.com/apple/swift-system
[1/2160] Fetching ioringswift
[1643/2842] Fetching ioringswift, asyncextensions
[1732/3624] Fetching ioringswift, asyncextensions, anycodable
[1894/3692] Fetching ioringswift, asyncextensions, anycodable, socketaddress
[2605/8128] Fetching ioringswift, asyncextensions, anycodable, socketaddress, swift-system
[3226/9925] Fetching ioringswift, asyncextensions, anycodable, socketaddress, swift-system, swift-atomics
Fetched https://github.com/PADL/IORingSwift from cache (0.52s)
Fetched https://github.com/lhoward/AsyncExtensions from cache (0.52s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-async-algorithms
Fetched https://github.com/Flight-School/AnyCodable from cache (0.57s)
Fetched https://github.com/apple/swift-system from cache (0.57s)
Fetched https://github.com/PADL/SocketAddress from cache (0.62s)
Fetched https://github.com/apple/swift-atomics from cache (0.62s)
[1/3836] Fetching swift-log
[1919/8821] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log from cache (0.42s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.46s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (3.20s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.86s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.75s)
Computing version for https://github.com/lhoward/AsyncExtensions
Computed https://github.com/lhoward/AsyncExtensions at 0.9.2 (0.48s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/PADL/SocketAddress
Computed https://github.com/PADL/SocketAddress at 0.0.3 (1.46s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.02s)
Computing version for https://github.com/PADL/IORingSwift
Computed https://github.com/PADL/IORingSwift at 0.1.8 (1.05s)
Fetching https://github.com/dfed/swift-async-queue
[1/1320] Fetching swift-async-queue
Fetched https://github.com/dfed/swift-async-queue from cache (0.39s)
Computing version for https://github.com/dfed/swift-async-queue
Computed https://github.com/dfed/swift-async-queue at 0.7.1 (1.08s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.61s)
Creating working copy for https://github.com/PADL/IORingSwift
Working copy of https://github.com/PADL/IORingSwift resolved at 0.1.8
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/PADL/SocketAddress
Working copy of https://github.com/PADL/SocketAddress resolved at 0.0.3
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/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-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.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/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/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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Building for debugging...
[0/47] Write sources
[20/47] Compiling CSystem shims.c
[21/47] Compiling _AtomicsShims.c
[22/47] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/118] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
    |                                                         `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
    |                              `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
[25/121] Emitting module KeyPathShims
/host/spi-builder-workspace/Sources/KeyPathShims/KeyPathShims.swift:15:1: warning: using '@_implementationOnly' without enabling library evolution for 'KeyPathShims' may lead to instability during execution
13 | import Swift
14 | @_implementationOnly
15 | import SwiftShims
   | `- warning: using '@_implementationOnly' without enabling library evolution for 'KeyPathShims' may lead to instability during execution
16 |
17 | class AnyKeyPath {
[26/121] Compiling KeyPathShims KeyPathShims.swift
/host/spi-builder-workspace/Sources/KeyPathShims/KeyPathShims.swift:15:1: warning: using '@_implementationOnly' without enabling library evolution for 'KeyPathShims' may lead to instability during execution
13 | import Swift
14 | @_implementationOnly
15 | import SwiftShims
   | `- warning: using '@_implementationOnly' without enabling library evolution for 'KeyPathShims' may lead to instability during execution
16 |
17 | class AnyKeyPath {
[27/122] Wrapping AST for KeyPathShims for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/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.
[30/122] Compiling Atomics AtomicMemoryOrderings.swift
[31/122] Compiling Atomics DoubleWord.swift
[32/122] 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.
[33/124] Compiling SystemPackage MachPort.swift
[34/124] Compiling SystemPackage PlatformString.swift
[35/124] Compiling SystemPackage SystemString.swift
[36/124] Compiling Logging Locks.swift
[37/124] Emitting module Logging
[38/124] 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.
[39/124] Compiling Atomics UnsafeAtomic.swift
[40/124] Compiling Atomics UnsafeAtomicLazyReference.swift
[41/124] 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.
[42/124] Compiling SystemPackage Util+StringArray.swift
[43/124] Compiling SystemPackage Util.swift
[44/124] Compiling SystemPackage UtilConsumers.swift
[45/124] Compiling Atomics RawRepresentable.swift
[46/124] Compiling Atomics AtomicBool.swift
[51/124] Compiling Atomics IntegerConformances.swift
[52/124] Compiling Atomics PointerConformances.swift
[53/124] Compiling Atomics ManagedAtomic.swift
[54/124] Compiling Atomics ManagedAtomicLazyReference.swift
[55/124] Emitting module InternalCollectionsUtilities
[56/124] Compiling Atomics Primitives.native.swift
[57/124] Compiling Atomics OptionalRawRepresentable.swift
[60/124] Compiling Atomics AtomicInteger.swift
[61/124] Compiling Atomics AtomicOptionalWrappable.swift
BUILD FAILURE 6.2 wasm