Build Information
Successful build of ImpactMeterAdapter, reference 0.1.1 (b63fb4
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 01:16:10 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/ImpactMeterAdapter.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/ImpactMeterAdapter
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at b63fb4e Version bump
Submodule path 'xcconfigs': checked out '90aae8c60a57e10604288ae5a0b348ef83e50d83'
Submodule 'xcconfigs' (https://github.com/mrackwitz/xcconfigs.git) registered for path 'xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/xcconfigs'...
Cloned https://github.com/ChimeHQ/ImpactMeterAdapter.git
Revision (git rev-parse @):
b63fb4e912ffcef6db62eb8dd066cb04fb6c39be
SUCCESS checkout https://github.com/ChimeHQ/ImpactMeterAdapter.git at 0.1.1
Fetching https://github.com/ChimeHQ/Meter
Fetching https://github.com/ChimeHQ/Impact.git
[1/582] Fetching meter
[19/1337] Fetching meter, impact
Fetched https://github.com/ChimeHQ/Impact.git from cache (1.03s)
Fetched https://github.com/ChimeHQ/Meter from cache (1.03s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.3.1 (0.68s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.2.0 (0.67s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.2.0
Creating working copy for https://github.com/ChimeHQ/Impact.git
Working copy of https://github.com/ChimeHQ/Impact.git resolved at 0.3.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/ChimeHQ/ImpactMeterAdapter.git
[1/171] Fetching impactmeteradapter
Fetched https://github.com/ChimeHQ/ImpactMeterAdapter.git from cache (0.78s)
Fetching https://github.com/ChimeHQ/Impact.git from cache
Fetching https://github.com/ChimeHQ/Meter from cache
Fetched https://github.com/ChimeHQ/Impact.git from cache (0.46s)
Fetched https://github.com/ChimeHQ/Meter from cache (0.46s)
Computing version for https://github.com/ChimeHQ/Impact.git
Computed https://github.com/ChimeHQ/Impact.git at 0.4.0 (0.69s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.6.0 (0.54s)
Creating working copy for https://github.com/ChimeHQ/ImpactMeterAdapter.git
Working copy of https://github.com/ChimeHQ/ImpactMeterAdapter.git resolved at 0.1.1 (b63fb4e)
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/Impact.git
error: 'impact': Couldn’t update repository submodules:
Submodule 'xcconfigs' (https://github.com/mattmassicotte/xcconfigs) registered for path 'xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Impact/xcconfigs'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: clone of 'https://github.com/mattmassicotte/xcconfigs' into submodule path '/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Impact/xcconfigs' failed
Failed to clone 'xcconfigs'. Retry scheduled
Cloning into '/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Impact/xcconfigs'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: clone of 'https://github.com/mattmassicotte/xcconfigs' into submodule path '/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Impact/xcconfigs' failed
Failed to clone 'xcconfigs' a second time, aborting
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChimeHQ/ImpactMeterAdapter.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/25] Write sources
[2/25] Write swift-version--7754E27361AE5C74.txt
[3/25] Compiling ImpactRuntimeException.mm
[4/25] Compiling ImpactSignal.c
[5/31] Compiling ImpactUnwind.c
[6/31] Compiling ImpactCPU.c
[7/31] Compiling ImpactUnwind_x86_64.c
[8/31] Compiling ImpactUnwind_arm.c
[9/31] Compiling ImpactUtility.c
[10/31] Compiling ImpactCompactUnwind.c
[11/31] Compiling ImpactCrashHandler.c
[12/31] Compiling Impact ImpactState.c
[13/31] Compiling Impact ImpactThread.c
[14/31] Compiling Impact ImpactBinaryImage.c
[15/31] Compiling ImpactDataCursor.c
[16/31] Compiling ImpactUnwind_i386.c
[17/31] Compiling ImpactDWARFParser.c
[18/31] Compiling ImpactMachException.c
[19/31] Compiling ImpactDWARFCFIInstructions.c
[20/31] Compiling ImpactDWARF.c
[21/31] Compiling ImpactUnwind_arm64.c
[22/31] Compiling ImpactLog.m
[23/31] Compiling Impact ImpactMonitor.m
[24/31] Compiling ImpactMonitoredApplication.m
[26/31] Compiling Meter MetricKitWrappers.swift
[27/31] Compiling Meter DiagnosticPayload.swift
[28/31] Compiling Meter CallStackTree.swift
[29/31] Compiling Meter DiagnosticProtocol.swift
[30/31] Compiling Meter MeterPayloadProvider.swift
[31/31] Emitting module Meter
[32/35] Compiling ImpactMeterAdapter ImpactDiagnostic.swift
[33/35] Emitting module ImpactMeterAdapter
/Users/admin/builder/spi-builder-workspace/ImpactMeterAdapter/ImpactMeterDiagnosticProvider.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImpactMeterDiagnosticProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import os.log
12 |
13 | public class ImpactMeterDiagnosticProvider {
| `- note: class 'ImpactMeterDiagnosticProvider' does not conform to the 'Sendable' protocol
14 | public static let shared = ImpactMeterDiagnosticProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImpactMeterDiagnosticProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | public let reportDirectoryURL: URL
[34/35] Compiling ImpactMeterAdapter ImpactMeterDiagnosticProvider.swift
/Users/admin/builder/spi-builder-workspace/ImpactMeterAdapter/ImpactMeterDiagnosticProvider.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImpactMeterDiagnosticProvider' may have shared mutable state; this is an error in the Swift 6 language mode
11 | import os.log
12 |
13 | public class ImpactMeterDiagnosticProvider {
| `- note: class 'ImpactMeterDiagnosticProvider' does not conform to the 'Sendable' protocol
14 | public static let shared = ImpactMeterDiagnosticProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImpactMeterDiagnosticProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | public let reportDirectoryURL: URL
/Users/admin/builder/spi-builder-workspace/ImpactMeterAdapter/ImpactMeterDiagnosticProvider.swift:84:29: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | MeterPayloadManager.shared.deliver(reportablePayloads)
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Meter/Meter/MeterPayloadProvider.swift:19:23: note: class property declared here
17 |
18 | public class MeterPayloadManager: NSObject {
19 | public static var shared: MeterPayloadManager = MeterPayloadManager()
| `- note: class property declared here
20 |
21 | private var subscribers: [MeterPayloadSubscriber]
[35/35] Compiling ImpactMeterAdapter ImpactLog.swift
Build complete! (12.15s)
Build complete.
{
"dependencies" : [
{
"identity" : "meter",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/Meter"
},
{
"identity" : "impact",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/Impact.git"
}
],
"manifest_display_name" : "ImpactMeterAdapter",
"name" : "ImpactMeterAdapter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ImpactMeterAdapter",
"targets" : [
"ImpactMeterAdapter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ImpactMeterAdapterTests",
"module_type" : "SwiftTarget",
"name" : "ImpactMeterAdapterTests",
"path" : "ImpactMeterAdapterTests",
"sources" : [
"ImpactDiagnosticTests.swift",
"ImpactLogTests.swift"
],
"target_dependencies" : [
"ImpactMeterAdapter"
],
"type" : "test"
},
{
"c99name" : "ImpactMeterAdapter",
"module_type" : "SwiftTarget",
"name" : "ImpactMeterAdapter",
"path" : "ImpactMeterAdapter",
"product_dependencies" : [
"Impact",
"Meter"
],
"product_memberships" : [
"ImpactMeterAdapter"
],
"sources" : [
"ImpactDiagnostic.swift",
"ImpactLog.swift",
"ImpactMeterDiagnosticProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.