The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SKQueue, reference v1.2.1 (08faec), with Swift 6.1 for Wasm on 27 May 2025 18:49:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/daniel-pedersen/SKQueue.git
Reference: v1.2.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/daniel-pedersen/SKQueue
 * tag               v1.2.1     -> FETCH_HEAD
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 v1.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/daniel-pedersen/SKQueue.git
https://github.com/daniel-pedersen/SKQueue.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SKQueue",
  "name" : "SKQueue",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKQueue",
      "targets" : [
        "SKQueue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKQueue",
      "module_type" : "SwiftTarget",
      "name" : "SKQueue",
      "path" : ".",
      "product_memberships" : [
        "SKQueue"
      ],
      "sources" : [
        "SKQueue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | }
 18 |
 19 | public struct SKQueueNotification: OptionSet {
    |               `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
 20 |   public let rawValue: UInt32
 21 |
    :
 24 |   }
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
    |                     |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: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:36:77: error: cannot find 'INT_MAX' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
    |                                                                             `- error: cannot find 'INT_MAX' in scope
 37 |
 38 |   public func toStrings() -> [SKQueueNotificationString] {
[4/4] Compiling SKQueue SKQueue.swift
/host/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | }
 18 |
 19 | public struct SKQueueNotification: OptionSet {
    |               `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
 20 |   public let rawValue: UInt32
 21 |
    :
 24 |   }
 25 |
 26 |   public static let None             = SKQueueNotification(rawValue: 0)
    |                     |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'None' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: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:36:77: error: cannot find 'INT_MAX' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
    |                                                                             `- error: cannot find 'INT_MAX' in scope
 37 |
 38 |   public func toStrings() -> [SKQueueNotificationString] {
/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:7: error: cannot find 'DispatchQueue' in scope
 91 |     if !keepWatcherThreadRunning {
 92 |       keepWatcherThreadRunning = true
 93 |       DispatchQueue.global().async(execute: watcherThread)
    |       `- error: cannot find 'DispatchQueue' in scope
 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)
/host/spi-builder-workspace/SKQueue.swift:104:9: error: cannot find 'DispatchQueue' in scope
102 |         guard let (path, _) = watchedPaths.first(where: { $1 == event.ident }) else { continue }
103 |         let notification = SKQueueNotification(rawValue: event.fflags)
104 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
105 |           self.delegate?.receivedNotification(notification, path: path, queue: self)
106 |         }
/host/spi-builder-workspace/SKQueue.swift:131:36: error: cannot find 'F_DUPFD' in scope
129 |   public func fileDescriptorForPath(_ path: String) -> Int32 {
130 |     if let fileDescriptor = watchedPaths[path] {
131 |       return fcntl(fileDescriptor, F_DUPFD)
    |                                    `- error: cannot find 'F_DUPFD' in scope
132 |     }
133 |     return -1
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[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
 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:36:77: error: cannot find 'INT_MAX' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
    |                                                                             `- error: cannot find 'INT_MAX' in scope
 37 |
 38 |   public func toStrings() -> [SKQueueNotificationString] {
[3/3] 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:36:77: error: cannot find 'INT_MAX' in scope
 34 |   public static let Unlock           = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
 35 |   public static let DataAvailable    = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
 36 |   public static let Default          = SKQueueNotification(rawValue: UInt32(INT_MAX))
    |                                                                             `- error: cannot find 'INT_MAX' in scope
 37 |
 38 |   public func toStrings() -> [SKQueueNotificationString] {
/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:7: error: cannot find 'DispatchQueue' in scope
 91 |     if !keepWatcherThreadRunning {
 92 |       keepWatcherThreadRunning = true
 93 |       DispatchQueue.global().async(execute: watcherThread)
    |       `- error: cannot find 'DispatchQueue' in scope
 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)
/host/spi-builder-workspace/SKQueue.swift:104:9: error: cannot find 'DispatchQueue' in scope
102 |         guard let (path, _) = watchedPaths.first(where: { $1 == event.ident }) else { continue }
103 |         let notification = SKQueueNotification(rawValue: event.fflags)
104 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
105 |           self.delegate?.receivedNotification(notification, path: path, queue: self)
106 |         }
/host/spi-builder-workspace/SKQueue.swift:131:36: error: cannot find 'F_DUPFD' in scope
129 |   public func fileDescriptorForPath(_ path: String) -> Int32 {
130 |     if let fileDescriptor = watchedPaths[path] {
131 |       return fcntl(fileDescriptor, F_DUPFD)
    |                                    `- error: cannot find 'F_DUPFD' in scope
132 |     }
133 |     return -1
BUILD FAILURE 6.1 wasm