Build Information
Successful build of CombineViewModel, reference main (c72254
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 10:59:47 UTC.
Swift 6 data race errors: 3
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/thoughtbot/CombineViewModel.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thoughtbot/CombineViewModel
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c722546 Merge pull request #23 from thoughtbot/recursive-view-did-load
Cloned https://github.com/thoughtbot/CombineViewModel.git
Revision (git rev-parse @):
c722546ed54ce528fc0089e72ea550839c8cf671
SUCCESS checkout https://github.com/thoughtbot/CombineViewModel.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": "combineviewmodel",
"name": "CombineViewModel",
"url": "https://github.com/thoughtbot/CombineViewModel.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineViewModel",
"dependencies": [
]
}
]
}
Fetching https://github.com/thoughtbot/CombineViewModel.git
[1/467] Fetching combineviewmodel
Fetched https://github.com/thoughtbot/CombineViewModel.git from cache (1.18s)
Creating working copy for https://github.com/thoughtbot/CombineViewModel.git
Working copy of https://github.com/thoughtbot/CombineViewModel.git resolved at main (c722546)
warning: '.resolve-product-dependencies': dependency 'combineviewmodel' 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/thoughtbot/CombineViewModel.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] Compiling ObjCTestSupport TestObjCViewController.m
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/11] Compiling Bindings BindingSubscriber.swift
[7/11] Compiling Bindings Box.swift
[8/11] Compiling Bindings ReactiveExtensionProvider.swift
[9/11] Emitting module Bindings
/Users/admin/builder/spi-builder-workspace/Sources/Bindings/BindingOwner.swift:4:13: warning: var 'bindingOwnerSubscriptionsKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | private var bindingOwnerSubscriptionsKey: UInt8 = 0
| |- warning: var 'bindingOwnerSubscriptionsKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bindingOwnerSubscriptionsKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bindingOwnerSubscriptionsKey' 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
5 |
6 | public protocol BindingOwner: AnyObject, ReactiveExtensionProvider {
[10/11] Compiling Bindings BindingSink.swift
[11/11] Compiling Bindings BindingOwner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bindings/BindingOwner.swift:4:13: warning: var 'bindingOwnerSubscriptionsKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | private var bindingOwnerSubscriptionsKey: UInt8 = 0
| |- warning: var 'bindingOwnerSubscriptionsKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bindingOwnerSubscriptionsKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bindingOwnerSubscriptionsKey' 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
5 |
6 | public protocol BindingOwner: AnyObject, ReactiveExtensionProvider {
[12/35] Compiling UIKitBindings UITextField.swift
[13/35] Compiling UIKitBindings UIViewController.swift
[14/35] Compiling UIKitBindings UISwitch.swift
[15/35] Compiling UIKitBindings UIView.swift
[16/35] Compiling UIKitBindings UIRefreshControl.swift
[17/35] Compiling UIKitBindings UIControl.swift
[18/35] Compiling UIKitBindings UIBarButtonItem.swift
[19/35] Compiling UIKitBindings UIApplication.swift
[20/35] Emitting module UIKitBindings
[21/35] Compiling UIKitBindings UILabel.swift
[22/35] Compiling CombineViewModel ViewModelObserver.swift
[23/36] Compiling CombineViewModel ViewModel.swift
[24/36] Compiling CombineViewModel Weak.swift
[25/36] Compiling CombineViewModel RunLoop+EventSourceScheduler.swift
[26/36] Compiling CombineViewModel UnfairAtomic.swift
[27/36] Compiling CombineViewModel ClassHierarchy.swift
[28/36] Compiling CombineViewModel CombineExports.swift
[29/36] Emitting module CombineViewModel
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:6:13: warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
| |- warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_isHookedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_isHookedKey' 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
7 | private var _shouldPostKey = UInt8(0)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:7:13: warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
7 | private var _shouldPostKey = UInt8(0)
| |- warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shouldPostKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_shouldPostKey' 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
8 |
9 | private typealias ViewDidLoadBlock = @convention(block) (Any) -> Void
[30/36] Compiling CombineViewModel EventSourceScheduler.swift
[31/36] Compiling CombineViewModel MethodList.swift
[32/36] Compiling CombineViewModel ObjCRuntime.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:6:13: warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
| |- warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_isHookedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_isHookedKey' 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
7 | private var _shouldPostKey = UInt8(0)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:7:13: warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
7 | private var _shouldPostKey = UInt8(0)
| |- warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shouldPostKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_shouldPostKey' 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
8 |
9 | private typealias ViewDidLoadBlock = @convention(block) (Any) -> Void
[33/36] Compiling CombineViewModel ObjectDidChangePublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:6:13: warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
| |- warning: var '_isHookedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_isHookedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_isHookedKey' 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
7 | private var _shouldPostKey = UInt8(0)
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineViewModel/ObjCRuntime.swift:7:13: warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private let _UIViewController: AnyClass? = NSClassFromString("UIViewController")
6 | private var _isHookedKey = UInt8(0)
7 | private var _shouldPostKey = UInt8(0)
| |- warning: var '_shouldPostKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shouldPostKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_shouldPostKey' 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
8 |
9 | private typealias ViewDidLoadBlock = @convention(block) (Any) -> Void
[34/36] Compiling CombineViewModel UIViewController+ViewDidLoadPublisher.swift
[35/36] Compiling CombineViewModel DispatchQueue+EventSourceScheduler.swift
[36/36] Compiling CombineViewModel EventSource.swift
Build complete! (8.22s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CombineViewModel",
"name" : "CombineViewModel",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CombineViewModel",
"targets" : [
"CombineViewModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Bindings",
"targets" : [
"Bindings"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "UIKitBindings",
"targets" : [
"UIKitBindings"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UIKitBindings",
"module_type" : "SwiftTarget",
"name" : "UIKitBindings",
"path" : "Sources/UIKitBindings",
"product_memberships" : [
"UIKitBindings"
],
"sources" : [
"UIApplication.swift",
"UIBarButtonItem.swift",
"UIControl.swift",
"UILabel.swift",
"UIRefreshControl.swift",
"UISwitch.swift",
"UITextField.swift",
"UIView.swift",
"UIViewController.swift"
],
"target_dependencies" : [
"Bindings"
],
"type" : "library"
},
{
"c99name" : "ObjCTestSupport",
"module_type" : "ClangTarget",
"name" : "ObjCTestSupport",
"path" : "Tests/ObjCTestSupport",
"sources" : [
"TestObjCViewController.m"
],
"type" : "library"
},
{
"c99name" : "CombineViewModelTests",
"module_type" : "SwiftTarget",
"name" : "CombineViewModelTests",
"path" : "Tests/CombineViewModelTests",
"sources" : [
"DispatchQueueEventSourceSchedulerTests.swift",
"HookedViewDidLoadTests.swift",
"ObjectDidChangePublisherTests.swift",
"ViewModelTests.swift"
],
"target_dependencies" : [
"CombineViewModel",
"ObjCTestSupport"
],
"type" : "test"
},
{
"c99name" : "CombineViewModel",
"module_type" : "SwiftTarget",
"name" : "CombineViewModel",
"path" : "Sources/CombineViewModel",
"product_memberships" : [
"CombineViewModel"
],
"sources" : [
"ClassHierarchy.swift",
"CombineExports.swift",
"DispatchQueue+EventSourceScheduler.swift",
"EventSource.swift",
"EventSourceScheduler.swift",
"MethodList.swift",
"ObjCRuntime.swift",
"ObjectDidChangePublisher.swift",
"RunLoop+EventSourceScheduler.swift",
"UIViewController+ViewDidLoadPublisher.swift",
"UnfairAtomic.swift",
"ViewModel.swift",
"ViewModelObserver.swift",
"Weak.swift"
],
"target_dependencies" : [
"Bindings"
],
"type" : "library"
},
{
"c99name" : "Bindings",
"module_type" : "SwiftTarget",
"name" : "Bindings",
"path" : "Sources/Bindings",
"product_memberships" : [
"CombineViewModel",
"Bindings",
"UIKitBindings"
],
"sources" : [
"BindingOwner.swift",
"BindingSink.swift",
"BindingSubscriber.swift",
"Box.swift",
"ReactiveExtensionProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.