The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MainOffender, reference 0.4.0 (8adc74), with Swift 6.3 for Wasm on 16 Apr 2026 03:02:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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.3
Building package at path:  $PWD
https://github.com/mattmassicotte/MainOffender.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling MainOffender UndoManager+MainActor.swift
[4/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:62:10: error: cannot find 'CFRunLoopSourceCreate' in scope
 60 | 		)
 61 |
 62 | 		return CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &sourceContext)!
    |          `- error: cannot find 'CFRunLoopSourceCreate' in scope
 63 | 	}
 64 |
/host/spi-builder-workspace/Sources/MainOffender/ThreadExecutor.swift:62:32: error: cannot find 'kCFAllocatorDefault' in scope
 60 | 		)
 61 |
 62 | 		return CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &sourceContext)!
    |                                `- error: cannot find 'kCFAllocatorDefault' in scope
 63 | 	}
 64 |
/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()
[5/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 | 			}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Compiling MainOffender MainActor+RunUnsafely.swift
[7/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/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,
[8/10] Compiling MainOffender NotificationCenter+Unsafe.swift
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:12:10: error: no exact matches in call to instance method 'addObserver'
10 | 		let nonMainblock = unsafeBitCast(block, to: ((Notification) -> Void).self)
11 |
12 | 		return addObserver(forName: name, object: obj, queue: .main) { notification in
   |          |- error: no exact matches in call to instance method 'addObserver'
   |          |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
   |          `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
13 | 			nonisolated(unsafe) let mainNotification = notification
14 |
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:12:10: error: return expression of type 'NotificationCenter.ObservationToken' does not conform to 'NSObjectProtocol'
10 | 		let nonMainblock = unsafeBitCast(block, to: ((Notification) -> Void).self)
11 |
12 | 		return addObserver(forName: name, object: obj, queue: .main) { notification in
   |          `- error: return expression of type 'NotificationCenter.ObservationToken' does not conform to 'NSObjectProtocol'
13 | 			nonisolated(unsafe) let mainNotification = notification
14 |
/host/spi-builder-workspace/Sources/MainOffender/NotificationCenter+Unsafe.swift:12:58: error: cannot infer contextual base in reference to member 'main'
10 | 		let nonMainblock = unsafeBitCast(block, to: ((Notification) -> Void).self)
11 |
12 | 		return addObserver(forName: name, object: obj, queue: .main) { notification in
   |                                                          `- error: cannot infer contextual base in reference to member 'main'
13 | 			nonisolated(unsafe) let mainNotification = notification
14 |
[9/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
[10/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 | }
BUILD FAILURE 6.3 wasm