Build Information
Successful build of ProgressX, reference develop (ec467c
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:15:05 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/nakkht/progressx.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nakkht/progressx
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at ec467c0 Bumped swift tools version to 5.6 on main Package.swift
Cloned https://github.com/nakkht/progressx.git
Revision (git rev-parse @):
ec467c0c5ca6dbad977e7f4438a32433d4fc5a7c
SUCCESS checkout https://github.com/nakkht/progressx.git at develop
========================================
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": "progressx",
"name": "ProgressX",
"url": "https://github.com/nakkht/progressx.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/progressx",
"dependencies": [
]
}
]
}
Fetching https://github.com/nakkht/progressx.git
[1/403] Fetching progressx
Fetched https://github.com/nakkht/progressx.git from cache (1.29s)
Creating working copy for https://github.com/nakkht/progressx.git
Working copy of https://github.com/nakkht/progressx.git resolved at develop (ec467c0)
warning: '.resolve-product-dependencies': dependency 'progressx' 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/nakkht/progressx.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling ProgressX ProgressXViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/ProgressXViewModel.swift:44:33: warning: capture of 'milestone' with non-sendable type 'Milestone' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | milestones.forEach { (milestone) in
43 | let timer = Timer(fire: milestone.deadline, interval: 0, repeats: false) { (timer) in
44 | var milestone = milestone
| `- warning: capture of 'milestone' with non-sendable type 'Milestone' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | milestone.hasCompleted = true
46 | if let index = self.milestones.firstIndex(where: { $0.id == milestone.id }) {
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/Milestone/Milestone.swift:19:15: note: consider making struct 'Milestone' conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct Milestone: Identifiable {
| `- note: consider making struct 'Milestone' conform to the 'Sendable' protocol
20 |
21 | public var id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/ProgressXViewModel.swift:46:32: warning: capture of 'self' with non-sendable type 'ProgressXViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | import Combine
19 |
20 | class ProgressXViewModel: ObservableObject {
| `- note: class 'ProgressXViewModel' does not conform to the 'Sendable' protocol
21 |
22 | @Published var milestones: [Milestone]
:
44 | var milestone = milestone
45 | milestone.hasCompleted = true
46 | if let index = self.milestones.firstIndex(where: { $0.id == milestone.id }) {
| `- warning: capture of 'self' with non-sendable type 'ProgressXViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | self.milestones[index] = milestone
48 | }
[4/10] Compiling ProgressX ColorTheme.swift
[5/10] Compiling ProgressX ProgressXView.swift
[6/10] Compiling ProgressX ProgressArcView.swift
[7/10] Compiling ProgressX Milestone.swift
[8/10] Compiling ProgressX MilestonCircleView.swift
[9/10] Emitting module ProgressX
[10/10] Compiling ProgressX Configuration.swift
Build complete! (14.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ProgressX",
"name" : "ProgressX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ProgressX",
"targets" : [
"ProgressX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ProgressXTests",
"module_type" : "SwiftTarget",
"name" : "ProgressXTests",
"path" : "Tests/ProgressXTests",
"sources" : [
"ColorThemeTests.swift",
"ConfigurationTests.swift",
"Milestone/MilestoneTests.swift"
],
"target_dependencies" : [
"ProgressX"
],
"type" : "test"
},
{
"c99name" : "ProgressX",
"module_type" : "SwiftTarget",
"name" : "ProgressX",
"path" : "Sources/ProgressX",
"product_memberships" : [
"ProgressX"
],
"sources" : [
"ColorTheme.swift",
"Configuration.swift",
"Milestone/MilestonCircleView.swift",
"Milestone/Milestone.swift",
"ProgressArcView.swift",
"ProgressXView.swift",
"ProgressXViewModel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.