Build Information
Successful build of MeterReporter, reference 0.1.0 (302e34
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:10:22 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/ChimeHQ/MeterReporter.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/MeterReporter
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 302e342 Retry and better cleanup support
Cloned https://github.com/ChimeHQ/MeterReporter.git
Revision (git rev-parse @):
302e342a2edccac9c4b47d169703e5f58df73944
SUCCESS checkout https://github.com/ChimeHQ/MeterReporter.git at 0.1.0
Fetching https://github.com/ChimeHQ/Meter
Fetching https://github.com/ChimeHQ/Wells
[1/582] Fetching meter
[19/790] Fetching meter, wells
Fetched https://github.com/ChimeHQ/Wells from cache (0.73s)
Fetched https://github.com/ChimeHQ/Meter from cache (0.73s)
Computing version for https://github.com/ChimeHQ/Wells
Computed https://github.com/ChimeHQ/Wells at 0.3.0 (0.67s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.4.0 (0.64s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.4.0
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at 0.3.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": "meterreporter",
"name": "MeterReporter",
"url": "https://github.com/ChimeHQ/MeterReporter.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MeterReporter",
"dependencies": [
{
"identity": "meter",
"name": "Meter",
"url": "https://github.com/ChimeHQ/Meter",
"version": "0.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Meter",
"dependencies": [
]
},
{
"identity": "wells",
"name": "Wells",
"url": "https://github.com/ChimeHQ/Wells",
"version": "0.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Wells",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ChimeHQ/MeterReporter.git
[1/139] Fetching meterreporter
Fetched https://github.com/ChimeHQ/MeterReporter.git from cache (0.72s)
Fetching https://github.com/ChimeHQ/Wells from cache
Fetching https://github.com/ChimeHQ/Meter from cache
Fetched https://github.com/ChimeHQ/Wells from cache (0.46s)
Fetched https://github.com/ChimeHQ/Meter from cache (0.46s)
Computing version for https://github.com/ChimeHQ/Wells
Computed https://github.com/ChimeHQ/Wells at 0.3.0 (0.02s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.6.0 (0.47s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.6.0
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at 0.3.0
Creating working copy for https://github.com/ChimeHQ/MeterReporter.git
Working copy of https://github.com/ChimeHQ/MeterReporter.git resolved at 0.1.0 (302e342)
warning: '.resolve-product-dependencies': dependency 'meterreporter' is not used by any target
Found 2 product dependencies
- Meter
- Wells
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChimeHQ/MeterReporter.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/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling BinaryImage BinaryImage.m
[6/20] Compiling Meter DlfcnSymbolicator.swift
[7/20] Compiling Meter Symbolicator.swift
[8/20] Compiling Wells Data+compression.swift
[9/20] Emitting module Wells
[10/20] Compiling Wells NetworkResponse.swift
[11/20] Compiling Wells FileManager+Helpers.swift
[12/20] Compiling Wells Protocol+Helpers.swift
[13/20] Compiling Wells ReportLocationProvider.swift
[14/20] Compiling Meter ExceptionInfo.swift
[15/20] Compiling Wells WellsReporter.swift
[16/20] Compiling Wells WellsUploader.swift
[17/20] Compiling Meter MeterPayloadProvider.swift
[18/20] Compiling Meter CallStackTree.swift
[19/20] Emitting module Meter
[20/20] Compiling Meter DiagnosticPayload.swift
[21/24] Compiling MeterReporter DiagnosticSubscriber.swift
[22/24] Compiling MeterReporter MeterReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:64:66: warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | public var hostIdentifier: String?
63 |
64 | public var backgroundIdentifier: String? = WellsUploader.defaultBackgroundIdentifier
| `- warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | public var reportsURL: URL = WellsReporter.defaultDirectory
66 | public var log: OSLog = OSLog(subsystem: "com.chimehq.MeterReporter", category: "MeterReporter")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wells/Sources/Wells/WellsUploader.swift:19:23: note: class property declared here
17 | public weak var delegate: WellsUploaderDelegate?
18 |
19 | public static var defaultBackgroundIdentifier: String = {
| `- note: class property declared here
20 | let bundleId = Bundle.main.bundleIdentifier ?? "com.chimehq.Wells"
21 |
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:113:22: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | extension MeterReporter {
111 | private func configureExceptionLogging() {
| `- note: add '@MainActor' to make instance method 'configureExceptionLogging()' part of global actor 'MainActor'
112 | #if os(macOS)
113 | if let app = NSApp as? ExceptionLoggingApplication {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | app.exceptionInfoURL = exceptionInfoURL
115 | }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:114:17: warning: main actor-isolated property 'exceptionInfoURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | extension MeterReporter {
111 | private func configureExceptionLogging() {
| `- note: add '@MainActor' to make instance method 'configureExceptionLogging()' part of global actor 'MainActor'
112 | #if os(macOS)
113 | if let app = NSApp as? ExceptionLoggingApplication {
114 | app.exceptionInfoURL = exceptionInfoURL
| `- warning: main actor-isolated property 'exceptionInfoURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | }
116 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/ExceptionLoggingApplication.swift:6:16: note: mutation of this property is only permitted within the actor
4 |
5 | open class ExceptionLoggingApplication: NSApplication {
6 | public var exceptionInfoURL: URL?
| `- note: mutation of this property is only permitted within the actor
7 |
8 | public override func reportException(_ exception: NSException) {
[23/24] Emitting module MeterReporter
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:64:66: warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | public var hostIdentifier: String?
63 |
64 | public var backgroundIdentifier: String? = WellsUploader.defaultBackgroundIdentifier
| `- warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | public var reportsURL: URL = WellsReporter.defaultDirectory
66 | public var log: OSLog = OSLog(subsystem: "com.chimehq.MeterReporter", category: "MeterReporter")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wells/Sources/Wells/WellsUploader.swift:19:23: note: class property declared here
17 | public weak var delegate: WellsUploaderDelegate?
18 |
19 | public static var defaultBackgroundIdentifier: String = {
| `- note: class property declared here
20 | let bundleId = Bundle.main.bundleIdentifier ?? "com.chimehq.Wells"
21 |
[24/24] Compiling MeterReporter ExceptionLoggingApplication.swift
Build complete! (30.44s)
Build complete.
{
"dependencies" : [
{
"identity" : "meter",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/Meter"
},
{
"identity" : "wells",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/Wells"
}
],
"manifest_display_name" : "MeterReporter",
"name" : "MeterReporter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "MeterReporter",
"targets" : [
"MeterReporter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MeterReporter",
"module_type" : "SwiftTarget",
"name" : "MeterReporter",
"path" : "Sources/MeterReporter",
"product_dependencies" : [
"Meter",
"Wells"
],
"product_memberships" : [
"MeterReporter"
],
"sources" : [
"DiagnosticSubscriber.swift",
"ExceptionLoggingApplication.swift",
"MeterReporter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.