Build Information
Successful build of Jar, reference 0.0.2 (df0fd4
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 17:13:22 UTC.
Swift 6 data race errors: 1
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/Jar.swift.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageRepository/Jar.swift
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at df0fd4f added hello world jar
Cloned https://github.com/SwiftPackageRepository/Jar.swift.git
Revision (git rev-parse @):
df0fd4fedbe5861e61c0b9031a8a2f878813ae8b
SUCCESS checkout https://github.com/SwiftPackageRepository/Jar.swift.git at 0.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "jar.swift",
"name": "Jar",
"url": "https://github.com/SwiftPackageRepository/Jar.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Jar.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/SwiftPackageRepository/Jar.swift.git
[1/120] Fetching jar.swift
Fetched https://github.com/SwiftPackageRepository/Jar.swift.git from cache (0.64s)
Creating working copy for https://github.com/SwiftPackageRepository/Jar.swift.git
Working copy of https://github.com/SwiftPackageRepository/Jar.swift.git resolved at 0.0.2 (df0fd4f)
warning: '.resolve-product-dependencies': dependency 'jar.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwiftPackageRepository/Jar.swift.git
https://github.com/SwiftPackageRepository/Jar.swift.git
{
"dependencies" : [
],
"manifest_display_name" : "Jar",
"name" : "Jar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Jar",
"targets" : [
"Jar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JarTests",
"module_type" : "SwiftTarget",
"name" : "JarTests",
"path" : "Tests/JarTests",
"sources" : [
"JarTests.swift"
],
"target_dependencies" : [
"Jar"
],
"type" : "test"
},
{
"c99name" : "Jar",
"module_type" : "SwiftTarget",
"name" : "Jar",
"path" : "Sources/Jar",
"product_memberships" : [
"Jar"
],
"sources" : [
"Executable.swift",
"Extensions/NSRegularExpression+Extensions.swift",
"Extensions/NSTextCheckingResult+Extensions.swift",
"Extensions/OSLog+Extensions.swift",
"Jar.swift",
"Java.swift",
"JavaVirtualMachine.swift",
"JavaVirtualMachineParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/11] Compiling Jar Java.swift
[4/11] Compiling Jar JavaVirtualMachineParser.swift
[5/11] Compiling Jar Executable.swift
[6/11] Compiling Jar OSLog+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Jar/Extensions/OSLog+Extensions.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 | private static var subsystem = Bundle.main.bundleIdentifier!
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | static let java = OSLog(subsystem: subsystem, category: "java")
[7/11] Compiling Jar JavaVirtualMachine.swift
[8/11] Compiling Jar Jar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Jar/Jar.swift:73:17: warning: capture of 'failed' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
71 | } catch {
72 | os_log("Failed writing JAR %{public}@ logged in", log: .jar, type: .error, error.localizedDescription)
73 | failed(error)
| |- warning: capture of 'failed' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | return
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/Jar/Jar.swift:76:13: warning: capture of 'completion' with non-sendable type '(URL) -> Void' in a '@Sendable' closure
74 | return
75 | }
76 | completion(pathToJar)
| |- warning: capture of 'completion' with non-sendable type '(URL) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | }
78 | dataTask.resume()
[9/11] Compiling Jar NSRegularExpression+Extensions.swift
[10/11] Compiling Jar NSTextCheckingResult+Extensions.swift
[11/11] Emitting module Jar
/Users/admin/builder/spi-builder-workspace/Sources/Jar/Extensions/OSLog+Extensions.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 | private static var subsystem = Bundle.main.bundleIdentifier!
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | static let java = OSLog(subsystem: subsystem, category: "java")
Build complete! (5.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Jar",
"name" : "Jar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Jar",
"targets" : [
"Jar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JarTests",
"module_type" : "SwiftTarget",
"name" : "JarTests",
"path" : "Tests/JarTests",
"sources" : [
"JarTests.swift"
],
"target_dependencies" : [
"Jar"
],
"type" : "test"
},
{
"c99name" : "Jar",
"module_type" : "SwiftTarget",
"name" : "Jar",
"path" : "Sources/Jar",
"product_memberships" : [
"Jar"
],
"sources" : [
"Executable.swift",
"Extensions/NSRegularExpression+Extensions.swift",
"Extensions/NSTextCheckingResult+Extensions.swift",
"Extensions/OSLog+Extensions.swift",
"Jar.swift",
"Java.swift",
"JavaVirtualMachine.swift",
"JavaVirtualMachineParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.