The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SKQueue, reference master (08faec), with Swift 6.3 for Linux on 11 Apr 2026 15:59:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/daniel-pedersen/SKQueue.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/daniel-pedersen/SKQueue
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 08faecd Update Package.swift (#12)
Cloned https://github.com/daniel-pedersen/SKQueue.git
Revision (git rev-parse @):
08faecdcd1173d57706e5949dd699183e16f3c39
SUCCESS checkout https://github.com/daniel-pedersen/SKQueue.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/daniel-pedersen/SKQueue.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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 SKQueue
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
 24 |   }
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
    |                     |- warning: static property 'None' produces an empty option set
    |                     `- note: use [] to silence this warning
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
    |                                                                             `- error: cannot find 'NOTE_RENAME' in scope
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
    |                                                                             `- error: cannot find 'NOTE_WRITE' in scope
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
    |                                                                             `- error: cannot find 'NOTE_DELETE' in scope
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
    |                                                                             `- error: cannot find 'NOTE_ATTRIB' in scope
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
    |                                                                             `- error: cannot find 'NOTE_EXTEND' in scope
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
    |                                                                             `- error: cannot find 'NOTE_LINK' in scope
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
    |                                                                             `- error: cannot find 'NOTE_REVOKE' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
    |                                                                             `- error: cannot find 'NOTE_FUNLOCK' in scope
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
    |                                                                             `- error: cannot find 'NOTE_NONE' in scope
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
 37 |
[4/4] Compiling SKQueue SKQueue.swift
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
 24 |   }
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
    |                     |- warning: static property 'None' produces an empty option set
    |                     `- note: use [] to silence this warning
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
    |                                                                             `- error: cannot find 'NOTE_RENAME' in scope
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
    |                                                                             `- error: cannot find 'NOTE_WRITE' in scope
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
 27 |   public static let Rename           = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
    |                                                                             `- error: cannot find 'NOTE_DELETE' in scope
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
 28 |   public static let Write            = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
    |                                                                             `- error: cannot find 'NOTE_ATTRIB' in scope
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
 29 |   public static let Delete           = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
    |                                                                             `- error: cannot find 'NOTE_EXTEND' in scope
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
 30 |   public static let AttributeChange  = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
    |                                                                             `- error: cannot find 'NOTE_LINK' in scope
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
 31 |   public static let SizeIncrease     = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
    |                                                                             `- error: cannot find 'NOTE_REVOKE' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
 32 |   public static let LinkCountChange  = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
    |                                                                             `- error: cannot find 'NOTE_FUNLOCK' in scope
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
 33 |   public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
    |                                                                             `- error: cannot find 'NOTE_NONE' in scope
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
 37 |
/host/spi-builder-workspace/SKQueue.swift:60:16: error: cannot find 'kqueue' in scope
 58 |
 59 |   public init?(delegate: SKQueueDelegate? = nil) {
 60 |     kqueueId = kqueue()
    |                `- error: cannot find 'kqueue' in scope
 61 |     if kqueueId == -1 {
 62 |       return nil
/host/spi-builder-workspace/SKQueue.swift:76:91: error: cannot find 'O_EVTONLY' in scope
 74 |     var fileDescriptor: Int32! = watchedPaths[path]
 75 |     if fileDescriptor == nil {
 76 |       fileDescriptor = open(FileManager.default.fileSystemRepresentation(withPath: path), O_EVTONLY)
    |                                                                                           `- error: cannot find 'O_EVTONLY' in scope
 77 |       guard fileDescriptor >= 0 else { return }
 78 |       watchedPaths[path] = fileDescriptor
/host/spi-builder-workspace/SKQueue.swift:81:16: error: cannot find 'kevent' in scope
 79 |     }
 80 |
 81 |     var edit = kevent(
    |                `- error: cannot find 'kevent' in scope
 82 |       ident: UInt(fileDescriptor),
 83 |       filter: Int16(EVFILT_VNODE),
/host/spi-builder-workspace/SKQueue.swift:83:21: error: cannot find 'EVFILT_VNODE' in scope
 81 |     var edit = kevent(
 82 |       ident: UInt(fileDescriptor),
 83 |       filter: Int16(EVFILT_VNODE),
    |                     `- error: cannot find 'EVFILT_VNODE' in scope
 84 |       flags: UInt16(EV_ADD | EV_CLEAR),
 85 |       fflags: notification.rawValue,
/host/spi-builder-workspace/SKQueue.swift:84:21: error: cannot find 'EV_ADD' in scope
 82 |       ident: UInt(fileDescriptor),
 83 |       filter: Int16(EVFILT_VNODE),
 84 |       flags: UInt16(EV_ADD | EV_CLEAR),
    |                     `- error: cannot find 'EV_ADD' in scope
 85 |       fflags: notification.rawValue,
 86 |       data: 0,
/host/spi-builder-workspace/SKQueue.swift:84:30: error: cannot find 'EV_CLEAR' in scope
 82 |       ident: UInt(fileDescriptor),
 83 |       filter: Int16(EVFILT_VNODE),
 84 |       flags: UInt16(EV_ADD | EV_CLEAR),
    |                              `- error: cannot find 'EV_CLEAR' in scope
 85 |       fflags: notification.rawValue,
 86 |       data: 0,
/host/spi-builder-workspace/SKQueue.swift:87:14: error: 'nil' requires a contextual type
 85 |       fflags: notification.rawValue,
 86 |       data: 0,
 87 |       udata: nil
    |              `- error: 'nil' requires a contextual type
 88 |     )
 89 |     kevent(kqueueId, &edit, 1, nil, 0, nil)
/host/spi-builder-workspace/SKQueue.swift:89:5: error: cannot find 'kevent' in scope
 87 |       udata: nil
 88 |     )
 89 |     kevent(kqueueId, &edit, 1, nil, 0, nil)
    |     `- error: cannot find 'kevent' in scope
 90 |
 91 |     if !keepWatcherThreadRunning {
/host/spi-builder-workspace/SKQueue.swift:89:32: error: 'nil' requires a contextual type
 87 |       udata: nil
 88 |     )
 89 |     kevent(kqueueId, &edit, 1, nil, 0, nil)
    |                                `- error: 'nil' requires a contextual type
 90 |
 91 |     if !keepWatcherThreadRunning {
/host/spi-builder-workspace/SKQueue.swift:89:40: error: 'nil' requires a contextual type
 87 |       udata: nil
 88 |     )
 89 |     kevent(kqueueId, &edit, 1, nil, 0, nil)
    |                                        `- error: 'nil' requires a contextual type
 90 |
 91 |     if !keepWatcherThreadRunning {
/host/spi-builder-workspace/SKQueue.swift:93:45: warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 91 |     if !keepWatcherThreadRunning {
 92 |       keepWatcherThreadRunning = true
 93 |       DispatchQueue.global().async(execute: watcherThread)
    |                                             `- warning: converting non-Sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 94 |     }
 95 |   }
/host/spi-builder-workspace/SKQueue.swift:98:17: error: cannot find 'kevent' in scope
 96 |
 97 |   private func watcherThread() {
 98 |     var event = kevent()
    |                 `- error: cannot find 'kevent' in scope
 99 |     var timeout = timespec(tv_sec: 1, tv_nsec: 0)
100 |     while (keepWatcherThreadRunning) {
/host/spi-builder-workspace/SKQueue.swift:101:10: error: cannot find 'kevent' in scope
 99 |     var timeout = timespec(tv_sec: 1, tv_nsec: 0)
100 |     while (keepWatcherThreadRunning) {
101 |       if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
    |          `- error: cannot find 'kevent' in scope
102 |         guard let (path, _) = watchedPaths.first(where: { $1 == event.ident }) else { continue }
103 |         let notification = SKQueueNotification(rawValue: event.fflags)
/host/spi-builder-workspace/SKQueue.swift:101:79: error: cannot find 'EVFILT_VNODE' in scope
 99 |     var timeout = timespec(tv_sec: 1, tv_nsec: 0)
100 |     while (keepWatcherThreadRunning) {
101 |       if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
    |                                                                               `- error: cannot find 'EVFILT_VNODE' in scope
102 |         guard let (path, _) = watchedPaths.first(where: { $1 == event.ident }) else { continue }
103 |         let notification = SKQueueNotification(rawValue: event.fflags)
/host/spi-builder-workspace/SKQueue.swift:101:27: error: 'nil' requires a contextual type
 99 |     var timeout = timespec(tv_sec: 1, tv_nsec: 0)
100 |     while (keepWatcherThreadRunning) {
101 |       if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
    |                           `- error: 'nil' requires a contextual type
102 |         guard let (path, _) = watchedPaths.first(where: { $1 == event.ident }) else { continue }
103 |         let notification = SKQueueNotification(rawValue: event.fflags)
BUILD FAILURE 6.3 linux