Build Information
Successful build of SwiftCron, reference master (b2f184
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 00:31:30 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rymcol/swiftcron.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rymcol/swiftcron
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b2f1845 Merge branch 'master' of github.com:rymcol/Swift-Cron
Cloned https://github.com/rymcol/swiftcron.git
Revision (git rev-parse @):
b2f1845dd442c37928109f5d9125916f167e3982
SUCCESS checkout https://github.com/rymcol/swiftcron.git at master
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git
[1/379] Fetching perfect-thread
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.84s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (2.43s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
========================================
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": "swiftcron",
"name": "SwiftCron",
"url": "https://github.com/rymcol/swiftcron.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftcron",
"dependencies": [
{
"identity": "perfect-thread",
"name": "PerfectThread",
"url": "https://github.com/PerfectlySoft/Perfect-Thread.git",
"version": "3.0.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Perfect-Thread",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/rymcol/swiftcron.git
[1/169] Fetching swiftcron
Fetched https://github.com/rymcol/swiftcron.git from cache (0.67s)
Fetching https://github.com/PerfectlySoft/Perfect-Thread.git from cache
Fetched https://github.com/PerfectlySoft/Perfect-Thread.git from cache (0.44s)
Computing version for https://github.com/PerfectlySoft/Perfect-Thread.git
Computed https://github.com/PerfectlySoft/Perfect-Thread.git at 3.0.7 (0.02s)
Creating working copy for https://github.com/rymcol/swiftcron.git
Working copy of https://github.com/rymcol/swiftcron.git resolved at master (b2f1845)
Creating working copy for https://github.com/PerfectlySoft/Perfect-Thread.git
Working copy of https://github.com/PerfectlySoft/Perfect-Thread.git resolved at 3.0.7
warning: '.resolve-product-dependencies': dependency 'swiftcron' is not used by any target
Found 1 product dependencies
- PerfectThread
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/rymcol/swiftcron.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Emitting module PerfectThread
[5/7] Compiling PerfectThread Threading.swift
[6/7] Compiling PerfectThread ThreadQueue.swift
[7/7] Compiling PerfectThread Promise.swift
[8/11] Compiling SwiftCron CronStorage.swift
[9/11] Compiling SwiftCron Cron.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCron/Cron.swift:45:24: warning: capture of 'self' with non-sendable type 'Cron' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public class Cron {
| `- note: class 'Cron' does not conform to the 'Sendable' protocol
18 | private var _cronStore: CronStore
19 | private var _runningJobs: [CronJob]
:
43 | func run() {
44 | queue.async {
45 | for job in self._cronStore.jobs {
| `- warning: capture of 'self' with non-sendable type 'Cron' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | if job.allowsSimultaneious || (!job.allowsSimultaneious && !self._runningJobs.contains(job)) {
47 | if job.date <= Date() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCron/Cron.swift:46:77: warning: implicit capture of 'self' requires that 'Cron' conforms to `Sendable`; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public class Cron {
| `- note: class 'Cron' does not conform to the 'Sendable' protocol
18 | private var _cronStore: CronStore
19 | private var _runningJobs: [CronJob]
:
44 | queue.async {
45 | for job in self._cronStore.jobs {
46 | if job.allowsSimultaneious || (!job.allowsSimultaneious && !self._runningJobs.contains(job)) {
| `- warning: implicit capture of 'self' requires that 'Cron' conforms to `Sendable`; this is an error in the Swift 6 language mode
47 | if job.date <= Date() {
48 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCron/Cron.swift:46:77: warning: implicit capture of 'self' requires that 'Cron' conforms to `Sendable`; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public class Cron {
| `- note: class 'Cron' does not conform to the 'Sendable' protocol
18 | private var _cronStore: CronStore
19 | private var _runningJobs: [CronJob]
:
44 | queue.async {
45 | for job in self._cronStore.jobs {
46 | if job.allowsSimultaneious || (!job.allowsSimultaneious && !self._runningJobs.contains(job)) {
| `- warning: implicit capture of 'self' requires that 'Cron' conforms to `Sendable`; this is an error in the Swift 6 language mode
47 | if job.date <= Date() {
48 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCron/Cron.swift:50:29: warning: capture of 'self' with non-sendable type 'Cron' in an isolated closure; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public class Cron {
| `- note: class 'Cron' does not conform to the 'Sendable' protocol
18 | private var _cronStore: CronStore
19 | private var _runningJobs: [CronJob]
:
48 |
49 | let _ = Promise() {
50 | self._runningJobs.append(job)
| `- warning: capture of 'self' with non-sendable type 'Cron' in an isolated closure; this is an error in the Swift 6 language mode
51 | job.method()
52 | }.then() {_ in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCron/Cron.swift:53:33: warning: capture of 'self' with non-sendable type 'Cron' in an isolated closure; this is an error in the Swift 6 language mode
15 | #endif
16 |
17 | public class Cron {
| `- note: class 'Cron' does not conform to the 'Sendable' protocol
18 | private var _cronStore: CronStore
19 | private var _runningJobs: [CronJob]
:
51 | job.method()
52 | }.then() {_ in
53 | self._runningJobs = self._runningJobs.filter() { $0 != job }
| `- warning: capture of 'self' with non-sendable type 'Cron' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 |
[10/11] Emitting module SwiftCron
[11/11] Compiling SwiftCron CronJob.swift
Build complete! (8.23s)
Build complete.
{
"dependencies" : [
{
"identity" : "perfect-thread",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.2",
"upper_bound" : "3.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-Thread.git"
}
],
"manifest_display_name" : "SwiftCron",
"name" : "SwiftCron",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftCron",
"targets" : [
"SwiftCron"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCronTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCronTests",
"path" : "Tests/Swift-CronTests",
"product_dependencies" : [
"PerfectThread"
],
"sources" : [
"Swift_CronTests.swift"
],
"type" : "test"
},
{
"c99name" : "SwiftCron",
"module_type" : "SwiftTarget",
"name" : "SwiftCron",
"path" : "Sources/SwiftCron",
"product_dependencies" : [
"PerfectThread"
],
"product_memberships" : [
"SwiftCron"
],
"sources" : [
"Cron.swift",
"CronJob.swift",
"CronStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.