The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MainOffender, reference 0.4.0 (8adc74), with Swift 6.1 for Wasm on 30 May 2025 21:27:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/mattmassicotte/MainOffender.git
Reference: 0.4.0
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/mattmassicotte/MainOffender
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 8adc743 Remove hardcoded intend width
Cloned https://github.com/mattmassicotte/MainOffender.git
Revision (git rev-parse @):
8adc74300838c9a105c701e5de998c50edd93387
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mattmassicotte/MainOffender.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattmassicotte/MainOffender.git
https://github.com/mattmassicotte/MainOffender.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MainOffender",
  "name" : "MainOffender",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "MainOffender",
      "targets" : [
        "MainOffender"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MainOffenderTests",
      "module_type" : "SwiftTarget",
      "name" : "MainOffenderTests",
      "path" : "Tests/MainOffenderTests",
      "sources" : [
        "AsyncAdditionTests.swift",
        "MainActorTests.swift",
        "ThreadExecutorTests.swift",
        "UndoManagerTests.swift"
      ],
      "target_dependencies" : [
        "MainOffender"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MainOffender",
      "module_type" : "SwiftTarget",
      "name" : "MainOffender",
      "path" : "Sources/MainOffender",
      "product_memberships" : [
        "MainOffender"
      ],
      "sources" : [
        "MainActor+RunUnsafely.swift",
        "MainDispatchQueue.swift",
        "MainOperationQueue.swift",
        "NotificationCenter+Unsafe.swift",
        "RunLoop+Async.swift",
        "ThreadExecutor.swift",
        "UndoManager+MainActor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[3/10] Compiling MainOffender RunLoop+Async.swift
/host/spi-builder-workspace/Sources/MainOffender/RunLoop+Async.swift:8:20: error: value of type 'RunLoop' has no member 'perform'
 6 | 	public static func turn(isolation: isolated (any Actor)? = #isolation) async {
 7 | 		await withCheckedContinuation(isolation: isolation) { continutation in
 8 | 			RunLoop.current.perform {
   |                    `- error: value of type 'RunLoop' has no member 'perform'
 9 | 				continutation.resume()
10 | 			}
[4/10] Compiling MainOffender UndoManager+MainActor.swift
[5/10] Compiling MainOffender ThreadExecutor.swift
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:5:16: error: cannot find type 'CFRunLoop' in scope
  3 | final class ThreadRunLoop: Sendable {
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
    |                `- error: cannot find type 'CFRunLoop' in scope
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:6:15: error: cannot find type 'CFRunLoopSource' in scope
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
    |               `- error: cannot find type 'CFRunLoopSource' in scope
  7 | 		let thread: Thread
  8 | 	}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:7:15: error: cannot find type 'Thread' in scope
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
    |               `- error: cannot find type 'Thread' in scope
  8 | 	}
  9 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:11:25: error: cannot find type 'DispatchSemaphore' in scope
  9 |
 10 | 	private let context: RunLoopContext
 11 | 	private let semaphore: DispatchSemaphore
    |                         `- error: cannot find type 'DispatchSemaphore' in scope
 12 |
 13 | 	init(name: String? = nil) {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:45:37: error: cannot find type 'CFRunLoopSource' in scope
 43 | 	}
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
    |                                     `- error: cannot find type 'CFRunLoopSource' in scope
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:15:19: error: cannot find 'DispatchSemaphore' in scope
 13 | 	init(name: String? = nil) {
 14 | 		nonisolated(unsafe) var context: RunLoopContext? = nil
 15 | 		let semaphore = DispatchSemaphore(value: 0)
    |                   `- error: cannot find 'DispatchSemaphore' in scope
 16 |
 17 | 		Thread.detachNewThread {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:17:3: error: cannot find 'Thread' in scope
 15 | 		let semaphore = DispatchSemaphore(value: 0)
 16 |
 17 | 		Thread.detachNewThread {
    |   `- error: cannot find 'Thread' in scope
 18 | 			let thread = Thread.current
 19 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:18:17: error: cannot find 'Thread' in scope
 16 |
 17 | 		Thread.detachNewThread {
 18 | 			let thread = Thread.current
    |                 `- error: cannot find 'Thread' in scope
 19 |
 20 | 			if let name {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:24:21: error: cannot find 'CFRunLoopGetCurrent' in scope
 22 | 			}
 23 |
 24 | 			guard let loop = CFRunLoopGetCurrent() else {
    |                     `- error: cannot find 'CFRunLoopGetCurrent' in scope
 25 | 				fatalError("Unable to create runloop in thread")
 26 | 			}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:30:4: error: cannot find 'CFRunLoopAddSource' in scope
 28 | 			let source = Self.createEmptySource()
 29 |
 30 | 			CFRunLoopAddSource(loop, source, CFRunLoopMode.defaultMode)
    |    `- error: cannot find 'CFRunLoopAddSource' in scope
 31 |
 32 | 			context = RunLoopContext(runLoop: loop, source: source, thread: thread)
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:30:37: error: cannot find 'CFRunLoopMode' in scope
 28 | 			let source = Self.createEmptySource()
 29 |
 30 | 			CFRunLoopAddSource(loop, source, CFRunLoopMode.defaultMode)
    |                                     `- error: cannot find 'CFRunLoopMode' in scope
 31 |
 32 | 			context = RunLoopContext(runLoop: loop, source: source, thread: thread)
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:35:4: error: cannot find 'CFRunLoopRun' in scope
 33 | 			semaphore.signal()
 34 |
 35 | 			CFRunLoopRun()
    |    `- error: cannot find 'CFRunLoopRun' in scope
 36 | 		}
 37 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:46:23: error: cannot find 'CFRunLoopSourceContext' in scope
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
 46 | 		var sourceContext = CFRunLoopSourceContext(
    |                       `- error: cannot find 'CFRunLoopSourceContext' in scope
 47 | 			version: 0,
 48 | 			info: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:48:10: error: 'nil' requires a contextual type
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
 48 | 			info: nil,
    |          `- error: 'nil' requires a contextual type
 49 | 			retain: nil,
 50 | 			release: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:49:12: error: 'nil' requires a contextual type
 47 | 			version: 0,
 48 | 			info: nil,
 49 | 			retain: nil,
    |            `- error: 'nil' requires a contextual type
 50 | 			release: nil,
 51 | 			copyDescription: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:50:13: error: 'nil' requires a contextual type
 48 | 			info: nil,
 49 | 			retain: nil,
 50 | 			release: nil,
    |             `- error: 'nil' requires a contextual type
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:51:21: error: 'nil' requires a contextual type
 49 | 			retain: nil,
 50 | 			release: nil,
 51 | 			copyDescription: nil,
    |                     `- error: 'nil' requires a contextual type
 52 | 			equal: nil,
 53 | 			hash: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:52:11: error: 'nil' requires a contextual type
 50 | 			release: nil,
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
    |           `- error: 'nil' requires a contextual type
 53 | 			hash: nil,
 54 | 			schedule: { _, _, _ in
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:53:10: error: 'nil' requires a contextual type
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
 53 | 			hash: nil,
    |          `- error: 'nil' requires a contextual type
 54 | 			schedule: { _, _, _ in
 55 | 			},
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:66:3: error: cannot find 'CFRunLoopStop' in scope
 64 |
 65 | 	deinit {
 66 | 		CFRunLoopStop(context.runLoop)
    |   `- error: cannot find 'CFRunLoopStop' in scope
 67 | 	}
 68 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:76:3: error: cannot find 'CFRunLoopPerformBlock' in scope
 74 | 		semaphore.wait()
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
    |   `- error: cannot find 'CFRunLoopPerformBlock' in scope
 77 | 		CFRunLoopWakeUp(context.runLoop)
 78 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:76:42: error: cannot find 'CFRunLoopMode' in scope
 74 | 		semaphore.wait()
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
    |                                          `- error: cannot find 'CFRunLoopMode' in scope
 77 | 		CFRunLoopWakeUp(context.runLoop)
 78 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:77:3: error: cannot find 'CFRunLoopWakeUp' in scope
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
 77 | 		CFRunLoopWakeUp(context.runLoop)
    |   `- error: cannot find 'CFRunLoopWakeUp' in scope
 78 |
 79 | 		semaphore.signal()
[6/10] Compiling MainOffender NotificationCenter+Unsafe.swift
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:3:11: error: cannot find type 'NotificationCenter' in scope
 1 | import Foundation
 2 |
 3 | extension NotificationCenter {
   |           `- error: cannot find type 'NotificationCenter' in scope
 4 | 	/// Receieve notifications that are known to always be delivered on the `MainActor`.
 5 | 	public func addMainActorObserver(
[7/10] Compiling MainOffender MainActor+RunUnsafely.swift
[8/10] Compiling MainOffender MainOperationQueue.swift
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:19:33: error: cannot find type 'Operation' in scope
17 | 	}
18 |
19 | 	public func addOperation(_ op: Operation) {
   |                                 `- error: cannot find type 'Operation' in scope
20 | 		OperationQueue.main.addOperation(op)
21 | 	}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:28:11: error: cannot find type 'OperationQueue' in scope
26 | }
27 |
28 | extension OperationQueue {
   |           `- error: cannot find type 'OperationQueue' in scope
29 | 	/// An OperationQueue proxy that is compatible with MainActor isolation
30 | 	public static let mainActor = MainOperationQueue()
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:8:3: error: cannot find 'OperationQueue' in scope
 6 | public final class MainOperationQueue: Sendable {
 7 | 	public func addOperation(_ block: @MainActor @escaping @Sendable () -> Void) {
 8 | 		OperationQueue.main.addOperation {
   |   `- error: cannot find 'OperationQueue' in scope
 9 | 			MainActor.assumeIsolated(block)
10 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:14:3: error: cannot find 'OperationQueue' in scope
12 |
13 | 	public func addBarrierBlock(_ barrier: @MainActor @escaping @Sendable () -> Void) {
14 | 		OperationQueue.main.addBarrierBlock {
   |   `- error: cannot find 'OperationQueue' in scope
15 | 			MainActor.assumeIsolated(barrier)
16 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:20:3: error: cannot find 'OperationQueue' in scope
18 |
19 | 	public func addOperation(_ op: Operation) {
20 | 		OperationQueue.main.addOperation(op)
   |   `- error: cannot find 'OperationQueue' in scope
21 | 	}
22 |
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:24:3: error: cannot find 'OperationQueue' in scope
22 |
23 | 	public func waitUntilAllOperationsAreFinished() {
24 | 		OperationQueue.main.waitUntilAllOperationsAreFinished()
   |   `- error: cannot find 'OperationQueue' in scope
25 | 	}
26 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module MainOffender
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:5:10: error: cannot find type 'DispatchGroup' in scope
 3 | public final class MainDispatchQueue: Sendable {
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
   |          `- error: cannot find type 'DispatchGroup' in scope
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:6:8: error: cannot find type 'DispatchQoS' in scope
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
 7 | 		flags: DispatchWorkItemFlags = [],
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:7:10: error: cannot find type 'DispatchWorkItemFlags' in scope
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:16:13: error: cannot find type 'DispatchTime' in scope
14 |
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
   |             `- error: cannot find type 'DispatchTime' in scope
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:17:8: error: cannot find type 'DispatchQoS' in scope
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
18 | 		flags: DispatchWorkItemFlags = [],
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:18:10: error: cannot find type 'DispatchWorkItemFlags' in scope
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:27:11: error: cannot find type 'DispatchQueue' in scope
25 | }
26 |
27 | extension DispatchQueue {
   |           `- error: cannot find type 'DispatchQueue' in scope
28 | 	public static let mainActor = MainDispatchQueue()
29 | }
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:31:11: error: cannot find type 'DispatchGroup' in scope
29 | }
30 |
31 | extension DispatchGroup {
   |           `- error: cannot find type 'DispatchGroup' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:19:33: error: cannot find type 'Operation' in scope
17 | 	}
18 |
19 | 	public func addOperation(_ op: Operation) {
   |                                 `- error: cannot find type 'Operation' in scope
20 | 		OperationQueue.main.addOperation(op)
21 | 	}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:28:11: error: cannot find type 'OperationQueue' in scope
26 | }
27 |
28 | extension OperationQueue {
   |           `- error: cannot find type 'OperationQueue' in scope
29 | 	/// An OperationQueue proxy that is compatible with MainActor isolation
30 | 	public static let mainActor = MainOperationQueue()
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:3:11: error: cannot find type 'NotificationCenter' in scope
 1 | import Foundation
 2 |
 3 | extension NotificationCenter {
   |           `- error: cannot find type 'NotificationCenter' in scope
 4 | 	/// Receieve notifications that are known to always be delivered on the `MainActor`.
 5 | 	public func addMainActorObserver(
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:5:16: error: cannot find type 'CFRunLoop' in scope
  3 | final class ThreadRunLoop: Sendable {
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
    |                `- error: cannot find type 'CFRunLoop' in scope
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:6:15: error: cannot find type 'CFRunLoopSource' in scope
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
    |               `- error: cannot find type 'CFRunLoopSource' in scope
  7 | 		let thread: Thread
  8 | 	}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:7:15: error: cannot find type 'Thread' in scope
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
    |               `- error: cannot find type 'Thread' in scope
  8 | 	}
  9 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:11:25: error: cannot find type 'DispatchSemaphore' in scope
  9 |
 10 | 	private let context: RunLoopContext
 11 | 	private let semaphore: DispatchSemaphore
    |                         `- error: cannot find type 'DispatchSemaphore' in scope
 12 |
 13 | 	init(name: String? = nil) {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:45:37: error: cannot find type 'CFRunLoopSource' in scope
 43 | 	}
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
    |                                     `- error: cannot find type 'CFRunLoopSource' in scope
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
[10/10] Compiling MainOffender MainDispatchQueue.swift
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:5:10: error: cannot find type 'DispatchGroup' in scope
 3 | public final class MainDispatchQueue: Sendable {
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
   |          `- error: cannot find type 'DispatchGroup' in scope
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:6:8: error: cannot find type 'DispatchQoS' in scope
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
 7 | 		flags: DispatchWorkItemFlags = [],
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:7:10: error: cannot find type 'DispatchWorkItemFlags' in scope
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:16:13: error: cannot find type 'DispatchTime' in scope
14 |
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
   |             `- error: cannot find type 'DispatchTime' in scope
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:17:8: error: cannot find type 'DispatchQoS' in scope
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
18 | 		flags: DispatchWorkItemFlags = [],
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:18:10: error: cannot find type 'DispatchWorkItemFlags' in scope
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:27:11: error: cannot find type 'DispatchQueue' in scope
25 | }
26 |
27 | extension DispatchQueue {
   |           `- error: cannot find type 'DispatchQueue' in scope
28 | 	public static let mainActor = MainDispatchQueue()
29 | }
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:31:11: error: cannot find type 'DispatchGroup' in scope
29 | }
30 |
31 | extension DispatchGroup {
   |           `- error: cannot find type 'DispatchGroup' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:10:3: error: cannot find 'DispatchQueue' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
10 | 		DispatchQueue.main.async(group: group, qos: qos, flags: flags) {
   |   `- error: cannot find 'DispatchQueue' in scope
11 | 			MainActor.assumeIsolated(work)
12 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:21:3: error: cannot find 'DispatchQueue' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
21 | 		DispatchQueue.main.asyncAfter(deadline: deadline, qos: qos, flags: flags) {
   |   `- error: cannot find 'DispatchQueue' in scope
22 | 			MainActor.assumeIsolated(work)
23 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:33:8: error: cannot find type 'DispatchQoS' in scope
31 | extension DispatchGroup {
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
34 | 		flags: DispatchWorkItemFlags = [],
35 | 		queue: MainDispatchQueue,
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:34:10: error: cannot find type 'DispatchWorkItemFlags' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
34 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
35 | 		queue: MainDispatchQueue,
36 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[2/9] Compiling MainOffender MainDispatchQueue.swift
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:5:10: error: cannot find type 'DispatchGroup' in scope
 3 | public final class MainDispatchQueue: Sendable {
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
   |          `- error: cannot find type 'DispatchGroup' in scope
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:6:8: error: cannot find type 'DispatchQoS' in scope
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
 7 | 		flags: DispatchWorkItemFlags = [],
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:7:10: error: cannot find type 'DispatchWorkItemFlags' in scope
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:16:13: error: cannot find type 'DispatchTime' in scope
14 |
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
   |             `- error: cannot find type 'DispatchTime' in scope
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:17:8: error: cannot find type 'DispatchQoS' in scope
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
18 | 		flags: DispatchWorkItemFlags = [],
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:18:10: error: cannot find type 'DispatchWorkItemFlags' in scope
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:27:11: error: cannot find type 'DispatchQueue' in scope
25 | }
26 |
27 | extension DispatchQueue {
   |           `- error: cannot find type 'DispatchQueue' in scope
28 | 	public static let mainActor = MainDispatchQueue()
29 | }
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:31:11: error: cannot find type 'DispatchGroup' in scope
29 | }
30 |
31 | extension DispatchGroup {
   |           `- error: cannot find type 'DispatchGroup' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:10:3: error: cannot find 'DispatchQueue' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
10 | 		DispatchQueue.main.async(group: group, qos: qos, flags: flags) {
   |   `- error: cannot find 'DispatchQueue' in scope
11 | 			MainActor.assumeIsolated(work)
12 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:21:3: error: cannot find 'DispatchQueue' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
21 | 		DispatchQueue.main.asyncAfter(deadline: deadline, qos: qos, flags: flags) {
   |   `- error: cannot find 'DispatchQueue' in scope
22 | 			MainActor.assumeIsolated(work)
23 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:33:8: error: cannot find type 'DispatchQoS' in scope
31 | extension DispatchGroup {
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
34 | 		flags: DispatchWorkItemFlags = [],
35 | 		queue: MainDispatchQueue,
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:34:10: error: cannot find type 'DispatchWorkItemFlags' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
34 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
35 | 		queue: MainDispatchQueue,
36 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
[3/9] Compiling MainOffender MainOperationQueue.swift
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:19:33: error: cannot find type 'Operation' in scope
17 | 	}
18 |
19 | 	public func addOperation(_ op: Operation) {
   |                                 `- error: cannot find type 'Operation' in scope
20 | 		OperationQueue.main.addOperation(op)
21 | 	}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:28:11: error: cannot find type 'OperationQueue' in scope
26 | }
27 |
28 | extension OperationQueue {
   |           `- error: cannot find type 'OperationQueue' in scope
29 | 	/// An OperationQueue proxy that is compatible with MainActor isolation
30 | 	public static let mainActor = MainOperationQueue()
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:8:3: error: cannot find 'OperationQueue' in scope
 6 | public final class MainOperationQueue: Sendable {
 7 | 	public func addOperation(_ block: @MainActor @escaping @Sendable () -> Void) {
 8 | 		OperationQueue.main.addOperation {
   |   `- error: cannot find 'OperationQueue' in scope
 9 | 			MainActor.assumeIsolated(block)
10 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:14:3: error: cannot find 'OperationQueue' in scope
12 |
13 | 	public func addBarrierBlock(_ barrier: @MainActor @escaping @Sendable () -> Void) {
14 | 		OperationQueue.main.addBarrierBlock {
   |   `- error: cannot find 'OperationQueue' in scope
15 | 			MainActor.assumeIsolated(barrier)
16 | 		}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:20:3: error: cannot find 'OperationQueue' in scope
18 |
19 | 	public func addOperation(_ op: Operation) {
20 | 		OperationQueue.main.addOperation(op)
   |   `- error: cannot find 'OperationQueue' in scope
21 | 	}
22 |
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:24:3: error: cannot find 'OperationQueue' in scope
22 |
23 | 	public func waitUntilAllOperationsAreFinished() {
24 | 		OperationQueue.main.waitUntilAllOperationsAreFinished()
   |   `- error: cannot find 'OperationQueue' in scope
25 | 	}
26 | }
[4/9] Compiling MainOffender UndoManager+MainActor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Compiling MainOffender MainActor+RunUnsafely.swift
[6/9] Emitting module MainOffender
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:5:10: error: cannot find type 'DispatchGroup' in scope
 3 | public final class MainDispatchQueue: Sendable {
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
   |          `- error: cannot find type 'DispatchGroup' in scope
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:6:8: error: cannot find type 'DispatchQoS' in scope
 4 | 	public func async(
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
 7 | 		flags: DispatchWorkItemFlags = [],
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:7:10: error: cannot find type 'DispatchWorkItemFlags' in scope
 5 | 		group: DispatchGroup? = nil,
 6 | 		qos: DispatchQoS = .unspecified,
 7 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
 8 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
 9 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:16:13: error: cannot find type 'DispatchTime' in scope
14 |
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
   |             `- error: cannot find type 'DispatchTime' in scope
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:17:8: error: cannot find type 'DispatchQoS' in scope
15 | 	public func asyncAfter(
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
   |        `- error: cannot find type 'DispatchQoS' in scope
18 | 		flags: DispatchWorkItemFlags = [],
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:18:10: error: cannot find type 'DispatchWorkItemFlags' in scope
16 | 		deadline: DispatchTime,
17 | 		qos: DispatchQoS = .unspecified,
18 | 		flags: DispatchWorkItemFlags = [],
   |          `- error: cannot find type 'DispatchWorkItemFlags' in scope
19 | 		execute work: @MainActor @escaping @Sendable @convention(block) () -> Void
20 | 	) {
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:27:11: error: cannot find type 'DispatchQueue' in scope
25 | }
26 |
27 | extension DispatchQueue {
   |           `- error: cannot find type 'DispatchQueue' in scope
28 | 	public static let mainActor = MainDispatchQueue()
29 | }
/host/spi-builder-workspace/Sources/MainOffender/MainDispatchQueue.swift:31:11: error: cannot find type 'DispatchGroup' in scope
29 | }
30 |
31 | extension DispatchGroup {
   |           `- error: cannot find type 'DispatchGroup' in scope
32 | 	public func notify(
33 | 		qos: DispatchQoS = .unspecified,
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:19:33: error: cannot find type 'Operation' in scope
17 | 	}
18 |
19 | 	public func addOperation(_ op: Operation) {
   |                                 `- error: cannot find type 'Operation' in scope
20 | 		OperationQueue.main.addOperation(op)
21 | 	}
/host/spi-builder-workspace/Sources/MainOffender/MainOperationQueue.swift:28:11: error: cannot find type 'OperationQueue' in scope
26 | }
27 |
28 | extension OperationQueue {
   |           `- error: cannot find type 'OperationQueue' in scope
29 | 	/// An OperationQueue proxy that is compatible with MainActor isolation
30 | 	public static let mainActor = MainOperationQueue()
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:3:11: error: cannot find type 'NotificationCenter' in scope
 1 | import Foundation
 2 |
 3 | extension NotificationCenter {
   |           `- error: cannot find type 'NotificationCenter' in scope
 4 | 	/// Receieve notifications that are known to always be delivered on the `MainActor`.
 5 | 	public func addMainActorObserver(
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:5:16: error: cannot find type 'CFRunLoop' in scope
  3 | final class ThreadRunLoop: Sendable {
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
    |                `- error: cannot find type 'CFRunLoop' in scope
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:6:15: error: cannot find type 'CFRunLoopSource' in scope
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
    |               `- error: cannot find type 'CFRunLoopSource' in scope
  7 | 		let thread: Thread
  8 | 	}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:7:15: error: cannot find type 'Thread' in scope
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
    |               `- error: cannot find type 'Thread' in scope
  8 | 	}
  9 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:11:25: error: cannot find type 'DispatchSemaphore' in scope
  9 |
 10 | 	private let context: RunLoopContext
 11 | 	private let semaphore: DispatchSemaphore
    |                         `- error: cannot find type 'DispatchSemaphore' in scope
 12 |
 13 | 	init(name: String? = nil) {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:45:37: error: cannot find type 'CFRunLoopSource' in scope
 43 | 	}
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
    |                                     `- error: cannot find type 'CFRunLoopSource' in scope
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
[7/9] Compiling MainOffender ThreadExecutor.swift
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:5:16: error: cannot find type 'CFRunLoop' in scope
  3 | final class ThreadRunLoop: Sendable {
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
    |                `- error: cannot find type 'CFRunLoop' in scope
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:6:15: error: cannot find type 'CFRunLoopSource' in scope
  4 | 	private struct RunLoopContext: @unchecked Sendable {
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
    |               `- error: cannot find type 'CFRunLoopSource' in scope
  7 | 		let thread: Thread
  8 | 	}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:7:15: error: cannot find type 'Thread' in scope
  5 | 		let runLoop: CFRunLoop
  6 | 		let source: CFRunLoopSource
  7 | 		let thread: Thread
    |               `- error: cannot find type 'Thread' in scope
  8 | 	}
  9 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:11:25: error: cannot find type 'DispatchSemaphore' in scope
  9 |
 10 | 	private let context: RunLoopContext
 11 | 	private let semaphore: DispatchSemaphore
    |                         `- error: cannot find type 'DispatchSemaphore' in scope
 12 |
 13 | 	init(name: String? = nil) {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:45:37: error: cannot find type 'CFRunLoopSource' in scope
 43 | 	}
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
    |                                     `- error: cannot find type 'CFRunLoopSource' in scope
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:15:19: error: cannot find 'DispatchSemaphore' in scope
 13 | 	init(name: String? = nil) {
 14 | 		nonisolated(unsafe) var context: RunLoopContext? = nil
 15 | 		let semaphore = DispatchSemaphore(value: 0)
    |                   `- error: cannot find 'DispatchSemaphore' in scope
 16 |
 17 | 		Thread.detachNewThread {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:17:3: error: cannot find 'Thread' in scope
 15 | 		let semaphore = DispatchSemaphore(value: 0)
 16 |
 17 | 		Thread.detachNewThread {
    |   `- error: cannot find 'Thread' in scope
 18 | 			let thread = Thread.current
 19 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:18:17: error: cannot find 'Thread' in scope
 16 |
 17 | 		Thread.detachNewThread {
 18 | 			let thread = Thread.current
    |                 `- error: cannot find 'Thread' in scope
 19 |
 20 | 			if let name {
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:24:21: error: cannot find 'CFRunLoopGetCurrent' in scope
 22 | 			}
 23 |
 24 | 			guard let loop = CFRunLoopGetCurrent() else {
    |                     `- error: cannot find 'CFRunLoopGetCurrent' in scope
 25 | 				fatalError("Unable to create runloop in thread")
 26 | 			}
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:30:4: error: cannot find 'CFRunLoopAddSource' in scope
 28 | 			let source = Self.createEmptySource()
 29 |
 30 | 			CFRunLoopAddSource(loop, source, CFRunLoopMode.defaultMode)
    |    `- error: cannot find 'CFRunLoopAddSource' in scope
 31 |
 32 | 			context = RunLoopContext(runLoop: loop, source: source, thread: thread)
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:30:37: error: cannot find 'CFRunLoopMode' in scope
 28 | 			let source = Self.createEmptySource()
 29 |
 30 | 			CFRunLoopAddSource(loop, source, CFRunLoopMode.defaultMode)
    |                                     `- error: cannot find 'CFRunLoopMode' in scope
 31 |
 32 | 			context = RunLoopContext(runLoop: loop, source: source, thread: thread)
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:35:4: error: cannot find 'CFRunLoopRun' in scope
 33 | 			semaphore.signal()
 34 |
 35 | 			CFRunLoopRun()
    |    `- error: cannot find 'CFRunLoopRun' in scope
 36 | 		}
 37 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:46:23: error: cannot find 'CFRunLoopSourceContext' in scope
 44 |
 45 | 	static func createEmptySource() -> CFRunLoopSource {
 46 | 		var sourceContext = CFRunLoopSourceContext(
    |                       `- error: cannot find 'CFRunLoopSourceContext' in scope
 47 | 			version: 0,
 48 | 			info: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:48:10: error: 'nil' requires a contextual type
 46 | 		var sourceContext = CFRunLoopSourceContext(
 47 | 			version: 0,
 48 | 			info: nil,
    |          `- error: 'nil' requires a contextual type
 49 | 			retain: nil,
 50 | 			release: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:49:12: error: 'nil' requires a contextual type
 47 | 			version: 0,
 48 | 			info: nil,
 49 | 			retain: nil,
    |            `- error: 'nil' requires a contextual type
 50 | 			release: nil,
 51 | 			copyDescription: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:50:13: error: 'nil' requires a contextual type
 48 | 			info: nil,
 49 | 			retain: nil,
 50 | 			release: nil,
    |             `- error: 'nil' requires a contextual type
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:51:21: error: 'nil' requires a contextual type
 49 | 			retain: nil,
 50 | 			release: nil,
 51 | 			copyDescription: nil,
    |                     `- error: 'nil' requires a contextual type
 52 | 			equal: nil,
 53 | 			hash: nil,
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:52:11: error: 'nil' requires a contextual type
 50 | 			release: nil,
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
    |           `- error: 'nil' requires a contextual type
 53 | 			hash: nil,
 54 | 			schedule: { _, _, _ in
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:53:10: error: 'nil' requires a contextual type
 51 | 			copyDescription: nil,
 52 | 			equal: nil,
 53 | 			hash: nil,
    |          `- error: 'nil' requires a contextual type
 54 | 			schedule: { _, _, _ in
 55 | 			},
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:66:3: error: cannot find 'CFRunLoopStop' in scope
 64 |
 65 | 	deinit {
 66 | 		CFRunLoopStop(context.runLoop)
    |   `- error: cannot find 'CFRunLoopStop' in scope
 67 | 	}
 68 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:76:3: error: cannot find 'CFRunLoopPerformBlock' in scope
 74 | 		semaphore.wait()
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
    |   `- error: cannot find 'CFRunLoopPerformBlock' in scope
 77 | 		CFRunLoopWakeUp(context.runLoop)
 78 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:76:42: error: cannot find 'CFRunLoopMode' in scope
 74 | 		semaphore.wait()
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
    |                                          `- error: cannot find 'CFRunLoopMode' in scope
 77 | 		CFRunLoopWakeUp(context.runLoop)
 78 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:77:3: error: cannot find 'CFRunLoopWakeUp' in scope
 75 |
 76 | 		CFRunLoopPerformBlock(context.runLoop, CFRunLoopMode.defaultMode.rawValue, work)
 77 | 		CFRunLoopWakeUp(context.runLoop)
    |   `- error: cannot find 'CFRunLoopWakeUp' in scope
 78 |
 79 | 		semaphore.signal()
[8/9] Compiling MainOffender RunLoop+Async.swift
/host/spi-builder-workspace/Sources/MainOffender/RunLoop+Async.swift:8:20: error: value of type 'RunLoop' has no member 'perform'
 6 | 	public static func turn(isolation: isolated (any Actor)? = #isolation) async {
 7 | 		await withCheckedContinuation(isolation: isolation) { continutation in
 8 | 			RunLoop.current.perform {
   |                    `- error: value of type 'RunLoop' has no member 'perform'
 9 | 				continutation.resume()
10 | 			}
[9/9] Compiling MainOffender NotificationCenter+Unsafe.swift
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:3:11: error: cannot find type 'NotificationCenter' in scope
 1 | import Foundation
 2 |
 3 | extension NotificationCenter {
   |           `- error: cannot find type 'NotificationCenter' in scope
 4 | 	/// Receieve notifications that are known to always be delivered on the `MainActor`.
 5 | 	public func addMainActorObserver(
BUILD FAILURE 6.1 wasm