Build Information
Successful build of LogStream, reference main (6f8369
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 21:11:52 UTC.
Swift 6 data race errors: 0
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/Wouter01/LogStream.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Wouter01/LogStream
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6f83694 Fix 5.8 support
Cloned https://github.com/Wouter01/LogStream.git
Revision (git rev-parse @):
6f83694b2675dcf3b1cea0a52546ff4469c18282
SUCCESS checkout https://github.com/Wouter01/LogStream.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": "logstream",
"name": "LogStream",
"url": "https://github.com/Wouter01/LogStream.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LogStream",
"dependencies": [
]
}
]
}
Fetching https://github.com/Wouter01/LogStream.git
[1/121] Fetching logstream
Fetched https://github.com/Wouter01/LogStream.git from cache (0.69s)
Creating working copy for https://github.com/Wouter01/LogStream.git
Working copy of https://github.com/Wouter01/LogStream.git resolved at main (6f83694)
warning: '.resolve-product-dependencies': dependency 'logstream' 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/Wouter01/LogStream.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/3] Write sources
[1/3] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling ExternalAppLoggerHeaders _.c
[4/8] Compiling LogStream LoggingSupport.swift
[5/8] Compiling LogStream LogStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:39:38: warning: capture of 'logstream' with non-sendable type 'LoggingSupport.ActivityStream?' (aka 'Optional<OpaquePointer>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 |
38 | continuation.onTermination = { _ in
39 | LoggingSupport.cancelLog(logstream)
| `- warning: capture of 'logstream' with non-sendable type 'LoggingSupport.ActivityStream?' (aka 'Optional<OpaquePointer>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 | }
41 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/LogStream/LogStream.swift:72:13: warning: capture of 'logstreams' with non-sendable type '[LoggingSupport.ActivityStream?]' (aka 'Array<Optional<OpaquePointer>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 |
71 | continuation.onTermination = { _ in
72 | logstreams.forEach(LoggingSupport.cancelLog)
| `- warning: capture of 'logstreams' with non-sendable type '[LoggingSupport.ActivityStream?]' (aka 'Array<Optional<OpaquePointer>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }
74 |
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
[6/8] Compiling LogStream LogMessage.swift
[7/8] Compiling LogStream ActivityStreamOptions.swift
[8/8] Emitting module LogStream
Build complete! (7.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LogStream",
"name" : "LogStream",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "LogStream",
"targets" : [
"LogStream"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LogStreamTests",
"module_type" : "SwiftTarget",
"name" : "LogStreamTests",
"path" : "Tests/LogStreamTests",
"sources" : [
"LogStreamTests.swift"
],
"target_dependencies" : [
"LogStream"
],
"type" : "test"
},
{
"c99name" : "LogStream",
"module_type" : "SwiftTarget",
"name" : "LogStream",
"path" : "Sources/LogStream",
"product_memberships" : [
"LogStream"
],
"sources" : [
"ActivityStreamOptions.swift",
"LogMessage.swift",
"LogStream.swift",
"LoggingSupport.swift"
],
"target_dependencies" : [
"ExternalAppLoggerHeaders"
],
"type" : "library"
},
{
"c99name" : "ExternalAppLoggerHeaders",
"module_type" : "ClangTarget",
"name" : "ExternalAppLoggerHeaders",
"path" : "Sources/Headers",
"product_memberships" : [
"LogStream"
],
"sources" : [
"_.c"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.