The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RVS_BasicGCDTimer, reference master (a5f7d2), with Swift 6.3 for Wasm on 18 Apr 2026 13:58:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/RiftValleySoftware/RVS_BasicGCDTimer.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/RiftValleySoftware/RVS_BasicGCDTimer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a5f7d28 Documentation changes. No functional changes.
Cloned https://github.com/RiftValleySoftware/RVS_BasicGCDTimer.git
Revision (git rev-parse @):
a5f7d28ac09abb16374ec2bd6688585b537a96d4
SUCCESS checkout https://github.com/RiftValleySoftware/RVS_BasicGCDTimer.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RiftValleySoftware/RVS_BasicGCDTimer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module RVS_BasicGCDTimer
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:159:28: error: cannot find type 'DispatchSourceTimer' in scope
157 |     private var _onlyFireOnce: Bool = true
158 |     /// This contains the actual dispatch timer object instance.
159 |     private var _timerVar: DispatchSourceTimer?
    |                            `- error: cannot find type 'DispatchSourceTimer' in scope
160 |     /// This is the contained delegate instance
161 |     private weak var _delegate: RVS_BasicGCDTimerDelegate?
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:169:25: error: cannot find type 'DispatchSourceTimer' in scope
167 |      It uses the current queue.
168 |      */
169 |     private var _timer: DispatchSourceTimer? {
    |                         `- error: cannot find type 'DispatchSourceTimer' in scope
170 |         if nil == _timerVar {   // If we don't already have a timer, we create one. Otherwise, we simply return the already-instantiated object.
171 |             #if DEBUG
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:261:23: error: cannot find type 'DispatchQueue' in scope
259 |     public var context: Any!
260 |     /// This is the dispatch queue the timer will use.
261 |     public var queue: DispatchQueue!
    |                       `- error: cannot find type 'DispatchQueue' in scope
262 |     /// True, if we are to use the Apple "Wall Clock" time.
263 |     public var isWallTime: Bool = false
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:358:32: error: cannot find type 'DispatchQueue' in scope
356 |                 onlyFireOnce inOnlyFireOnce: Bool = true,
357 |                 context inContext: Any! = nil,
358 |                 queue inQueue: DispatchQueue! = nil,
    |                                `- error: cannot find type 'DispatchQueue' in scope
359 |                 isWallTime inIsWallTime: Bool = false,
360 |                 completion inCompletion: RVS_BasicGCDTimerCompletion! = nil
[4/4] Compiling RVS_BasicGCDTimer RVS_BasicGCDTimer.swift
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:159:28: error: cannot find type 'DispatchSourceTimer' in scope
157 |     private var _onlyFireOnce: Bool = true
158 |     /// This contains the actual dispatch timer object instance.
159 |     private var _timerVar: DispatchSourceTimer?
    |                            `- error: cannot find type 'DispatchSourceTimer' in scope
160 |     /// This is the contained delegate instance
161 |     private weak var _delegate: RVS_BasicGCDTimerDelegate?
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:169:25: error: cannot find type 'DispatchSourceTimer' in scope
167 |      It uses the current queue.
168 |      */
169 |     private var _timer: DispatchSourceTimer? {
    |                         `- error: cannot find type 'DispatchSourceTimer' in scope
170 |         if nil == _timerVar {   // If we don't already have a timer, we create one. Otherwise, we simply return the already-instantiated object.
171 |             #if DEBUG
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:261:23: error: cannot find type 'DispatchQueue' in scope
259 |     public var context: Any!
260 |     /// This is the dispatch queue the timer will use.
261 |     public var queue: DispatchQueue!
    |                       `- error: cannot find type 'DispatchQueue' in scope
262 |     /// True, if we are to use the Apple "Wall Clock" time.
263 |     public var isWallTime: Bool = false
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:358:32: error: cannot find type 'DispatchQueue' in scope
356 |                 onlyFireOnce inOnlyFireOnce: Bool = true,
357 |                 context inContext: Any! = nil,
358 |                 queue inQueue: DispatchQueue! = nil,
    |                                `- error: cannot find type 'DispatchQueue' in scope
359 |                 isWallTime inIsWallTime: Bool = false,
360 |                 completion inCompletion: RVS_BasicGCDTimerCompletion! = nil
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:174:25: error: cannot find 'DispatchSource' in scope
172 |                 print("timer create GCD object")
173 |             #endif
174 |             _timerVar = DispatchSource.makeTimerSource(queue: queue)                // We make a generic, default timer source. No frou-frou. If a queue was specified, we use that.
    |                         `- error: cannot find 'DispatchSource' in scope
175 |             let leeway = DispatchTimeInterval.milliseconds(leewayInMilliseconds)    // If they have provided a leeway, we apply it here. We assume milliseconds.
176 |             _timerVar?.setEventHandler { [weak self] in                             // This is the timer's base callback. This is called from the system timer.
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:175:26: error: cannot find 'DispatchTimeInterval' in scope
173 |             #endif
174 |             _timerVar = DispatchSource.makeTimerSource(queue: queue)                // We make a generic, default timer source. No frou-frou. If a queue was specified, we use that.
175 |             let leeway = DispatchTimeInterval.milliseconds(leewayInMilliseconds)    // If they have provided a leeway, we apply it here. We assume milliseconds.
    |                          `- error: cannot find 'DispatchTimeInterval' in scope
176 |             _timerVar?.setEventHandler { [weak self] in                             // This is the timer's base callback. This is called from the system timer.
177 |                 if let self = self {
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:194:55: error: cannot find 'DispatchWallTime' in scope
192 |             if _onlyFireOnce {                                                      // Just this once...
193 |                 if isWallTime {                                                     // See if we want to use "Wall" time, which doesn't care whether or not the computer goes to sleep.
194 |                     _timerVar?.schedule(wallDeadline: DispatchWallTime.now() + timeIntervalInSeconds)
    |                                                       `- error: cannot find 'DispatchWallTime' in scope
195 |                 } else {
196 |                     _timerVar?.schedule(deadline: .now() + timeIntervalInSeconds)
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:196:52: error: cannot call value of non-function type 'Date'
194 |                     _timerVar?.schedule(wallDeadline: DispatchWallTime.now() + timeIntervalInSeconds)
195 |                 } else {
196 |                     _timerVar?.schedule(deadline: .now() + timeIntervalInSeconds)
    |                                                    `- error: cannot call value of non-function type 'Date'
197 |                 }
198 |             } else {
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:200:55: error: cannot find 'DispatchWallTime' in scope
198 |             } else {
199 |                 if isWallTime {                                                     // See if we want to use "Wall" time, which doesn't care whether or not the computer goes to sleep.
200 |                     _timerVar?.schedule(wallDeadline: DispatchWallTime.now() + timeIntervalInSeconds,   // The number of seconds each iteration of the timer will take.
    |                                                       `- error: cannot find 'DispatchWallTime' in scope
201 |                         repeating: timeIntervalInSeconds,                                               // If we are repeating (default), we add our duration as the repeating time.
202 |                         leeway: leeway)                                                                 // Add any leeway we specified.
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:204:52: error: cannot call value of non-function type 'Date'
202 |                         leeway: leeway)                                                                 // Add any leeway we specified.
203 |                 } else {
204 |                     _timerVar?.schedule(deadline: .now() + timeIntervalInSeconds,   // The number of seconds each iteration of the timer will take.
    |                                                    `- error: cannot call value of non-function type 'Date'
205 |                         repeating: timeIntervalInSeconds,                           // If we are repeating (default), we add our duration as the repeating time.
206 |                         leeway: leeway)                                             // Add any leeway we specified.
/host/spi-builder-workspace/Sources/RVS_BasicGCDTimer/RVS_BasicGCDTimer.swift:227:44: error: 'nil' requires a contextual type
225 |             delegate?.basicGCDTimerWillBecomeInvalid(self)
226 |             _delegate = nil
227 |             timer.setEventHandler(handler: nil)
    |                                            `- error: 'nil' requires a contextual type
228 |             timer.cancel()
229 |
BUILD FAILURE 6.3 wasm