Build Information
Successful build of MainThreadPropertyAccessor, reference v0.1.1 (e90fdc), with Swift 6.1 for Android on 28 May 2025 11:25:09 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/theisegeberg/MainThreadPropertyAccessor.git
Reference: v0.1.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/theisegeberg/MainThreadPropertyAccessor
* tag v0.1.1 -> FETCH_HEAD
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 v0.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/theisegeberg/MainThreadPropertyAccessor.git
https://github.com/theisegeberg/MainThreadPropertyAccessor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "MainThreadPropertyAccessor",
"name" : "MainThreadPropertyAccessor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MainThreadPropertyAccessor",
"targets" : [
"MainThreadPropertyAccessor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MainThreadPropertyAccessorTests",
"module_type" : "SwiftTarget",
"name" : "MainThreadPropertyAccessorTests",
"path" : "Tests/MainThreadPropertyAccessorTests",
"sources" : [
"MainThreadPropertyAccessorTests.swift"
],
"target_dependencies" : [
"MainThreadPropertyAccessor"
],
"type" : "test"
},
{
"c99name" : "MainThreadPropertyAccessor",
"module_type" : "SwiftTarget",
"name" : "MainThreadPropertyAccessor",
"path" : "Sources/MainThreadPropertyAccessor",
"product_memberships" : [
"MainThreadPropertyAccessor"
],
"sources" : [
"DispatchQueueAccessor.swift",
"MainThreadPropertyAccessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling MainThreadPropertyAccessor MainThreadPropertyAccessor.swift
[4/5] Compiling MainThreadPropertyAccessor DispatchQueueAccessor.swift
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:38:17: warning: capture of 'root' with non-sendable type 'Root?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | /// - Important: Trying to get the value of the property will cause a fatal error, and is not supported.
10 | @dynamicMemberLookup
11 | public struct DispatchQueueAccessor<Root: AnyObject> {
| `- note: consider making generic parameter 'Root' conform to the 'Sendable' protocol
12 | private weak var root: Root?
13 | private let queue: DispatchQueue
:
36 | queue.async {
37 | [weak root] in
38 | root?[keyPath: keyPath] = newValue
| `- warning: capture of 'root' with non-sendable type 'Root?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | }
40 | }
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:38:32: warning: capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath<Root, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | queue.async {
37 | [weak root] in
38 | root?[keyPath: keyPath] = newValue
| `- warning: capture of 'keyPath' with non-sendable type 'ReferenceWritableKeyPath<Root, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | }
40 | }
Swift.ReferenceWritableKeyPath:1:14: note: generic class 'ReferenceWritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class ReferenceWritableKeyPath<Root, Value> : WritableKeyPath<Root, Value> {
| `- note: generic class 'ReferenceWritableKeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/host/spi-builder-workspace/Sources/MainThreadPropertyAccessor/DispatchQueueAccessor.swift:38:43: warning: capture of 'newValue' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// new value on the given queue. Getting values through this subscript will cause a fatal error and is
28 | /// not supported.
29 | public subscript<Value>(
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
30 | dynamicMember keyPath: ReferenceWritableKeyPath<Root, Value>
31 | ) -> Value {
:
36 | queue.async {
37 | [weak root] in
38 | root?[keyPath: keyPath] = newValue
| `- warning: capture of 'newValue' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | }
40 | }
[5/5] Emitting module MainThreadPropertyAccessor
Build complete! (9.85s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MainThreadPropertyAccessor",
"name" : "MainThreadPropertyAccessor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MainThreadPropertyAccessor",
"targets" : [
"MainThreadPropertyAccessor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MainThreadPropertyAccessorTests",
"module_type" : "SwiftTarget",
"name" : "MainThreadPropertyAccessorTests",
"path" : "Tests/MainThreadPropertyAccessorTests",
"sources" : [
"MainThreadPropertyAccessorTests.swift"
],
"target_dependencies" : [
"MainThreadPropertyAccessor"
],
"type" : "test"
},
{
"c99name" : "MainThreadPropertyAccessor",
"module_type" : "SwiftTarget",
"name" : "MainThreadPropertyAccessor",
"path" : "Sources/MainThreadPropertyAccessor",
"product_memberships" : [
"MainThreadPropertyAccessor"
],
"sources" : [
"DispatchQueueAccessor.swift",
"MainThreadPropertyAccessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.