Build Information
Successful build of swift-android-native, reference 1.4.1 (64a515
), with Swift 6.1 for Linux on 5 May 2025 16:50:45 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/swift-android-native.git
Reference: 1.4.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/skiptools/swift-android-native
* tag 1.4.1 -> FETCH_HEAD
HEAD is now at 64a5158
Cloned https://github.com/skiptools/swift-android-native.git
Revision (git rev-parse @):
64a51586e8caee479ba2e334be242f226730a222
SUCCESS checkout https://github.com/skiptools/swift-android-native.git at 1.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/skiptools/swift-android-native.git
https://github.com/skiptools/swift-android-native.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-jni",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/swift-jni.git"
}
],
"manifest_display_name" : "swift-android-native",
"name" : "swift-android-native",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AndroidNative",
"targets" : [
"AndroidNative"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidContext",
"targets" : [
"AndroidContext"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidAssetManager",
"targets" : [
"AndroidAssetManager"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidLogging",
"targets" : [
"AndroidLogging"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidLooper",
"targets" : [
"AndroidLooper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidChoreographer",
"targets" : [
"AndroidLooper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConcurrencyRuntimeC",
"module_type" : "ClangTarget",
"name" : "ConcurrencyRuntimeC",
"path" : "Sources/ConcurrencyRuntimeC",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"src.c"
],
"type" : "library"
},
{
"c99name" : "AndroidSystemTests",
"module_type" : "SwiftTarget",
"name" : "AndroidSystemTests",
"path" : "Tests/AndroidSystemTests",
"sources" : [
"AndroidSystemTests.swift"
],
"target_dependencies" : [
"AndroidSystem"
],
"type" : "test"
},
{
"c99name" : "AndroidSystem",
"module_type" : "SwiftTarget",
"name" : "AndroidSystem",
"path" : "Sources/AndroidSystem",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"Errno.swift",
"ErrnoWindows.swift",
"FileDescriptor.swift",
"FileHelpers.swift",
"FileOperations.swift",
"FilePath/FilePath.swift",
"FilePath/FilePathComponentView.swift",
"FilePath/FilePathComponents.swift",
"FilePath/FilePathParsing.swift",
"FilePath/FilePathString.swift",
"FilePath/FilePathSyntax.swift",
"FilePath/FilePathTemp.swift",
"FilePath/FilePathTempPosix.swift",
"FilePath/FilePathTempWindows.swift",
"FilePath/FilePathWindows.swift",
"FilePermissions.swift",
"Internals/Backcompat.swift",
"Internals/CInterop.swift",
"Internals/Constants.swift",
"Internals/Exports.swift",
"Internals/Mocking.swift",
"Internals/RawBuffer.swift",
"Internals/Syscalls.swift",
"Internals/WindowsSyscallAdapters.swift",
"LockedState.swift",
"MachPort.swift",
"PlatformString.swift",
"SystemString.swift",
"Util+StringArray.swift",
"Util.swift",
"UtilConsumers.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidNativeTests",
"module_type" : "SwiftTarget",
"name" : "AndroidNativeTests",
"path" : "Tests/AndroidNativeTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AndroidNativeTests/Resources/sample_resource.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"AndroidNativeTests.swift"
],
"target_dependencies" : [
"AndroidNative"
],
"type" : "test"
},
{
"c99name" : "AndroidNative",
"module_type" : "SwiftTarget",
"name" : "AndroidNative",
"path" : "Sources/AndroidNative",
"product_memberships" : [
"AndroidNative"
],
"sources" : [
"AndroidNative.swift"
],
"target_dependencies" : [
"AndroidContext",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"type" : "library"
},
{
"c99name" : "AndroidNDK",
"module_type" : "ClangTarget",
"name" : "AndroidNDK",
"path" : "Sources/AndroidNDK",
"product_memberships" : [
"AndroidNative",
"AndroidContext",
"AndroidAssetManager",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"src.c"
],
"type" : "library"
},
{
"c99name" : "AndroidLooperTests",
"module_type" : "SwiftTarget",
"name" : "AndroidLooperTests",
"path" : "Tests/AndroidLooperTests",
"sources" : [
"AndroidLooperTests.swift"
],
"target_dependencies" : [
"AndroidLooper"
],
"type" : "test"
},
{
"c99name" : "AndroidLooper",
"module_type" : "SwiftTarget",
"name" : "AndroidLooper",
"path" : "Sources/AndroidLooper",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"AndroidLooper.swift"
],
"target_dependencies" : [
"AndroidSystem",
"AndroidLogging",
"ConcurrencyRuntimeC"
],
"type" : "library"
},
{
"c99name" : "AndroidLoggingTests",
"module_type" : "SwiftTarget",
"name" : "AndroidLoggingTests",
"path" : "Tests/AndroidLoggingTests",
"sources" : [
"AndroidLoggingTests.swift"
],
"target_dependencies" : [
"AndroidLogging"
],
"type" : "test"
},
{
"c99name" : "AndroidLogging",
"module_type" : "SwiftTarget",
"name" : "AndroidLogging",
"path" : "Sources/AndroidLogging",
"product_memberships" : [
"AndroidNative",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"AndroidLogging.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidContextTests",
"module_type" : "SwiftTarget",
"name" : "AndroidContextTests",
"path" : "Tests/AndroidContextTests",
"sources" : [
"AndroidContextTests.swift"
],
"target_dependencies" : [
"AndroidContext"
],
"type" : "test"
},
{
"c99name" : "AndroidContext",
"module_type" : "SwiftTarget",
"name" : "AndroidContext",
"path" : "Sources/AndroidContext",
"product_memberships" : [
"AndroidNative",
"AndroidContext"
],
"sources" : [
"AndroidContext.swift"
],
"target_dependencies" : [
"AndroidAssetManager",
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidChoreographerTests",
"module_type" : "SwiftTarget",
"name" : "AndroidChoreographerTests",
"path" : "Tests/AndroidChoreographerTests",
"sources" : [
"AndroidChoreographerTests.swift"
],
"target_dependencies" : [
"AndroidChoreographer"
],
"type" : "test"
},
{
"c99name" : "AndroidChoreographer",
"module_type" : "SwiftTarget",
"name" : "AndroidChoreographer",
"path" : "Sources/AndroidChoreographer",
"product_memberships" : [
"AndroidNative"
],
"sources" : [
"AndroidChoreographer.swift"
],
"target_dependencies" : [
"AndroidSystem",
"AndroidLogging"
],
"type" : "library"
},
{
"c99name" : "AndroidAssetManagerTests",
"module_type" : "SwiftTarget",
"name" : "AndroidAssetManagerTests",
"path" : "Tests/AndroidAssetManagerTests",
"sources" : [
"AndroidAssetManagerTests.swift"
],
"target_dependencies" : [
"AndroidAssetManager"
],
"type" : "test"
},
{
"c99name" : "AndroidAssetManager",
"module_type" : "SwiftTarget",
"name" : "AndroidAssetManager",
"path" : "Sources/AndroidAssetManager",
"product_dependencies" : [
"SwiftJNI"
],
"product_memberships" : [
"AndroidNative",
"AndroidContext",
"AndroidAssetManager"
],
"sources" : [
"AndroidAssetManager.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://source.skip.tools/swift-jni.git
[1/105] Fetching swift-jni
Fetched https://source.skip.tools/swift-jni.git from cache (1.07s)
Computing version for https://source.skip.tools/swift-jni.git
Computed https://source.skip.tools/swift-jni.git at 0.2.1 (1.59s)
Creating working copy for https://source.skip.tools/swift-jni.git
Working copy of https://source.skip.tools/swift-jni.git resolved at 0.2.1
Building for debugging...
[0/14] Write sources
[8/14] Compiling CJNI cjni.c
[9/14] Compiling ConcurrencyRuntimeC src.c
[10/14] Write swift-version-24593BA9C3E375BF.txt
[12/47] Emitting module AndroidSystem
[13/50] Emitting module AndroidLogging
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:147:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
145 |
146 | extension OSLogType {
147 | public static let `default`: OSLogType = OSLogType(0x00)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:148:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
146 | extension OSLogType {
147 | public static let `default`: OSLogType = OSLogType(0x00)
148 | public static let info: OSLogType = OSLogType(0x01)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:149:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
147 | public static let `default`: OSLogType = OSLogType(0x00)
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let error: OSLogType = OSLogType(0x10)
151 | public static let fault: OSLogType = OSLogType(0x11)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:150:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let fault: OSLogType = OSLogType(0x11)
152 | }
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:151:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
151 | public static let fault: OSLogType = OSLogType(0x11)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | #endif
[14/50] Compiling AndroidLogging AndroidLogging.swift
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:147:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
145 |
146 | extension OSLogType {
147 | public static let `default`: OSLogType = OSLogType(0x00)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:148:23: warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
146 | extension OSLogType {
147 | public static let `default`: OSLogType = OSLogType(0x00)
148 | public static let info: OSLogType = OSLogType(0x01)
| |- warning: static property 'info' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:149:23: warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
147 | public static let `default`: OSLogType = OSLogType(0x00)
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
| |- warning: static property 'debug' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'debug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | public static let error: OSLogType = OSLogType(0x10)
151 | public static let fault: OSLogType = OSLogType(0x11)
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:150:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
148 | public static let info: OSLogType = OSLogType(0x01)
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
| |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | public static let fault: OSLogType = OSLogType(0x11)
152 | }
/host/spi-builder-workspace/Sources/AndroidLogging/AndroidLogging.swift:151:23: warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
132 | // public static let dynamicStackTracing: OSLog.Category
133 | //}
134 | public struct OSLogType : Equatable, RawRepresentable {
| `- note: consider making struct 'OSLogType' conform to the 'Sendable' protocol
135 | public let rawValue: UInt8
136 |
:
149 | public static let debug: OSLogType = OSLogType(0x02)
150 | public static let error: OSLogType = OSLogType(0x10)
151 | public static let fault: OSLogType = OSLogType(0x11)
| |- warning: static property 'fault' is not concurrency-safe because non-'Sendable' type 'OSLogType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | }
153 | #endif
[15/51] Compiling AndroidSystem Util+StringArray.swift
[16/51] Compiling AndroidSystem Util.swift
[17/51] Compiling AndroidSystem UtilConsumers.swift
[19/51] Compiling AndroidSystem FilePathTempPosix.swift
[20/51] Compiling AndroidSystem FilePathTempWindows.swift
[21/51] Compiling AndroidSystem FilePathWindows.swift
[22/51] Compiling AndroidSystem FilePermissions.swift
[23/51] Compiling AndroidSystem Errno.swift
[24/51] Compiling AndroidSystem ErrnoWindows.swift
[25/51] Compiling AndroidSystem FileDescriptor.swift
[26/51] Compiling AndroidSystem FileHelpers.swift
[27/51] Compiling AndroidSystem Backcompat.swift
[28/51] Compiling AndroidSystem CInterop.swift
[29/51] Compiling AndroidSystem Constants.swift
[30/51] Compiling AndroidSystem Exports.swift
[31/51] Compiling AndroidSystem FileOperations.swift
[32/51] Compiling AndroidSystem FilePath.swift
[33/51] Compiling AndroidSystem FilePathComponentView.swift
[34/51] Compiling AndroidSystem FilePathComponents.swift
[35/51] Compiling AndroidSystem LockedState.swift
[36/51] Compiling AndroidSystem MachPort.swift
[37/51] Compiling AndroidSystem PlatformString.swift
[38/51] Compiling AndroidSystem SystemString.swift
[39/51] Compiling AndroidSystem Mocking.swift
[40/51] Compiling AndroidSystem RawBuffer.swift
[41/51] Compiling AndroidSystem Syscalls.swift
[42/51] Compiling AndroidSystem WindowsSyscallAdapters.swift
[43/51] Compiling AndroidSystem FilePathParsing.swift
[44/51] Compiling AndroidSystem FilePathString.swift
[45/51] Compiling AndroidSystem FilePathSyntax.swift
[46/51] Compiling AndroidSystem FilePathTemp.swift
[48/56] Emitting module AndroidLooper
[49/56] Compiling AndroidLooper AndroidLooper.swift
[51/57] Emitting module SwiftJNI
[52/57] Compiling SwiftJNI SwiftJNI.swift
[53/58] Compiling AndroidChoreographer AndroidChoreographer.swift
/host/spi-builder-workspace/Sources/AndroidChoreographer/AndroidChoreographer.swift:22:36: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Must be initialized at startup time with `setupMainChoreographer()`
22 | public private(set) static var main: AndroidChoreographer!
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Get the AChoreographer instance for the current thread.
[55/58] Emitting module AndroidChoreographer
/host/spi-builder-workspace/Sources/AndroidChoreographer/AndroidChoreographer.swift:22:36: warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Must be initialized at startup time with `setupMainChoreographer()`
22 | public private(set) static var main: AndroidChoreographer!
| |- warning: static property 'main' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'main' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Get the AChoreographer instance for the current thread.
[56/59] Wrapping AST for SwiftJNI for debugging
[57/59] Write Objects.LinkFileList
[58/59] Linking libSwiftJNI.so
[60/61] Compiling AndroidAssetManager AndroidAssetManager.swift
/host/spi-builder-workspace/Sources/AndroidAssetManager/AndroidAssetManager.swift:122:36: warning: no calls to throwing functions occur within 'try' expression
120 | var data = Data(count: len)
121 |
122 | let bytesRead: Int32 = try data.withUnsafeMutableBytes { buffer in
| `- warning: no calls to throwing functions occur within 'try' expression
123 | #if !os(Android)
124 | fatalError("only implemented for Android")
[61/61] Emitting module AndroidAssetManager
[63/64] Compiling AndroidContext AndroidContext.swift
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:30:23: warning: static property 'contextFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// The default value of the factory will be the value of the `SWIFT_ANDROID_CONTEXT_FACTORY` environment variable,
29 | /// and if unset, will fall back to `android.app.ActivityThread.currentApplication()Landroid/app/Application;`.
30 | public static var contextFactory = getenv("SWIFT_ANDROID_CONTEXT_FACTORY").flatMap({ String(cString: $0) }) ?? "android.app.ActivityThread.currentApplication()Landroid/app/Application;"
| |- warning: static property 'contextFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contextFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contextFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// A global pointer to the application context, in case the application environment wants to initialize it directly without going through the factory method.
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:33:23: warning: static property 'contextPointer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// A global pointer to the application context, in case the application environment wants to initialize it directly without going through the factory method.
33 | public static var contextPointer: JavaObjectPointer? = nil
| |- warning: static property 'contextPointer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contextPointer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contextPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Returns the application context.
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:80:53: warning: reference to class property 'jni' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | /// The `AndroidAssetManager` for this context
80 | public private(set) lazy var assetManager = JNI.jni.withEnv { _, env in AndroidAssetManager(env: env, peer: self.safePointer()) }
| `- warning: reference to class property 'jni' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | /// Returns the package name for the current context
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:102:23: note: class property declared here
100 | public class JNI {
101 | /// The single shared singleton JNI instance for the process.
102 | public static var jni: JNI! { // this should be set in "OnLoad" and so should always exist
| `- note: class property declared here
103 | didSet {
104 | _ = JClassLoader.globalClassLoader // cache the global class loader on initialization
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:23:14: warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
21 | @available(tvOS, unavailable)
22 | @available(watchOS, unavailable)
23 | public class AndroidContext : JObject {
| `- warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
24 | /// The JNI signature for the method to invoke to obtain the global Context.
25 | /// This can be manually changed before initialization to a different signature.
[64/64] Emitting module AndroidContext
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:30:23: warning: static property 'contextFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | /// The default value of the factory will be the value of the `SWIFT_ANDROID_CONTEXT_FACTORY` environment variable,
29 | /// and if unset, will fall back to `android.app.ActivityThread.currentApplication()Landroid/app/Application;`.
30 | public static var contextFactory = getenv("SWIFT_ANDROID_CONTEXT_FACTORY").flatMap({ String(cString: $0) }) ?? "android.app.ActivityThread.currentApplication()Landroid/app/Application;"
| |- warning: static property 'contextFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contextFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contextFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// A global pointer to the application context, in case the application environment wants to initialize it directly without going through the factory method.
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:33:23: warning: static property 'contextPointer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | /// A global pointer to the application context, in case the application environment wants to initialize it directly without going through the factory method.
33 | public static var contextPointer: JavaObjectPointer? = nil
| |- warning: static property 'contextPointer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'contextPointer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'contextPointer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Returns the application context.
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:80:53: warning: reference to class property 'jni' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 |
79 | /// The `AndroidAssetManager` for this context
80 | public private(set) lazy var assetManager = JNI.jni.withEnv { _, env in AndroidAssetManager(env: env, peer: self.safePointer()) }
| `- warning: reference to class property 'jni' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 |
82 | /// Returns the package name for the current context
/host/spi-builder-workspace/.build/checkouts/swift-jni/Sources/SwiftJNI/SwiftJNI.swift:102:23: note: class property declared here
100 | public class JNI {
101 | /// The single shared singleton JNI instance for the process.
102 | public static var jni: JNI! { // this should be set in "OnLoad" and so should always exist
| `- note: class property declared here
103 | didSet {
104 | _ = JClassLoader.globalClassLoader // cache the global class loader on initialization
/host/spi-builder-workspace/Sources/AndroidContext/AndroidContext.swift:23:14: warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
21 | @available(tvOS, unavailable)
22 | @available(watchOS, unavailable)
23 | public class AndroidContext : JObject {
| `- warning: class 'AndroidContext' must restate inherited '@unchecked Sendable' conformance
24 | /// The JNI signature for the method to invoke to obtain the global Context.
25 | /// This can be manually changed before initialization to a different signature.
[66/67] Compiling AndroidNative AndroidNative.swift
[67/67] Emitting module AndroidNative
Build complete! (12.74s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-jni",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://source.skip.tools/swift-jni.git"
}
],
"manifest_display_name" : "swift-android-native",
"name" : "swift-android-native",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AndroidNative",
"targets" : [
"AndroidNative"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidContext",
"targets" : [
"AndroidContext"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidAssetManager",
"targets" : [
"AndroidAssetManager"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidLogging",
"targets" : [
"AndroidLogging"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidLooper",
"targets" : [
"AndroidLooper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AndroidChoreographer",
"targets" : [
"AndroidLooper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConcurrencyRuntimeC",
"module_type" : "ClangTarget",
"name" : "ConcurrencyRuntimeC",
"path" : "Sources/ConcurrencyRuntimeC",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"src.c"
],
"type" : "library"
},
{
"c99name" : "AndroidSystemTests",
"module_type" : "SwiftTarget",
"name" : "AndroidSystemTests",
"path" : "Tests/AndroidSystemTests",
"sources" : [
"AndroidSystemTests.swift"
],
"target_dependencies" : [
"AndroidSystem"
],
"type" : "test"
},
{
"c99name" : "AndroidSystem",
"module_type" : "SwiftTarget",
"name" : "AndroidSystem",
"path" : "Sources/AndroidSystem",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"Errno.swift",
"ErrnoWindows.swift",
"FileDescriptor.swift",
"FileHelpers.swift",
"FileOperations.swift",
"FilePath/FilePath.swift",
"FilePath/FilePathComponentView.swift",
"FilePath/FilePathComponents.swift",
"FilePath/FilePathParsing.swift",
"FilePath/FilePathString.swift",
"FilePath/FilePathSyntax.swift",
"FilePath/FilePathTemp.swift",
"FilePath/FilePathTempPosix.swift",
"FilePath/FilePathTempWindows.swift",
"FilePath/FilePathWindows.swift",
"FilePermissions.swift",
"Internals/Backcompat.swift",
"Internals/CInterop.swift",
"Internals/Constants.swift",
"Internals/Exports.swift",
"Internals/Mocking.swift",
"Internals/RawBuffer.swift",
"Internals/Syscalls.swift",
"Internals/WindowsSyscallAdapters.swift",
"LockedState.swift",
"MachPort.swift",
"PlatformString.swift",
"SystemString.swift",
"Util+StringArray.swift",
"Util.swift",
"UtilConsumers.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidNativeTests",
"module_type" : "SwiftTarget",
"name" : "AndroidNativeTests",
"path" : "Tests/AndroidNativeTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/AndroidNativeTests/Resources/sample_resource.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"AndroidNativeTests.swift"
],
"target_dependencies" : [
"AndroidNative"
],
"type" : "test"
},
{
"c99name" : "AndroidNative",
"module_type" : "SwiftTarget",
"name" : "AndroidNative",
"path" : "Sources/AndroidNative",
"product_memberships" : [
"AndroidNative"
],
"sources" : [
"AndroidNative.swift"
],
"target_dependencies" : [
"AndroidContext",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"type" : "library"
},
{
"c99name" : "AndroidNDK",
"module_type" : "ClangTarget",
"name" : "AndroidNDK",
"path" : "Sources/AndroidNDK",
"product_memberships" : [
"AndroidNative",
"AndroidContext",
"AndroidAssetManager",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"src.c"
],
"type" : "library"
},
{
"c99name" : "AndroidLooperTests",
"module_type" : "SwiftTarget",
"name" : "AndroidLooperTests",
"path" : "Tests/AndroidLooperTests",
"sources" : [
"AndroidLooperTests.swift"
],
"target_dependencies" : [
"AndroidLooper"
],
"type" : "test"
},
{
"c99name" : "AndroidLooper",
"module_type" : "SwiftTarget",
"name" : "AndroidLooper",
"path" : "Sources/AndroidLooper",
"product_memberships" : [
"AndroidNative",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"AndroidLooper.swift"
],
"target_dependencies" : [
"AndroidSystem",
"AndroidLogging",
"ConcurrencyRuntimeC"
],
"type" : "library"
},
{
"c99name" : "AndroidLoggingTests",
"module_type" : "SwiftTarget",
"name" : "AndroidLoggingTests",
"path" : "Tests/AndroidLoggingTests",
"sources" : [
"AndroidLoggingTests.swift"
],
"target_dependencies" : [
"AndroidLogging"
],
"type" : "test"
},
{
"c99name" : "AndroidLogging",
"module_type" : "SwiftTarget",
"name" : "AndroidLogging",
"path" : "Sources/AndroidLogging",
"product_memberships" : [
"AndroidNative",
"AndroidLogging",
"AndroidLooper",
"AndroidChoreographer"
],
"sources" : [
"AndroidLogging.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidContextTests",
"module_type" : "SwiftTarget",
"name" : "AndroidContextTests",
"path" : "Tests/AndroidContextTests",
"sources" : [
"AndroidContextTests.swift"
],
"target_dependencies" : [
"AndroidContext"
],
"type" : "test"
},
{
"c99name" : "AndroidContext",
"module_type" : "SwiftTarget",
"name" : "AndroidContext",
"path" : "Sources/AndroidContext",
"product_memberships" : [
"AndroidNative",
"AndroidContext"
],
"sources" : [
"AndroidContext.swift"
],
"target_dependencies" : [
"AndroidAssetManager",
"AndroidNDK"
],
"type" : "library"
},
{
"c99name" : "AndroidChoreographerTests",
"module_type" : "SwiftTarget",
"name" : "AndroidChoreographerTests",
"path" : "Tests/AndroidChoreographerTests",
"sources" : [
"AndroidChoreographerTests.swift"
],
"target_dependencies" : [
"AndroidChoreographer"
],
"type" : "test"
},
{
"c99name" : "AndroidChoreographer",
"module_type" : "SwiftTarget",
"name" : "AndroidChoreographer",
"path" : "Sources/AndroidChoreographer",
"product_memberships" : [
"AndroidNative"
],
"sources" : [
"AndroidChoreographer.swift"
],
"target_dependencies" : [
"AndroidSystem",
"AndroidLogging"
],
"type" : "library"
},
{
"c99name" : "AndroidAssetManagerTests",
"module_type" : "SwiftTarget",
"name" : "AndroidAssetManagerTests",
"path" : "Tests/AndroidAssetManagerTests",
"sources" : [
"AndroidAssetManagerTests.swift"
],
"target_dependencies" : [
"AndroidAssetManager"
],
"type" : "test"
},
{
"c99name" : "AndroidAssetManager",
"module_type" : "SwiftTarget",
"name" : "AndroidAssetManager",
"path" : "Sources/AndroidAssetManager",
"product_dependencies" : [
"SwiftJNI"
],
"product_memberships" : [
"AndroidNative",
"AndroidContext",
"AndroidAssetManager"
],
"sources" : [
"AndroidAssetManager.swift"
],
"target_dependencies" : [
"AndroidNDK"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.