Build Information
Successful build of swift-ansi-picker, reference main (4e9ce9
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 12:16:42 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rechsteiner/swift-ansi-picker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rechsteiner/swift-ansi-picker
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4e9ce93 Add library product to Package.swift
Cloned https://github.com/rechsteiner/swift-ansi-picker.git
Revision (git rev-parse @):
4e9ce930a92afe34b7c41052475dbd56a2c2745d
SUCCESS checkout https://github.com/rechsteiner/swift-ansi-picker.git at main
========================================
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": "swift-ansi-picker",
"name": "swift-ansi-picker",
"url": "https://github.com/rechsteiner/swift-ansi-picker.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-ansi-picker",
"dependencies": [
]
}
]
}
Fetching https://github.com/rechsteiner/swift-ansi-picker.git
[1/44] Fetching swift-ansi-picker
Fetched https://github.com/rechsteiner/swift-ansi-picker.git from cache (0.68s)
Creating working copy for https://github.com/rechsteiner/swift-ansi-picker.git
Working copy of https://github.com/rechsteiner/swift-ansi-picker.git resolved at main (4e9ce93)
warning: '.resolve-product-dependencies': dependency 'swift-ansi-picker' 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/rechsteiner/swift-ansi-picker.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
Building for debugging...
[0/7] Write sources
[2/7] Write example-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/9] Emitting module Picker
/Users/admin/builder/spi-builder-workspace/Sources/Picker.swift:257:13: warning: var 'originalTerminal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
255 | }
256 |
257 | private var originalTerminal: termios?
| |- warning: var 'originalTerminal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'originalTerminal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'originalTerminal' 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
258 |
259 | private func handleSignal(signal: Int32) {
[6/9] Compiling Picker Picker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Picker.swift:257:13: warning: var 'originalTerminal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
255 | }
256 |
257 | private var originalTerminal: termios?
| |- warning: var 'originalTerminal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'originalTerminal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'originalTerminal' 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
258 |
259 | private func handleSignal(signal: Int32) {
[7/11] Compiling example main.swift
[8/11] Emitting module example
[8/11] Write Objects.LinkFileList
[9/11] Linking example
[10/11] Applying example
Build complete! (6.75s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-ansi-picker",
"name" : "swift-ansi-picker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Picker",
"targets" : [
"Picker"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "example",
"targets" : [
"example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "example",
"module_type" : "SwiftTarget",
"name" : "example",
"path" : "Examples",
"product_memberships" : [
"example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Picker"
],
"type" : "executable"
},
{
"c99name" : "Picker",
"module_type" : "SwiftTarget",
"name" : "Picker",
"path" : "Sources",
"product_memberships" : [
"Picker",
"example"
],
"sources" : [
"Picker.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.