Build Information
Failed to build SKQueue with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/daniel-pedersen/SKQueue.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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
public static let None = SKQueueNotification(rawValue: 0)
^
/host/spi-builder-workspace/SKQueue.swift:26:21: note: use [] to silence this warning
public static let None = SKQueueNotification(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
^~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
^~~~~~~~~
[4/4] Compiling SKQueue SKQueue.swift
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
public static let None = SKQueueNotification(rawValue: 0)
^
/host/spi-builder-workspace/SKQueue.swift:26:21: note: use [] to silence this warning
public static let None = SKQueueNotification(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
^~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:60:16: error: cannot find 'kqueue' in scope
kqueueId = kqueue()
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:76:91: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(FileManager.default.fileSystemRepresentation(withPath: path), O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:81:16: error: cannot find 'kevent' in scope
var edit = kevent(
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:83:21: error: cannot find 'EVFILT_VNODE' in scope
filter: Int16(EVFILT_VNODE),
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:84:21: error: cannot find 'EV_ADD' in scope
flags: UInt16(EV_ADD | EV_CLEAR),
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:84:30: error: cannot find 'EV_CLEAR' in scope
flags: UInt16(EV_ADD | EV_CLEAR),
^~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:87:14: error: 'nil' requires a contextual type
udata: nil
^
/host/spi-builder-workspace/SKQueue.swift:89:5: error: cannot find 'kevent' in scope
kevent(kqueueId, &edit, 1, nil, 0, nil)
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:89:32: error: 'nil' requires a contextual type
kevent(kqueueId, &edit, 1, nil, 0, nil)
^
/host/spi-builder-workspace/SKQueue.swift:89:40: error: 'nil' requires a contextual type
kevent(kqueueId, &edit, 1, nil, 0, nil)
^
/host/spi-builder-workspace/SKQueue.swift:98:17: error: cannot find 'kevent' in scope
var event = kevent()
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:10: error: cannot find 'kevent' in scope
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:79: error: cannot find 'EVFILT_VNODE' in scope
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:27: error: 'nil' requires a contextual type
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SKQueue
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
public static let None = SKQueueNotification(rawValue: 0)
^
/host/spi-builder-workspace/SKQueue.swift:26:21: note: use [] to silence this warning
public static let None = SKQueueNotification(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
^~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
^~~~~~~~~
[3/3] Compiling SKQueue SKQueue.swift
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
public static let None = SKQueueNotification(rawValue: 0)
^
/host/spi-builder-workspace/SKQueue.swift:26:21: note: use [] to silence this warning
public static let None = SKQueueNotification(rawValue: 0)
^ ~~~~~~~~~~~~~
([])
/host/spi-builder-workspace/SKQueue.swift:27:77: error: cannot find 'NOTE_RENAME' in scope
public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:28:77: error: cannot find 'NOTE_WRITE' in scope
public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
^~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:29:77: error: cannot find 'NOTE_DELETE' in scope
public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:30:77: error: cannot find 'NOTE_ATTRIB' in scope
public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:31:77: error: cannot find 'NOTE_EXTEND' in scope
public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:32:77: error: cannot find 'NOTE_LINK' in scope
public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:33:77: error: cannot find 'NOTE_REVOKE' in scope
public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
^~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:34:77: error: cannot find 'NOTE_FUNLOCK' in scope
public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:35:77: error: cannot find 'NOTE_NONE' in scope
public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:60:16: error: cannot find 'kqueue' in scope
kqueueId = kqueue()
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:76:91: error: cannot find 'O_EVTONLY' in scope
fileDescriptor = open(FileManager.default.fileSystemRepresentation(withPath: path), O_EVTONLY)
^~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:81:16: error: cannot find 'kevent' in scope
var edit = kevent(
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:83:21: error: cannot find 'EVFILT_VNODE' in scope
filter: Int16(EVFILT_VNODE),
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:84:21: error: cannot find 'EV_ADD' in scope
flags: UInt16(EV_ADD | EV_CLEAR),
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:84:30: error: cannot find 'EV_CLEAR' in scope
flags: UInt16(EV_ADD | EV_CLEAR),
^~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:87:14: error: 'nil' requires a contextual type
udata: nil
^
/host/spi-builder-workspace/SKQueue.swift:89:5: error: cannot find 'kevent' in scope
kevent(kqueueId, &edit, 1, nil, 0, nil)
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:89:32: error: 'nil' requires a contextual type
kevent(kqueueId, &edit, 1, nil, 0, nil)
^
/host/spi-builder-workspace/SKQueue.swift:89:40: error: 'nil' requires a contextual type
kevent(kqueueId, &edit, 1, nil, 0, nil)
^
/host/spi-builder-workspace/SKQueue.swift:98:17: error: cannot find 'kevent' in scope
var event = kevent()
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:10: error: cannot find 'kevent' in scope
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:79: error: cannot find 'EVFILT_VNODE' in scope
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^~~~~~~~~~~~
/host/spi-builder-workspace/SKQueue.swift:101:27: error: 'nil' requires a contextual type
if kevent(kqueueId, nil, 0, &event, 1, &timeout) > 0 && event.filter == EVFILT_VNODE && event.fflags > 0 {
^
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 2