The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of NIOCronScheduler, reference master (aa67f5), with Swift 6.1 for Linux on 27 Apr 2025 02:57:47 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mihaelisaev/niocronscheduler.git
https://github.com/mihaelisaev/niocronscheduler.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/MihaelIsaev/SwifCron.git
[1/169] Fetching swifcron
Fetched https://github.com/MihaelIsaev/SwifCron.git from cache (0.49s)
[1/75431] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.65s)
Computing version for https://github.com/MihaelIsaev/SwifCron.git
Computed https://github.com/MihaelIsaev/SwifCron.git at 2.0.0 (12.78s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.70s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4353] Fetching swift-system
[872/6058] Fetching swift-system, swift-atomics
[2533/22300] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.45s)
Fetched https://github.com/apple/swift-system.git from cache (2.46s)
Fetched https://github.com/apple/swift-collections.git from cache (2.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.00s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.50s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
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/MihaelIsaev/SwifCron.git
Working copy of https://github.com/MihaelIsaev/SwifCron.git resolved at 2.0.0
Building for debugging...
[0/22] Write sources
[11/22] Compiling CNIOWindows WSAStartup.c
[11/22] Compiling _AtomicsShims.c
[13/22] Compiling CNIOWindows shim.c
[13/22] Write sources
[15/22] Compiling CNIOWASI CNIOWASI.c
[16/22] Compiling CNIODarwin shim.c
[17/22] Compiling CNIOLinux liburing_shims.c
[18/22] Compiling CNIOLinux shim.c
[19/22] Write swift-version-24593BA9C3E375BF.txt
[21/70] Emitting module Atomics
[22/72] Compiling Atomics UnsafeAtomic.swift
[23/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[24/72] Compiling Atomics AtomicMemoryOrderings.swift
[25/72] Compiling Atomics DoubleWord.swift
[26/72] Emitting module SwifCron
[27/72] Compiling SwifCron SwifCronError.swift
[28/72] Compiling SwifCron Array+Each.swift
[29/72] Compiling Atomics ManagedAtomic.swift
[30/72] Compiling Atomics ManagedAtomicLazyReference.swift
[31/74] Compiling Atomics AtomicStorage.swift
[32/74] Compiling Atomics AtomicValue.swift
[33/74] Compiling Atomics AtomicOptionalWrappable.swift
[34/74] Compiling Atomics AtomicReference.swift
[35/74] Emitting module _NIOBase64
[36/74] Compiling _NIOBase64 Base64.swift
[37/74] Compiling _NIODataStructures PriorityQueue.swift
[38/75] Compiling Atomics IntegerOperations.swift
[39/75] Compiling Atomics Unmanaged extensions.swift
[40/75] Emitting module InternalCollectionsUtilities
[43/75] Compiling Atomics AtomicBool.swift
[44/75] Compiling Atomics IntegerConformances.swift
[45/75] Compiling Atomics PointerConformances.swift
[46/75] Compiling Atomics Primitives.native.swift
[47/75] Compiling Atomics Primitives.shims.swift
[48/75] Compiling Atomics AtomicInteger.swift
[49/75] Compiling Atomics OptionalRawRepresentable.swift
[50/75] Compiling Atomics RawRepresentable.swift
[53/75] Compiling _NIODataStructures _TinyArray.swift
[68/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[69/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[70/77] Compiling c-nioatomics.c
[72/92] Compiling DequeModule Deque+CustomReflectable.swift
[73/92] Compiling DequeModule Deque+Descriptions.swift
[74/94] Compiling DequeModule _DequeBuffer.swift
[75/94] Compiling DequeModule _DequeBufferHeader.swift
[76/94] Compiling _NIODataStructures Heap.swift
[77/94] Emitting module _NIODataStructures
[79/95] Compiling SwifCron SwifCron.swift
[80/95] Compiling DequeModule _DequeSlot.swift
[81/95] Compiling DequeModule _UnsafeWrappedBuffer.swift
[82/95] Compiling SwifCron Helper.swift
[83/95] Compiling SwifCron ExpressionParser.swift
[83/96] Compiling c-atomics.c
[86/96] Compiling DequeModule Deque+Testing.swift
[87/96] Compiling DequeModule Deque._Storage.swift
[88/96] Compiling DequeModule Deque._UnsafeHandle.swift
[89/96] Compiling DequeModule Deque.swift
[90/96] Compiling DequeModule Deque+Extras.swift
[91/96] Compiling DequeModule Deque+Hashable.swift
[92/96] Compiling DequeModule Deque+Equatable.swift
[93/96] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[94/102] Compiling DequeModule Deque+Codable.swift
[95/102] Compiling DequeModule Deque+Collection.swift
[96/102] Emitting module DequeModule
[98/103] Compiling NIOConcurrencyHelpers lock.swift
[99/103] Compiling NIOConcurrencyHelpers NIOLock.swift
[100/103] Compiling NIOConcurrencyHelpers atomics.swift
[101/103] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[102/103] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[103/103] Emitting module NIOConcurrencyHelpers
[105/163] Compiling NIOCore MarkedCircularBuffer.swift
[106/163] Compiling NIOCore MulticastChannel.swift
[107/163] Compiling NIOCore NIOAny.swift
[108/163] Compiling NIOCore NIOCloseOnErrorHandler.swift
[109/163] Compiling NIOCore NIOLoopBound.swift
[110/163] Compiling NIOCore NIOScheduledCallback.swift
[111/163] Compiling NIOCore NIOSendable.swift
[112/163] Compiling NIOCore RecvByteBufferAllocator.swift
[113/171] Compiling NIOCore GlobalSingletons.swift
[114/171] Compiling NIOCore IO.swift
[115/171] Compiling NIOCore IOData.swift
[116/171] Compiling NIOCore IPProtocol.swift
[117/171] Compiling NIOCore IntegerBitPacking.swift
[118/171] Compiling NIOCore IntegerTypes.swift
[119/171] Compiling NIOCore Interfaces.swift
[120/171] Compiling NIOCore Linux.swift
[121/171] Compiling NIOCore EventLoop.swift
[122/171] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[123/171] Compiling NIOCore EventLoopFuture+Deprecated.swift
[124/171] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[125/171] Compiling NIOCore EventLoopFuture.swift
[126/171] Compiling NIOCore FileDescriptor.swift
[127/171] Compiling NIOCore FileHandle.swift
[128/171] Compiling NIOCore FileRegion.swift
[129/171] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[130/171] Compiling NIOCore SocketAddresses.swift
[131/171] Compiling NIOCore SocketOptionProvider.swift
[132/171] Compiling NIOCore SystemCallHelpers.swift
[133/171] Compiling NIOCore TimeAmount+Duration.swift
[134/171] Compiling NIOCore TypeAssistedChannelHandler.swift
[135/171] Compiling NIOCore UniversalBootstrapSupport.swift
[136/171] Compiling NIOCore Utilities.swift
[137/171] Compiling NIOCore AddressedEnvelope.swift
[138/171] Compiling NIOCore AsyncAwaitSupport.swift
[139/171] Compiling NIOCore AsyncChannel.swift
[140/171] Compiling NIOCore AsyncChannelHandler.swift
[141/171] Compiling NIOCore AsyncChannelInboundStream.swift
[142/171] Compiling NIOCore AsyncChannelOutboundWriter.swift
[143/171] Compiling NIOCore NIOAsyncSequenceProducer.swift
[144/171] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[145/171] Compiling NIOCore NIOAsyncWriter.swift
[146/171] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[147/171] Compiling NIOCore BSDSocketAPI.swift
[148/171] Compiling NIOCore ByteBuffer-aux.swift
[149/171] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[150/171] Compiling NIOCore ByteBuffer-conversions.swift
[151/171] Compiling NIOCore ByteBuffer-core.swift
[152/171] Compiling NIOCore ByteBuffer-hex.swift
[153/171] Compiling NIOCore ByteBuffer-int.swift
[154/171] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[155/171] Compiling NIOCore ChannelPipeline.swift
[156/171] Compiling NIOCore CircularBuffer.swift
[157/171] Compiling NIOCore Codec.swift
[158/171] Compiling NIOCore ConvenienceOptionSupport.swift
[159/171] Compiling NIOCore DeadChannel.swift
[160/171] Compiling NIOCore DispatchQueue+WithFuture.swift
[161/171] Compiling NIOCore EventLoop+Deprecated.swift
[162/171] Compiling NIOCore EventLoop+SerialExecutor.swift
[163/171] Compiling NIOCore ByteBuffer-multi-int.swift
[164/171] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[165/171] Compiling NIOCore ByteBuffer-views.swift
[166/171] Compiling NIOCore Channel.swift
[167/171] Compiling NIOCore ChannelHandler.swift
[168/171] Compiling NIOCore ChannelHandlers.swift
[169/171] Compiling NIOCore ChannelInvoker.swift
[170/171] Compiling NIOCore ChannelOption.swift
[171/171] Emitting module NIOCore
[173/223] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[174/223] Emitting module NIOEmbedded
[175/223] Compiling NIOEmbedded AsyncTestingChannel.swift
[176/223] Compiling NIOEmbedded Embedded.swift
[178/224] Compiling NIOPosix PooledRecvBufferAllocator.swift
[179/224] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[180/224] Compiling NIOPosix PosixSingletons.swift
[181/224] Compiling NIOPosix RawSocketBootstrap.swift
[182/224] Compiling NIOPosix Resolver.swift
[183/224] Compiling NIOPosix Selectable.swift
[184/230] Compiling NIOPosix SelectableChannel.swift
[185/230] Compiling NIOPosix SelectableEventLoop.swift
[186/230] Compiling NIOPosix SelectorEpoll.swift
[187/230] Compiling NIOPosix SelectorGeneric.swift
[188/230] Compiling NIOPosix SelectorKqueue.swift
[189/230] Compiling NIOPosix SelectorUring.swift
[190/230] Compiling NIOPosix ServerSocket.swift
[191/230] Compiling NIOPosix Socket.swift
[192/230] Compiling NIOPosix SocketChannel.swift
[193/230] Compiling NIOPosix SocketProtocols.swift
[194/230] Compiling NIOPosix System.swift
[195/230] Compiling NIOPosix Thread.swift
[196/230] Compiling NIOPosix ThreadPosix.swift
[197/230] Compiling NIOPosix ThreadWindows.swift
[198/230] Compiling NIOPosix UnsafeTransfer.swift
[199/230] Compiling NIOPosix Utilities.swift
[200/230] Compiling NIOPosix VsockAddress.swift
[201/230] Compiling NIOPosix VsockChannelEvents.swift
[202/230] Compiling NIOPosix IO.swift
[203/230] Compiling NIOPosix IntegerBitPacking.swift
[204/230] Compiling NIOPosix IntegerTypes.swift
[205/230] Compiling NIOPosix Linux.swift
[206/230] Compiling NIOPosix LinuxCPUSet.swift
[207/230] Compiling NIOPosix LinuxUring.swift
[208/230] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[209/230] Compiling NIOPosix NIOThreadPool.swift
[210/230] Compiling NIOPosix NonBlockingFileIO.swift
[211/230] Compiling NIOPosix PendingDatagramWritesManager.swift
[212/230] Compiling NIOPosix PendingWritesManager.swift
[213/230] Compiling NIOPosix PipeChannel.swift
[214/230] Compiling NIOPosix PipePair.swift
[215/230] Compiling NIOPosix Pool.swift
[216/230] Compiling NIOPosix BSDSocketAPICommon.swift
[217/230] Compiling NIOPosix BSDSocketAPIPosix.swift
[218/230] Compiling NIOPosix BSDSocketAPIWindows.swift
[219/230] Compiling NIOPosix BaseSocket.swift
[220/230] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[221/230] Compiling NIOPosix BaseSocketChannel.swift
[222/230] Compiling NIOPosix BaseStreamSocketChannel.swift
[223/230] Emitting module NIOPosix
[224/230] Compiling NIOPosix Bootstrap.swift
[225/230] Compiling NIOPosix ControlMessage.swift
[226/230] Compiling NIOPosix DatagramVectorReadManager.swift
[227/230] Compiling NIOPosix Errors+Any.swift
[228/230] Compiling NIOPosix FileDescriptor.swift
[229/230] Compiling NIOPosix GetaddrinfoResolver.swift
[230/230] Compiling NIOPosix HappyEyeballs.swift
[232/233] Emitting module NIO
[233/233] Compiling NIO Exports.swift
[235/236] Emitting module NIOCronScheduler
[236/236] Compiling NIOCronScheduler NIOCronScheduler.swift
/host/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 = {}
/host/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 |         }
Build complete! (112.14s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.