Build Information
Successful build of NIOCronScheduler, reference master (aa67f5
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:02:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/niocronscheduler.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mihaelisaev/niocronscheduler
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at aa67f5e Update README.md
Cloned https://github.com/mihaelisaev/niocronscheduler.git
Revision (git rev-parse @):
aa67f5efde1c728772fcfc21a862412df83f14f1
SUCCESS checkout https://github.com/mihaelisaev/niocronscheduler.git at master
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/MihaelIsaev/SwifCron.git
[1/169] Fetching swifcron
Fetched https://github.com/MihaelIsaev/SwifCron.git from cache (0.85s)
Fetched https://github.com/apple/swift-nio.git from cache (0.86s)
Computing version for https://github.com/MihaelIsaev/SwifCron.git
Computed https://github.com/MihaelIsaev/SwifCron.git at 2.0.0 (3.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.73s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.71s)
Fetched https://github.com/apple/swift-system.git from cache (0.72s)
Fetched https://github.com/apple/swift-collections.git from cache (0.73s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
Creating working copy for https://github.com/MihaelIsaev/SwifCron.git
Working copy of https://github.com/MihaelIsaev/SwifCron.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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": "niocronscheduler",
"name": "NIOCronScheduler",
"url": "https://github.com/mihaelisaev/niocronscheduler.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/niocronscheduler",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.82.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swifcron",
"name": "SwifCron",
"url": "https://github.com/MihaelIsaev/SwifCron.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwifCron",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mihaelisaev/niocronscheduler.git
[1/88] Fetching niocronscheduler
Fetched https://github.com/mihaelisaev/niocronscheduler.git from cache (0.56s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/MihaelIsaev/SwifCron.git from cache
Fetched https://github.com/MihaelIsaev/SwifCron.git from cache (0.74s)
Fetched https://github.com/apple/swift-nio.git from cache (0.75s)
Computing version for https://github.com/MihaelIsaev/SwifCron.git
Computed https://github.com/MihaelIsaev/SwifCron.git at 2.0.0 (0.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.03s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/MihaelIsaev/SwifCron.git
Working copy of https://github.com/MihaelIsaev/SwifCron.git resolved at 2.0.0
Creating working copy for https://github.com/mihaelisaev/niocronscheduler.git
Working copy of https://github.com/mihaelisaev/niocronscheduler.git resolved at master (aa67f5e)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
warning: '.resolve-product-dependencies': dependency 'niocronscheduler' is not used by any target
Found 2 product dependencies
- swift-nio
- SwifCron
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mihaelisaev/niocronscheduler.git
https://github.com/mihaelisaev/niocronscheduler.git
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swifcron",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MihaelIsaev/SwifCron.git"
}
],
"manifest_display_name" : "NIOCronScheduler",
"name" : "NIOCronScheduler",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NIOCronScheduler",
"targets" : [
"NIOCronScheduler"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NIOCronSchedulerTests",
"module_type" : "SwiftTarget",
"name" : "NIOCronSchedulerTests",
"path" : "Tests/NIOCronSchedulerTests",
"sources" : [
"NIOCronSchedulerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"NIOCronScheduler"
],
"type" : "test"
},
{
"c99name" : "NIOCronScheduler",
"module_type" : "SwiftTarget",
"name" : "NIOCronScheduler",
"path" : "Sources/NIOCronScheduler",
"product_dependencies" : [
"NIO",
"SwifCron"
],
"product_memberships" : [
"NIOCronScheduler"
],
"sources" : [
"NIOCronScheduler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/23] Write sources
[2/23] Copying PrivacyInfo.xcprivacy
[4/23] Write sources
[12/23] Compiling CNIOWindows shim.c
[13/23] Compiling CNIOWindows WSAStartup.c
[14/23] Write sources
[15/23] Compiling CNIOWASI CNIOWASI.c
[16/23] Compiling CNIOLinux liburing_shims.c
[17/23] Compiling CNIOLinux shim.c
[18/23] Write swift-version-2F0A5646E1D333AE.txt
[19/23] Compiling _AtomicsShims.c
[20/72] Compiling CNIODarwin shim.c
[22/72] Emitting module InternalCollectionsUtilities
[23/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/73] Compiling Atomics AtomicBool.swift
[25/73] Compiling Atomics IntegerConformances.swift
[26/73] Compiling Atomics PointerConformances.swift
[27/73] Compiling Atomics Primitives.native.swift
[28/73] Compiling Atomics AtomicStorage.swift
[29/73] Compiling Atomics AtomicValue.swift
[30/73] Compiling Atomics UnsafeAtomic.swift
[31/73] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/73] Emitting module _NIOBase64
[33/73] Compiling _NIOBase64 Base64.swift
[34/73] Compiling Atomics AtomicOptionalWrappable.swift
[35/73] Compiling Atomics AtomicReference.swift
[36/73] Compiling Atomics OptionalRawRepresentable.swift
[37/73] Compiling Atomics RawRepresentable.swift
[38/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[39/73] Compiling Atomics ManagedAtomic.swift
[40/73] Compiling Atomics ManagedAtomicLazyReference.swift
[41/73] Compiling Atomics AtomicMemoryOrderings.swift
[42/73] Compiling Atomics DoubleWord.swift
[45/75] Emitting module _NIODataStructures
[48/75] Compiling Atomics Primitives.shims.swift
[49/75] Compiling Atomics AtomicInteger.swift
[52/75] Compiling Atomics IntegerOperations.swift
[53/75] Compiling Atomics Unmanaged extensions.swift
[54/75] Compiling _NIODataStructures _TinyArray.swift
[63/91] Compiling DequeModule _DequeBufferHeader.swift
[64/91] Compiling DequeModule _DequeSlot.swift
[65/91] Compiling DequeModule _DequeBuffer.swift
[66/92] Compiling _NIODataStructures Heap.swift
[67/92] Compiling _NIODataStructures PriorityQueue.swift
[68/92] Emitting module Atomics
[69/92] Compiling DequeModule Deque+Extras.swift
[70/92] Compiling DequeModule Deque+Hashable.swift
[71/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[74/92] Compiling DequeModule Deque+Testing.swift
[75/92] Compiling DequeModule Deque._Storage.swift
[76/92] Compiling DequeModule Deque._UnsafeHandle.swift
[77/92] Compiling DequeModule Deque.swift
[77/92] Compiling c-nioatomics.c
[79/92] Emitting module DequeModule
[80/92] Compiling DequeModule Deque+Equatable.swift
[81/92] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[82/92] Compiling DequeModule Deque+CustomReflectable.swift
[83/92] Compiling DequeModule Deque+Descriptions.swift
[84/92] Compiling DequeModule Deque+Codable.swift
[85/92] Compiling DequeModule Deque+Collection.swift
[85/92] Compiling c-atomics.c
[87/98] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[88/98] Compiling NIOConcurrencyHelpers lock.swift
[89/98] Compiling NIOConcurrencyHelpers NIOLock.swift
[90/98] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/98] Emitting module NIOConcurrencyHelpers
[92/98] Compiling NIOConcurrencyHelpers atomics.swift
[93/98] Compiling SwifCron SwifCronError.swift
[94/159] Compiling SwifCron SwifCron.swift
[95/159] Compiling SwifCron ExpressionParser.swift
[96/159] Compiling SwifCron Array+Each.swift
[97/159] Emitting module SwifCron
[98/159] Compiling SwifCron Helper.swift
[99/159] Compiling NIOCore GlobalSingletons.swift
[100/159] Compiling NIOCore IO.swift
[101/159] Compiling NIOCore IOData.swift
[102/159] Compiling NIOCore IPProtocol.swift
[103/159] Compiling NIOCore IntegerBitPacking.swift
[104/159] Compiling NIOCore IntegerTypes.swift
[105/159] Compiling NIOCore NIOLoopBound.swift
[106/159] Compiling NIOCore NIOScheduledCallback.swift
[107/159] Compiling NIOCore NIOSendable.swift
[108/159] Compiling NIOCore RecvByteBufferAllocator.swift
[109/159] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[110/159] Compiling NIOCore SocketAddresses.swift
[111/165] Compiling NIOCore AddressedEnvelope.swift
[112/165] Compiling NIOCore AsyncAwaitSupport.swift
[113/165] Compiling NIOCore AsyncChannel.swift
[114/165] Compiling NIOCore AsyncChannelHandler.swift
[115/165] Compiling NIOCore AsyncChannelInboundStream.swift
[116/165] Compiling NIOCore AsyncChannelOutboundWriter.swift
[117/165] Compiling NIOCore NIOAsyncSequenceProducer.swift
[118/165] Compiling NIOCore SocketOptionProvider.swift
[119/165] Compiling NIOCore SystemCallHelpers.swift
[120/165] Compiling NIOCore TimeAmount+Duration.swift
[121/165] Compiling NIOCore TypeAssistedChannelHandler.swift
[122/165] Compiling NIOCore UniversalBootstrapSupport.swift
[123/165] Compiling NIOCore Utilities.swift
[124/165] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[125/165] Compiling NIOCore EventLoopFuture+Deprecated.swift
[126/165] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[127/165] Compiling NIOCore EventLoopFuture.swift
[128/165] Compiling NIOCore FileDescriptor.swift
[129/165] Compiling NIOCore FileHandle.swift
[130/165] Compiling NIOCore FileRegion.swift
[131/165] Compiling NIOCore Channel.swift
[132/165] Compiling NIOCore ChannelHandler.swift
[133/165] Compiling NIOCore ChannelHandlers.swift
[134/165] Compiling NIOCore ChannelInvoker.swift
[135/165] Compiling NIOCore ChannelOption.swift
[136/165] Compiling NIOCore ChannelPipeline.swift
[137/165] Compiling NIOCore CircularBuffer.swift
[138/165] Compiling NIOCore Interfaces.swift
[139/165] Compiling NIOCore Linux.swift
[140/165] Compiling NIOCore MarkedCircularBuffer.swift
[141/165] Compiling NIOCore MulticastChannel.swift
[142/165] Compiling NIOCore NIOAny.swift
[143/165] Compiling NIOCore NIOCloseOnErrorHandler.swift
[144/165] Compiling NIOCore Codec.swift
[145/165] Compiling NIOCore ConvenienceOptionSupport.swift
[146/165] Compiling NIOCore DeadChannel.swift
[147/165] Compiling NIOCore DispatchQueue+WithFuture.swift
[148/165] Compiling NIOCore EventLoop+Deprecated.swift
[149/165] Compiling NIOCore EventLoop+SerialExecutor.swift
[150/165] Compiling NIOCore EventLoop.swift
[151/165] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[152/165] Compiling NIOCore NIOAsyncWriter.swift
[153/165] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[154/165] Compiling NIOCore BSDSocketAPI.swift
[155/165] Compiling NIOCore ByteBuffer-aux.swift
[156/165] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[157/165] Compiling NIOCore ByteBuffer-conversions.swift
[158/165] Compiling NIOCore ByteBuffer-core.swift
[159/165] Compiling NIOCore ByteBuffer-hex.swift
[160/165] Compiling NIOCore ByteBuffer-int.swift
[161/165] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[162/165] Compiling NIOCore ByteBuffer-multi-int.swift
[163/165] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[164/165] Compiling NIOCore ByteBuffer-views.swift
[165/165] Emitting module NIOCore
[166/218] Compiling NIOEmbedded AsyncTestingChannel.swift
[167/218] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[168/218] Emitting module NIOEmbedded
[169/218] Compiling NIOEmbedded Embedded.swift
[170/218] Compiling NIOPosix Selectable.swift
[171/218] Compiling NIOPosix SelectableChannel.swift
[172/218] Compiling NIOPosix SelectableEventLoop.swift
[173/218] Compiling NIOPosix SelectorEpoll.swift
[174/218] Compiling NIOPosix SelectorGeneric.swift
[175/218] Compiling NIOPosix GetaddrinfoResolver.swift
[176/218] Compiling NIOPosix HappyEyeballs.swift
[177/218] Compiling NIOPosix IO.swift
[178/218] Compiling NIOPosix IntegerBitPacking.swift
[179/218] Compiling NIOPosix IntegerTypes.swift
[180/218] Compiling NIOPosix Linux.swift
[181/223] Compiling NIOPosix SocketProtocols.swift
[182/223] Compiling NIOPosix System.swift
[183/223] Compiling NIOPosix Thread.swift
[184/223] Compiling NIOPosix ThreadPosix.swift
[185/223] Compiling NIOPosix ThreadWindows.swift
[186/223] Compiling NIOPosix PooledRecvBufferAllocator.swift
[187/223] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[188/223] Compiling NIOPosix PosixSingletons.swift
[189/223] Compiling NIOPosix RawSocketBootstrap.swift
[190/223] Compiling NIOPosix Resolver.swift
[191/223] Compiling NIOPosix UnsafeTransfer.swift
[192/223] Compiling NIOPosix Utilities.swift
[193/223] Compiling NIOPosix VsockAddress.swift
[194/223] Compiling NIOPosix VsockChannelEvents.swift
[195/223] Compiling NIOPosix resource_bundle_accessor.swift
[196/223] Compiling NIOPosix LinuxCPUSet.swift
[197/223] Compiling NIOPosix LinuxUring.swift
[198/223] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[199/223] Compiling NIOPosix NIOThreadPool.swift
[200/223] Compiling NIOPosix NonBlockingFileIO.swift
[201/223] Compiling NIOPosix PendingDatagramWritesManager.swift
[202/223] Compiling NIOPosix PendingWritesManager.swift
[203/223] Compiling NIOPosix PipeChannel.swift
[204/223] Compiling NIOPosix PipePair.swift
[205/223] Compiling NIOPosix Pool.swift
[206/223] Compiling NIOPosix BSDSocketAPICommon.swift
[207/223] Compiling NIOPosix BSDSocketAPIPosix.swift
[208/223] Compiling NIOPosix BSDSocketAPIWindows.swift
[209/223] Compiling NIOPosix BaseSocket.swift
[210/223] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[211/223] Compiling NIOPosix BaseSocketChannel.swift
[212/223] Emitting module NIOPosix
[213/223] Compiling NIOPosix BaseStreamSocketChannel.swift
[214/223] Compiling NIOPosix Bootstrap.swift
[215/223] Compiling NIOPosix ControlMessage.swift
[216/223] Compiling NIOPosix DatagramVectorReadManager.swift
[217/223] Compiling NIOPosix Errors+Any.swift
[218/223] Compiling NIOPosix FileDescriptor.swift
[219/223] Compiling NIOPosix SelectorKqueue.swift
[220/223] Compiling NIOPosix SelectorUring.swift
[221/223] Compiling NIOPosix ServerSocket.swift
[222/223] Compiling NIOPosix Socket.swift
[223/223] Compiling NIOPosix SocketChannel.swift
[224/225] Compiling NIO Exports.swift
[225/225] Emitting module NIO
[226/227] Compiling NIOCronScheduler NIOCronScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOCronScheduler/NIOCronScheduler.swift:33:13: warning: capture of 'job' with non-sendable type 'NIOCronJob' in a '@Sendable' closure
31 | let job = NIOCronJob()
32 | let task = eventLoop.scheduleTask(in: .seconds(Int64(secondsTo))) {
33 | job.onCancel = try self.schedule(expression: expression, on: eventLoop, task: task, offset: 1).cancel
| `- warning: capture of 'job' with non-sendable type 'NIOCronJob' in a '@Sendable' closure
34 | try task()
35 | }
:
47 | }
48 |
49 | public class NIOCronJob {
| `- note: class 'NIOCronJob' does not conform to the 'Sendable' protocol
50 | init () {}
51 | fileprivate var onCancel: () -> Void = {}
/Users/admin/builder/spi-builder-workspace/Sources/NIOCronScheduler/NIOCronScheduler.swift:33:91: warning: capture of 'task' with non-sendable type '() throws -> Void' in a '@Sendable' closure
31 | let job = NIOCronJob()
32 | let task = eventLoop.scheduleTask(in: .seconds(Int64(secondsTo))) {
33 | job.onCancel = try self.schedule(expression: expression, on: eventLoop, task: task, offset: 1).cancel
| |- warning: capture of 'task' with non-sendable type '() throws -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | try task()
35 | }
[227/227] Emitting module NIOCronScheduler
Build complete! (11.90s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swifcron",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MihaelIsaev/SwifCron.git"
}
],
"manifest_display_name" : "NIOCronScheduler",
"name" : "NIOCronScheduler",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NIOCronScheduler",
"targets" : [
"NIOCronScheduler"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NIOCronSchedulerTests",
"module_type" : "SwiftTarget",
"name" : "NIOCronSchedulerTests",
"path" : "Tests/NIOCronSchedulerTests",
"sources" : [
"NIOCronSchedulerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"NIOCronScheduler"
],
"type" : "test"
},
{
"c99name" : "NIOCronScheduler",
"module_type" : "SwiftTarget",
"name" : "NIOCronScheduler",
"path" : "Sources/NIOCronScheduler",
"product_dependencies" : [
"NIO",
"SwifCron"
],
"product_memberships" : [
"NIOCronScheduler"
],
"sources" : [
"NIOCronScheduler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.