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.0 for Linux on 28 Nov 2024 22:29:07 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.0-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.58.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.0
Building package at path:  $PWD
https://github.com/mihaelisaev/niocronscheduler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/MihaelIsaev/SwifCron.git
Fetching https://github.com/apple/swift-nio.git
[1/169] Fetching swifcron
[170/72168] Fetching swifcron, swift-nio
Fetched https://github.com/MihaelIsaev/SwifCron.git from cache (7.50s)
Fetched https://github.com/apple/swift-nio.git from cache (7.66s)
Computing version for https://github.com/MihaelIsaev/SwifCron.git
Computed https://github.com/MihaelIsaev/SwifCron.git at 2.0.0 (3.90s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (1.27s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3919] Fetching swift-system
[3920/19516] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
[2808/15597] Fetching swift-collections
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-collections.git from cache (1.91s)
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.13s)
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.77.0
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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 shim.c
[11/22] Compiling _AtomicsShims.c
[13/22] Compiling CNIOWindows WSAStartup.c
[14/22] Write sources
[15/22] Compiling CNIODarwin shim.c
[16/22] Compiling CNIOWASI CNIOWASI.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 InternalCollectionsUtilities
[21/72] Compiling c-nioatomics.c
[22/72] Compiling c-atomics.c
[24/78] Compiling SwifCron SwifCronError.swift
[25/78] Compiling InternalCollectionsUtilities Debugging.swift
[26/78] Compiling InternalCollectionsUtilities Descriptions.swift
[27/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/80] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/80] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[32/80] Compiling InternalCollectionsUtilities Specialize.swift
[33/80] Compiling _NIODataStructures _TinyArray.swift
[34/80] Compiling _NIODataStructures PriorityQueue.swift
[35/80] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[36/80] Compiling InternalCollectionsUtilities Integer rank.swift
[37/80] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[38/80] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[39/80] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[40/80] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[44/80] Emitting module _NIOBase64
[45/80] Compiling _NIOBase64 Base64.swift
[46/81] Compiling InternalCollectionsUtilities _SortedCollection.swift
[47/81] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/81] Emitting module Atomics
[53/81] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/81] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[55/81] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[56/81] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[68/82] Compiling Atomics IntegerOperations.swift
[69/82] Compiling Atomics Unmanaged extensions.swift
[71/98] Compiling NIOConcurrencyHelpers lock.swift
[72/98] Compiling _NIODataStructures Heap.swift
[73/98] Emitting module _NIODataStructures
[74/99] Compiling DequeModule _DequeBuffer.swift
[75/99] Compiling DequeModule _DequeBufferHeader.swift
[76/101] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[77/101] Compiling NIOConcurrencyHelpers NIOLock.swift
[79/101] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[80/101] Emitting module NIOConcurrencyHelpers
[81/101] Compiling NIOConcurrencyHelpers atomics.swift
[82/102] Compiling DequeModule Deque+Equatable.swift
[83/102] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[84/102] Compiling DequeModule Deque+Extras.swift
[85/102] Compiling DequeModule Deque+Hashable.swift
[87/102] Compiling DequeModule Deque+Testing.swift
[88/102] Compiling DequeModule Deque._Storage.swift
[89/102] Compiling DequeModule Deque._UnsafeHandle.swift
[90/102] Compiling DequeModule Deque.swift
[91/102] Compiling DequeModule _DequeSlot.swift
[92/102] Compiling DequeModule _UnsafeWrappedBuffer.swift
[93/102] Compiling DequeModule Deque+CustomReflectable.swift
[94/102] Compiling DequeModule Deque+Descriptions.swift
[95/102] Compiling DequeModule Deque+Codable.swift
[96/102] Compiling DequeModule Deque+Collection.swift
[97/102] Emitting module DequeModule
[99/163] Compiling SwifCron SwifCron.swift
[100/163] Compiling SwifCron Array+Each.swift
[101/163] Compiling SwifCron ExpressionParser.swift
[102/163] Emitting module SwifCron
[103/163] Compiling SwifCron Helper.swift
[105/164] Compiling NIOCore IO.swift
[106/164] Compiling NIOCore IOData.swift
[107/164] Compiling NIOCore IPProtocol.swift
[108/164] Compiling NIOCore IntegerBitPacking.swift
[109/164] Compiling NIOCore IntegerTypes.swift
[110/164] Compiling NIOCore Interfaces.swift
[111/164] Compiling NIOCore Linux.swift
[112/164] Compiling NIOCore MarkedCircularBuffer.swift
[113/172] Compiling NIOCore MulticastChannel.swift
[114/172] Compiling NIOCore NIOAny.swift
[115/172] Compiling NIOCore NIOCloseOnErrorHandler.swift
[116/172] Compiling NIOCore NIOLoopBound.swift
[117/172] Compiling NIOCore NIOScheduledCallback.swift
[118/172] Compiling NIOCore NIOSendable.swift
[119/172] Compiling NIOCore PointerHelpers.swift
[120/172] Compiling NIOCore RecvByteBufferAllocator.swift
[121/172] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[122/172] Compiling NIOCore EventLoopFuture+Deprecated.swift
[123/172] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[124/172] Compiling NIOCore EventLoopFuture.swift
[125/172] Compiling NIOCore FileDescriptor.swift
[126/172] Compiling NIOCore FileHandle.swift
[127/172] Compiling NIOCore FileRegion.swift
[128/172] Compiling NIOCore GlobalSingletons.swift
[129/172] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/172] Compiling NIOCore BSDSocketAPI.swift
[131/172] Compiling NIOCore ByteBuffer-aux.swift
[132/172] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/172] Compiling NIOCore ByteBuffer-conversions.swift
[134/172] Compiling NIOCore ByteBuffer-core.swift
[135/172] Compiling NIOCore ByteBuffer-hex.swift
[136/172] Compiling NIOCore ByteBuffer-int.swift
[137/172] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[138/172] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[139/172] Compiling NIOCore SocketAddresses.swift
[140/172] Compiling NIOCore SocketOptionProvider.swift
[141/172] Compiling NIOCore SystemCallHelpers.swift
[142/172] Compiling NIOCore TimeAmount+Duration.swift
[143/172] Compiling NIOCore TypeAssistedChannelHandler.swift
[144/172] Compiling NIOCore UniversalBootstrapSupport.swift
[145/172] Compiling NIOCore Utilities.swift
[146/172] Compiling NIOCore AddressedEnvelope.swift
[147/172] Compiling NIOCore AsyncAwaitSupport.swift
[148/172] Compiling NIOCore AsyncChannel.swift
[149/172] Compiling NIOCore AsyncChannelHandler.swift
[150/172] Compiling NIOCore AsyncChannelInboundStream.swift
[151/172] Compiling NIOCore AsyncChannelOutboundWriter.swift
[152/172] Compiling NIOCore NIOAsyncSequenceProducer.swift
[153/172] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[154/172] Compiling NIOCore NIOAsyncWriter.swift
[155/172] Compiling NIOCore ByteBuffer-multi-int.swift
[156/172] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[157/172] Compiling NIOCore ByteBuffer-views.swift
[158/172] Compiling NIOCore Channel.swift
[159/172] Compiling NIOCore ChannelHandler.swift
[160/172] Compiling NIOCore ChannelHandlers.swift
[161/172] Compiling NIOCore ChannelInvoker.swift
[162/172] Compiling NIOCore ChannelOption.swift
[163/172] Compiling NIOCore ChannelPipeline.swift
[164/172] Compiling NIOCore CircularBuffer.swift
[165/172] Compiling NIOCore Codec.swift
[166/172] Compiling NIOCore ConvenienceOptionSupport.swift
[167/172] Compiling NIOCore DeadChannel.swift
[168/172] Compiling NIOCore DispatchQueue+WithFuture.swift
[169/172] Compiling NIOCore EventLoop+Deprecated.swift
[170/172] Compiling NIOCore EventLoop+SerialExecutor.swift
[171/172] Compiling NIOCore EventLoop.swift
[172/172] Emitting module NIOCore
[174/225] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[175/225] Compiling NIOEmbedded AsyncTestingChannel.swift
[176/225] Emitting module NIOEmbedded
[177/225] Compiling NIOEmbedded Embedded.swift
[179/226] Compiling NIOPosix Pool.swift
[180/226] Compiling NIOPosix PooledRecvBufferAllocator.swift
[181/226] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[182/226] Compiling NIOPosix PosixSingletons.swift
[183/226] Compiling NIOPosix RawSocketBootstrap.swift
[184/226] Compiling NIOPosix Resolver.swift
[185/226] Compiling NIOPosix Selectable.swift
[186/232] Emitting module NIOPosix
[187/232] Compiling NIOPosix ThreadPosix.swift
[188/232] Compiling NIOPosix ThreadWindows.swift
[189/232] Compiling NIOPosix UnsafeTransfer.swift
[190/232] Compiling NIOPosix Utilities.swift
[191/232] Compiling NIOPosix VsockAddress.swift
[192/232] Compiling NIOPosix VsockChannelEvents.swift
[193/232] Compiling NIOPosix SelectableChannel.swift
[194/232] Compiling NIOPosix SelectableEventLoop.swift
[195/232] Compiling NIOPosix SelectorEpoll.swift
[196/232] Compiling NIOPosix SelectorGeneric.swift
[197/232] Compiling NIOPosix SelectorKqueue.swift
[198/232] Compiling NIOPosix SelectorUring.swift
[199/232] Compiling NIOPosix ServerSocket.swift
[200/232] Compiling NIOPosix Socket.swift
[201/232] Compiling NIOPosix SocketChannel.swift
[202/232] Compiling NIOPosix SocketProtocols.swift
[203/232] Compiling NIOPosix System.swift
[204/232] Compiling NIOPosix Thread.swift
[205/232] Compiling NIOPosix BSDSocketAPICommon.swift
[206/232] Compiling NIOPosix BSDSocketAPIPosix.swift
[207/232] Compiling NIOPosix BSDSocketAPIWindows.swift
[208/232] Compiling NIOPosix BaseSocket.swift
[209/232] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[210/232] Compiling NIOPosix BaseSocketChannel.swift
[211/232] Compiling NIOPosix BaseStreamSocketChannel.swift
[212/232] Compiling NIOPosix NIOThreadPool.swift
[213/232] Compiling NIOPosix NonBlockingFileIO.swift
[214/232] Compiling NIOPosix PendingDatagramWritesManager.swift
[215/232] Compiling NIOPosix PendingWritesManager.swift
[216/232] Compiling NIOPosix PipeChannel.swift
[217/232] Compiling NIOPosix PipePair.swift
[218/232] Compiling NIOPosix PointerHelpers.swift
[219/232] Compiling NIOPosix IO.swift
[220/232] Compiling NIOPosix IntegerBitPacking.swift
[221/232] Compiling NIOPosix IntegerTypes.swift
[222/232] Compiling NIOPosix Linux.swift
[223/232] Compiling NIOPosix LinuxCPUSet.swift
[224/232] Compiling NIOPosix LinuxUring.swift
[225/232] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[226/232] Compiling NIOPosix Bootstrap.swift
[227/232] Compiling NIOPosix ControlMessage.swift
[228/232] Compiling NIOPosix DatagramVectorReadManager.swift
[229/232] Compiling NIOPosix Errors+Any.swift
[230/232] Compiling NIOPosix FileDescriptor.swift
[231/232] Compiling NIOPosix GetaddrinfoResolver.swift
[232/232] Compiling NIOPosix HappyEyeballs.swift
[234/235] Emitting module NIO
[235/235] Compiling NIO Exports.swift
[237/238] Emitting module NIOCronScheduler
[238/238] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                                                                                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 |             try task()
35 |         }
Build complete! (71.25s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.