Build Information
Successful build of swift-jni, reference 0.5.1 (71385f), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 07:24:25 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skiptools/swift-jni.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skiptools/swift-jni
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at 71385f8 Merge pull request #11 from skiptools/perf/string-newstringutf
Cloned https://github.com/skiptools/swift-jni.git
Revision (git rev-parse @):
71385f88cfff14409fe105e27fcad3ebd44348d0
SUCCESS checkout https://github.com/skiptools/swift-jni.git at 0.5.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/skiptools/swift-jni.git
https://github.com/skiptools/swift-jni.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-jni",
"name" : "swift-jni",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftJNI",
"targets" : [
"SwiftJNI"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftJNITests",
"module_type" : "SwiftTarget",
"name" : "SwiftJNITests",
"path" : "Tests/SwiftJNITests",
"sources" : [
"SwiftJNITests.swift"
],
"target_dependencies" : [
"SwiftJNI"
],
"type" : "test"
},
{
"c99name" : "SwiftJNI",
"module_type" : "SwiftTarget",
"name" : "SwiftJNI",
"path" : "Sources/SwiftJNI",
"product_memberships" : [
"SwiftJNI"
],
"sources" : [
"SwiftJNI.swift"
],
"target_dependencies" : [
"CJNI"
],
"type" : "library"
},
{
"c99name" : "CJNI",
"module_type" : "ClangTarget",
"name" : "CJNI",
"path" : "Sources/CJNI",
"product_memberships" : [
"SwiftJNI"
],
"sources" : [
"cjni.c"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[1/5] Compiling CJNI cjni.c
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[4/7] Compiling SwiftJNI SwiftJNI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJNI/SwiftJNI.swift:1398:26: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
1396 | }
1397 | defer { jni.ReleaseStringUTFChars(env, obj, chars) }
1398 | if let str = String(validatingUTF8: chars) {
| |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
| `- note: use 'String.init(validatingCString:)' instead
1399 | return str
1400 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftJNI/SwiftJNI.swift:1590:45: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
1588 | }
1589 | let JAVA_HOME = getenv("JAVA_HOME")!
1590 | let javaHome = URL(fileURLWithPath: String(validatingUTF8: JAVA_HOME)!)
| |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)'
| `- note: use 'String.init(validatingCString:)' instead
1591 |
1592 | let ext: String
[5/7] Emitting module SwiftJNI
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/7] Write Objects.LinkFileList
[6/7] Linking libSwiftJNI.dylib
Build complete! (5.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-jni",
"name" : "swift-jni",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftJNI",
"targets" : [
"SwiftJNI"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftJNITests",
"module_type" : "SwiftTarget",
"name" : "SwiftJNITests",
"path" : "Tests/SwiftJNITests",
"sources" : [
"SwiftJNITests.swift"
],
"target_dependencies" : [
"SwiftJNI"
],
"type" : "test"
},
{
"c99name" : "SwiftJNI",
"module_type" : "SwiftTarget",
"name" : "SwiftJNI",
"path" : "Sources/SwiftJNI",
"product_memberships" : [
"SwiftJNI"
],
"sources" : [
"SwiftJNI.swift"
],
"target_dependencies" : [
"CJNI"
],
"type" : "library"
},
{
"c99name" : "CJNI",
"module_type" : "ClangTarget",
"name" : "CJNI",
"path" : "Sources/CJNI",
"product_memberships" : [
"SwiftJNI"
],
"sources" : [
"cjni.c"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Done.