The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-action, reference master (9f24a2), with Swift 6.3 for Wasm on 14 Apr 2026 01:23:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/swift-action.git
Reference: master
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/Frizlab/swift-action
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9f24a2e Add Apache license to the project
Cloned https://github.com/Frizlab/swift-action.git
Revision (git rev-parse @):
9f24a2e76b0810831a60754809a93f559e6c24ce
SUCCESS checkout https://github.com/Frizlab/swift-action.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Frizlab/swift-action.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6561] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.97s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogEvent.swift
[5/9] Compiling Logging MetadataProvider.swift
[6/9] Emitting module Logging
[7/9] Compiling Logging Locks.swift
[8/9] Compiling Logging Logging.swift
[9/9] Compiling Logging LogHandler.swift
[11/16] Compiling Action AnyAction.swift
[12/16] Compiling Action Util.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/16] Compiling Action ActionConfig.swift
[14/16] Compiling Action ActionError.swift
[15/16] Emitting module Action
/host/spi-builder-workspace/Sources/Action/Action.swift:252:70: error: cannot find type 'DispatchSourceTimer' in scope
250 | 		action keeps a strong reference to itself). If the weakening timer is nil,
251 | 		the action will never weaken on its own. */
252 | 		case idleStrong(result: Result<ResultType, Error>, weakeningTimer: DispatchSourceTimer?, selfReference: Action)
    |                                                                      `- error: cannot find type 'DispatchSourceTimer' in scope
253 |
254 | 		/** The action is running (and has a forced reference to itself). */
/host/spi-builder-workspace/Sources/Action/Action.swift:278:14: error: cannot find type 'DispatchSourceTimer' in scope
276 | 		}
277 |
278 | 		var timer: DispatchSourceTimer? {
    |              `- error: cannot find type 'DispatchSourceTimer' in scope
279 | 			switch self {
280 | 			case .running, .idleWeak:      return nil
/host/spi-builder-workspace/Sources/Action/Action.swift:287:30: error: cannot find type 'DispatchQueue' in scope
285 | 	}
286 |
287 | 	private var stateSyncQueue: DispatchQueue
    |                              `- error: cannot find type 'DispatchQueue' in scope
288 | 	private var currentState: State {
289 | 		willSet {currentState.timer?.cancel()}
[16/16] Compiling Action Action.swift
/host/spi-builder-workspace/Sources/Action/Action.swift:252:70: error: cannot find type 'DispatchSourceTimer' in scope
250 | 		action keeps a strong reference to itself). If the weakening timer is nil,
251 | 		the action will never weaken on its own. */
252 | 		case idleStrong(result: Result<ResultType, Error>, weakeningTimer: DispatchSourceTimer?, selfReference: Action)
    |                                                                      `- error: cannot find type 'DispatchSourceTimer' in scope
253 |
254 | 		/** The action is running (and has a forced reference to itself). */
/host/spi-builder-workspace/Sources/Action/Action.swift:278:14: error: cannot find type 'DispatchSourceTimer' in scope
276 | 		}
277 |
278 | 		var timer: DispatchSourceTimer? {
    |              `- error: cannot find type 'DispatchSourceTimer' in scope
279 | 			switch self {
280 | 			case .running, .idleWeak:      return nil
/host/spi-builder-workspace/Sources/Action/Action.swift:287:30: error: cannot find type 'DispatchQueue' in scope
285 | 	}
286 |
287 | 	private var stateSyncQueue: DispatchQueue
    |                              `- error: cannot find type 'DispatchQueue' in scope
288 | 	private var currentState: State {
289 | 		willSet {currentState.timer?.cancel()}
/host/spi-builder-workspace/Sources/Action/Action.swift:73:20: error: cannot find 'DispatchQueue' in scope
 71 |
 72 | 	public init(subject s: SubjectType) {
 73 | 		stateSyncQueue = DispatchQueue(label: "State Sync Queue for \(type(of: self))<\(s)>", attributes: [/*serial*/])
    |                    `- error: cannot find 'DispatchQueue' in scope
 74 | 		currentState = .idleWeak
 75 | 		subject = s
/host/spi-builder-workspace/Sources/Action/Action.swift:172:19: error: cannot find 'DispatchSource' in scope
170 | 				if weaken {
171 | 					if let delay = weakeningDelay {
172 | 						let timer = DispatchSource.makeTimerSource(flags: [], queue: self.stateSyncQueue)
    |                   `- error: cannot find 'DispatchSource' in scope
173 | 						timer.setEventHandler{ self.currentState = .idleWeak }
174 | 						timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
/host/spi-builder-workspace/Sources/Action/Action.swift:198:20: error: cannot infer contextual base in reference to member 'failure'
196 | 			/* There was a sync error starting the action; let's call the end
197 | 			 * handler directly. */
198 | 			privateHandler(.failure(error))
    |                    `- error: cannot infer contextual base in reference to member 'failure'
199 | 		}
200 | 	}
BUILD FAILURE 6.3 wasm