Build Information
Successful build of Script.swift with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/KS1019/Script.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KS1019/Script.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 92fa44d Fixes renaming (#29)
Cloned https://github.com/KS1019/Script.swift.git
Revision (git rev-parse @):
92fa44d2de25aed6cea98b4183a0eedfdf0e0bf3
SUCCESS checkout https://github.com/KS1019/Script.swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/KS1019/Script.swift.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/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/8] Compiling ShellOut ShellOut.swift
[6/8] Emitting module ShellOut
[7/8] Compiling Files Files.swift
[8/8] Emitting module Files
[9/16] Compiling Scripting Script+Files.swift
[10/16] Compiling Scripting Script+Data.swift
[11/16] Emitting module Scripting
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Scripting/SystemCall.swift:3:5: warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
1 | #if canImport(Darwin)
2 | import Darwin
3 | let _exit = Darwin.exit
| |- warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_exit' 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 | #elseif canImport(Glibc)
5 | import Glibc
[12/16] Compiling Scripting ExeternalCommands.swift
[13/16] Compiling Scripting Script.swift
[14/16] Compiling Scripting Script+String.swift
[15/16] Compiling Scripting Script+Comparable.swift
[16/16] Compiling Scripting SystemCall.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Scripting/SystemCall.swift:3:5: warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
1 | #if canImport(Darwin)
2 | import Darwin
3 | let _exit = Darwin.exit
| |- warning: let '_exit' is not concurrency-safe because non-'Sendable' type '(Int32) -> Never' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_exit' 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 | #elseif canImport(Glibc)
5 | import Glibc
Build complete! (27.97s)
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/JohnSundell/ShellOut.git
[1/956] Fetching shellout
[957/2187] Fetching shellout, files
Fetched https://github.com/JohnSundell/ShellOut.git from cache (3.03s)
Fetched https://github.com/JohnSundell/Files from cache (3.03s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.72s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.72s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Build complete.
{
"dependencies" : [
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/ShellOut.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files"
}
],
"manifest_display_name" : "Script.swift",
"name" : "Script.swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Scripting",
"targets" : [
"Scripting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScriptingTests",
"module_type" : "SwiftTarget",
"name" : "ScriptingTests",
"path" : "Tests/ScriptingTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ScriptingTests/Fixtures/TESTING.md",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ScriptUnitTests.swift"
],
"target_dependencies" : [
"Scripting"
],
"type" : "test"
},
{
"c99name" : "Scripting",
"module_type" : "SwiftTarget",
"name" : "Scripting",
"path" : "Sources/Scripting",
"product_dependencies" : [
"ShellOut",
"Files"
],
"product_memberships" : [
"Scripting"
],
"sources" : [
"ExeternalCommands.swift",
"Script+Comparable.swift",
"Script+Data.swift",
"Script+Files.swift",
"Script+String.swift",
"Script.swift",
"SystemCall.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.