The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MainThreadPropertyAccessor, reference main (e90fdc), with Swift 6.3 for Wasm on 21 Apr 2026 09:20:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images: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/theisegeberg/MainThreadPropertyAccessor.git
Reference: main
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/theisegeberg/MainThreadPropertyAccessor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e90fdc4 Fixed nil setting and made the getter fatal error
Cloned https://github.com/theisegeberg/MainThreadPropertyAccessor.git
Revision (git rev-parse @):
e90fdc4584bdf60ac8983e5a3eca4ceae7aaa1d4
SUCCESS checkout https://github.com/theisegeberg/MainThreadPropertyAccessor.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/theisegeberg/MainThreadPropertyAccessor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images: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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module MainThreadPropertyAccessor
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:13:24: error: cannot find type 'DispatchQueue' in scope
11 | public struct DispatchQueueAccessor<Root: AnyObject> {
12 |     private weak var root: Root?
13 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
14 |
15 |     /// Initialises an `DispatchQueueAccessor` with a root and an optional queue.
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:21:29: error: cannot find type 'DispatchQueue' in scope
19 |     ///   - queue: The `DispatchQueue` you want to perform the setting of properties on.
20 |     ///   It's default value is `DispatchQueue.main`.
21 |     init(root: Root, queue: DispatchQueue = DispatchQueue.main) {
   |                             `- error: cannot find type 'DispatchQueue' in scope
22 |         self.root = root
23 |         self.queue = queue
[4/5] Compiling MainThreadPropertyAccessor DispatchQueueAccessor.swift
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:13:24: error: cannot find type 'DispatchQueue' in scope
11 | public struct DispatchQueueAccessor<Root: AnyObject> {
12 |     private weak var root: Root?
13 |     private let queue: DispatchQueue
   |                        `- error: cannot find type 'DispatchQueue' in scope
14 |
15 |     /// Initialises an `DispatchQueueAccessor` with a root and an optional queue.
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:21:29: error: cannot find type 'DispatchQueue' in scope
19 |     ///   - queue: The `DispatchQueue` you want to perform the setting of properties on.
20 |     ///   It's default value is `DispatchQueue.main`.
21 |     init(root: Root, queue: DispatchQueue = DispatchQueue.main) {
   |                             `- error: cannot find type 'DispatchQueue' in scope
22 |         self.root = root
23 |         self.queue = queue
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:23:14: error: value of type 'DispatchQueueAccessor<Root>' has no dynamic member 'queue' using key path from root type 'Root'
21 |     init(root: Root, queue: DispatchQueue = DispatchQueue.main) {
22 |         self.root = root
23 |         self.queue = queue
   |              `- error: value of type 'DispatchQueueAccessor<Root>' has no dynamic member 'queue' using key path from root type 'Root'
24 |     }
25 |
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:36:13: error: value of type 'DispatchQueueAccessor<Root>' has no dynamic member 'queue' using key path from root type 'Root'
34 |         }
35 |         set {
36 |             queue.async {
   |             `- error: value of type 'DispatchQueueAccessor<Root>' has no dynamic member 'queue' using key path from root type 'Root'
37 |                 [weak root] in
38 |                 root?[keyPath: keyPath] = newValue
[5/5] Compiling MainThreadPropertyAccessor MainThreadPropertyAccessor.swift
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:21:29: error: cannot find type 'DispatchQueue' in scope
19 |     ///   - queue: The `DispatchQueue` you want to perform the setting of properties on.
20 |     ///   It's default value is `DispatchQueue.main`.
21 |     init(root: Root, queue: DispatchQueue = DispatchQueue.main) {
   |                             `- error: cannot find type 'DispatchQueue' in scope
22 |         self.root = root
23 |         self.queue = queue
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/MainThreadPropertyAccessor.swift:39:39: error: cannot infer contextual base in reference to member 'main'
37 |     var setOnMain: DispatchQueueAccessor<Self> {
38 |         get {
39 |             .init(root: self, queue: .main)
   |                                       `- error: cannot infer contextual base in reference to member 'main'
40 |         }
41 |         set {}
BUILD FAILURE 6.3 wasm