Build Information
Successful build of Yaap, reference 1.0.0 (90011c
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 04:35:25 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hartbit/Yaap.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hartbit/Yaap
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 90011c3 Clean README
Cloned https://github.com/hartbit/Yaap.git
Revision (git rev-parse @):
90011c31147671d9ebabfcfc3241df6a7fdbcb99
SUCCESS checkout https://github.com/hartbit/Yaap.git at 1.0.0
========================================
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": "yaap",
"name": "Yaap",
"url": "https://github.com/hartbit/Yaap.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yaap",
"dependencies": [
]
}
]
}
Fetching https://github.com/hartbit/Yaap.git
[1/487] Fetching yaap
Fetched https://github.com/hartbit/Yaap.git from cache (0.77s)
Creating working copy for https://github.com/hartbit/Yaap.git
Working copy of https://github.com/hartbit/Yaap.git resolved at 1.0.0 (90011c3)
warning: '.resolve-product-dependencies': dependency 'yaap' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/hartbit/Yaap.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/7] Write sources
[2/7] Write YaapExample-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/17] Compiling Yaap Option.swift
[6/18] Compiling Yaap SubCommand.swift
[7/18] Compiling Yaap Help.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | exit(code)
160 | }
[8/18] Compiling Yaap FileOutputStream.swift
[9/18] Compiling Yaap CommandProperty.swift
[10/18] Compiling Yaap ArgumentType.swift
[11/18] Compiling Yaap Extensions.swift
[12/18] Compiling Yaap Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | exit(code)
160 | }
[13/18] Emitting module Yaap
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | exit(code)
160 | }
[14/18] Compiling Yaap Argument.swift
[15/18] Compiling Yaap Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | exit(code)
160 | }
[16/20] Emitting module YaapExample
[17/20] Compiling YaapExample main.swift
[17/20] Write Objects.LinkFileList
[18/20] Linking YaapExample
[19/20] Applying YaapExample
Build complete! (11.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Yaap",
"name" : "Yaap",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Yaap",
"targets" : [
"Yaap"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "YaapExample",
"targets" : [
"YaapExample"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "YaapTests",
"module_type" : "SwiftTarget",
"name" : "YaapTests",
"path" : "Tests/YaapTests",
"sources" : [
"ArgumentTests.swift",
"ArgumentTypeTests.swift",
"CommandTests.swift",
"ExtensionsTests.swift",
"HelpTests.swift",
"Helpers.swift",
"OptionTests.swift",
"SubCommandTests.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Yaap"
],
"type" : "test"
},
{
"c99name" : "YaapExample",
"module_type" : "SwiftTarget",
"name" : "YaapExample",
"path" : "Sources/YaapExample",
"product_memberships" : [
"YaapExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Yaap"
],
"type" : "executable"
},
{
"c99name" : "Yaap",
"module_type" : "SwiftTarget",
"name" : "Yaap",
"path" : "Sources/Yaap",
"product_memberships" : [
"Yaap",
"YaapExample"
],
"sources" : [
"Argument.swift",
"ArgumentType.swift",
"Command.swift",
"CommandProperty.swift",
"Extensions.swift",
"FileOutputStream.swift",
"Help.swift",
"Option.swift",
"SubCommand.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.