Build Information
Successful build of set-simulator-location with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/set-simulator-location.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MobileNativeFoundation/set-simulator-location
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b40a1e8 Add note to readme (#35)
Cloned https://github.com/MobileNativeFoundation/set-simulator-location.git
Revision (git rev-parse @):
b40a1e86b8dcd07bf3689abe56651c35d15b0a96
SUCCESS checkout https://github.com/MobileNativeFoundation/set-simulator-location.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/MobileNativeFoundation/set-simulator-location.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Write set-simulator-location-entitlement.plist
[2/6] Write swift-version-6F35C1178C84523A.txt
[4/16] Compiling set_simulator_location errors.swift
[5/17] Compiling set_simulator_location simulators.swift
[6/17] Compiling set_simulator_location result.swift
[7/17] Compiling set_simulator_location main.swift
[8/17] Emitting module set_simulator_location
/Users/admin/builder/spi-builder-workspace/sources/stderr.swift:3:5: warning: var 'stderrStream' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Darwin
2 |
3 | var stderrStream = STDErrOutputStream()
| |- warning: var 'stderrStream' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
4 |
5 | struct STDErrOutputStream: TextOutputStream {
[9/17] Compiling set_simulator_location coordinate+extension.swift
[10/17] Compiling set_simulator_location cli.swift
[11/17] Compiling set_simulator_location stderr.swift
/Users/admin/builder/spi-builder-workspace/sources/stderr.swift:3:5: warning: var 'stderrStream' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Darwin
2 |
3 | var stderrStream = STDErrOutputStream()
| |- warning: var 'stderrStream' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
4 |
5 | struct STDErrOutputStream: TextOutputStream {
[12/17] Compiling set_simulator_location coordinate.swift
[13/17] Compiling set_simulator_location notification.swift
[14/17] Compiling set_simulator_location query.swift
[14/17] Write Objects.LinkFileList
[15/17] Linking set-simulator-location
[16/17] Applying set-simulator-location
Build complete! (30.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "set-simulator-location",
"name" : "set-simulator-location",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "set-simulator-location",
"targets" : [
"set-simulator-location"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "set_simulator_location",
"module_type" : "SwiftTarget",
"name" : "set-simulator-location",
"path" : "sources",
"product_memberships" : [
"set-simulator-location"
],
"sources" : [
"cli.swift",
"coordinate+extension.swift",
"coordinate.swift",
"errors.swift",
"main.swift",
"notification.swift",
"query.swift",
"result.swift",
"simulators.swift",
"stderr.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
Done.