Build Information
Successful build of service-kit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/service.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/service
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8698263 nio 2 convergence
Cloned https://github.com/vapor/service.git
Revision (git rev-parse @):
8698263f1b1585ea9531ddfebb2b7a8a3e73d542
SUCCESS checkout https://github.com/vapor/service.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/vapor/service.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/21] Write sources
[10/21] Copying PrivacyInfo.xcprivacy
[11/21] Write sources
[12/21] Compiling CNIOWindows WSAStartup.c
[13/21] Compiling CNIOWindows shim.c
[14/21] Compiling CNIOLinux shim.c
[15/21] Compiling CNIOLinux liburing_shims.c
[16/21] Write swift-version-6F35C1178C84523A.txt
[17/45] Compiling _AtomicsShims.c
[18/45] Compiling CNIODarwin shim.c
[19/64] Compiling c-nioatomics.c
[20/64] Compiling c-atomics.c
[22/70] Compiling _NIOBase64 Base64.swift
[23/70] Emitting module _NIOBase64
[24/70] Emitting module _CollectionsUtilities
[25/70] Compiling Atomics OptionalRawRepresentable.swift
[26/70] Compiling Atomics RawRepresentable.swift
[27/71] Compiling Atomics ManagedAtomic.swift
[28/71] Compiling Atomics ManagedAtomicLazyReference.swift
[29/71] Compiling Atomics AtomicStorage.swift
[30/71] Compiling Atomics AtomicValue.swift
[31/71] Compiling Atomics AtomicOptionalWrappable.swift
[32/71] Compiling Atomics AtomicReference.swift
[33/71] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[34/71] Compiling Atomics PointerConformances.swift
[35/71] Compiling Atomics Primitives.native.swift
[36/71] Compiling Atomics AtomicBool.swift
[37/71] Compiling Atomics IntegerConformances.swift
[38/71] Compiling Atomics AtomicMemoryOrderings.swift
[39/71] Compiling Atomics DoubleWord.swift
[40/71] Compiling Atomics Primitives.shims.swift
[41/71] Compiling Atomics AtomicInteger.swift
[42/71] Compiling Atomics UnsafeAtomic.swift
[43/71] Compiling Atomics UnsafeAtomicLazyReference.swift
[44/73] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/90] Compiling DequeModule Deque+CustomReflectable.swift
[46/90] Compiling DequeModule Deque+Descriptions.swift
[47/90] Compiling DequeModule _DequeSlot.swift
[48/90] Compiling DequeModule _DequeBufferHeader.swift
[49/91] Compiling Atomics IntegerOperations.swift
[50/91] Compiling Atomics Unmanaged extensions.swift
[51/91] Compiling _NIODataStructures Heap.swift
[52/91] Compiling _NIODataStructures _TinyArray.swift
[53/91] Emitting module _NIODataStructures
[54/91] Compiling _NIODataStructures PriorityQueue.swift
[55/91] Compiling DequeModule Deque+Codable.swift
[56/91] Compiling DequeModule Deque+Collection.swift
[57/91] Compiling DequeModule Deque.swift
[58/91] Compiling DequeModule _DequeBuffer.swift
[59/91] Compiling DequeModule Deque._Storage.swift
[60/91] Compiling DequeModule Deque._UnsafeHandle.swift
[63/91] Compiling DequeModule Deque+Equatable.swift
[64/91] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[65/91] Compiling DequeModule _UnsafeWrappedBuffer.swift
[68/91] Compiling DequeModule Deque+Sendable.swift
[69/91] Compiling DequeModule Deque+Testing.swift
[72/91] Compiling NIOConcurrencyHelpers lock.swift
[73/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[74/91] Emitting module Atomics
[75/91] Compiling DequeModule Deque+Extras.swift
[76/91] Compiling DequeModule Deque+Hashable.swift
[79/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[80/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[81/91] Emitting module NIOConcurrencyHelpers
[82/91] Compiling NIOConcurrencyHelpers atomics.swift
[89/91] Emitting module DequeModule
[92/151] Compiling NIOCore Interfaces.swift
[93/151] Compiling NIOCore Linux.swift
[94/151] Compiling NIOCore MarkedCircularBuffer.swift
[95/151] Compiling NIOCore MulticastChannel.swift
[96/151] Compiling NIOCore NIOAny.swift
[97/151] Compiling NIOCore NIOCloseOnErrorHandler.swift
[98/157] Compiling NIOCore AddressedEnvelope.swift
[99/157] Compiling NIOCore AsyncAwaitSupport.swift
[100/157] Compiling NIOCore AsyncChannel.swift
[101/157] Compiling NIOCore AsyncChannelInboundStream.swift
[102/157] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[103/157] Compiling NIOCore AsyncChannelOutboundWriter.swift
[104/157] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[105/157] Compiling NIOCore SocketOptionProvider.swift
[106/157] Compiling NIOCore SystemCallHelpers.swift
[107/157] Compiling NIOCore TimeAmount+Duration.swift
[108/157] Compiling NIOCore TypeAssistedChannelHandler.swift
[109/157] Compiling NIOCore UniversalBootstrapSupport.swift
[110/157] Compiling NIOCore Utilities.swift
[111/157] Compiling NIOCore EventLoopFuture+Deprecated.swift
[112/157] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[113/157] Compiling NIOCore EventLoopFuture.swift
[114/157] Compiling NIOCore FileDescriptor.swift
[115/157] Compiling NIOCore FileHandle.swift
[116/157] Compiling NIOCore FileRegion.swift
[117/157] Compiling NIOCore NIOAsyncSequenceProducer.swift
[118/157] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[119/157] Compiling NIOCore NIOAsyncWriter.swift
[120/157] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[121/157] Compiling NIOCore BSDSocketAPI.swift
[122/157] Compiling NIOCore ByteBuffer-aux.swift
[123/157] Compiling NIOCore ByteBuffer-conversions.swift
[124/157] Compiling NIOCore ChannelHandler.swift
[125/157] Compiling NIOCore ChannelHandlers.swift
[126/157] Compiling NIOCore ChannelInvoker.swift
[127/157] Compiling NIOCore ChannelOption.swift
[128/157] Compiling NIOCore ChannelPipeline.swift
[129/157] Compiling NIOCore CircularBuffer.swift
[130/157] Compiling NIOCore Codec.swift
[131/157] Compiling NIOCore GlobalSingletons.swift
[132/157] Compiling NIOCore IO.swift
[133/157] Compiling NIOCore IOData.swift
[134/157] Compiling NIOCore IPProtocol.swift
[135/157] Compiling NIOCore IntegerBitPacking.swift
[136/157] Compiling NIOCore IntegerTypes.swift
[137/157] Compiling NIOCore NIOLoopBound.swift
[138/157] Compiling NIOCore NIOSendable.swift
[139/157] Compiling NIOCore PointerHelpers.swift
[140/157] Compiling NIOCore RecvByteBufferAllocator.swift
[141/157] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[142/157] Compiling NIOCore SocketAddresses.swift
[143/157] Compiling NIOCore ConvenienceOptionSupport.swift
[144/157] Compiling NIOCore DeadChannel.swift
[145/157] Compiling NIOCore DispatchQueue+WithFuture.swift
[146/157] Compiling NIOCore EventLoop+Deprecated.swift
[147/157] Compiling NIOCore EventLoop+SerialExecutor.swift
[148/157] Compiling NIOCore EventLoop.swift
[149/157] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[150/157] Compiling NIOCore ByteBuffer-core.swift
[151/157] Compiling NIOCore ByteBuffer-hexdump.swift
[152/157] Compiling NIOCore ByteBuffer-int.swift
[153/157] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[154/157] Compiling NIOCore ByteBuffer-multi-int.swift
[155/157] Compiling NIOCore ByteBuffer-views.swift
[156/157] Compiling NIOCore Channel.swift
[157/157] Emitting module NIOCore
[158/210] Compiling NIOEmbedded Embedded.swift
[159/210] Emitting module NIOEmbedded
[160/210] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[161/210] Compiling NIOEmbedded AsyncTestingChannel.swift
[162/210] Compiling NIOPosix HappyEyeballs.swift
[163/210] Compiling NIOPosix IO.swift
[164/210] Compiling NIOPosix IntegerBitPacking.swift
[165/210] Compiling NIOPosix IntegerTypes.swift
[166/210] Compiling NIOPosix Linux.swift
[167/210] Compiling NIOPosix LinuxCPUSet.swift
[168/215] Compiling NIOPosix PooledRecvBufferAllocator.swift
[169/215] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[170/215] Compiling NIOPosix PosixSingletons.swift
[171/215] Compiling NIOPosix RawSocketBootstrap.swift
[172/215] Compiling NIOPosix Resolver.swift
[173/215] Compiling NIOPosix PendingWritesManager.swift
[174/215] Compiling NIOPosix PipeChannel.swift
[175/215] Compiling NIOPosix PipePair.swift
[176/215] Compiling NIOPosix PointerHelpers.swift
[177/215] Compiling NIOPosix Pool.swift
[178/215] Compiling NIOPosix SocketProtocols.swift
[179/215] Compiling NIOPosix System.swift
[180/215] Compiling NIOPosix Thread.swift
[181/215] Compiling NIOPosix ThreadPosix.swift
[182/215] Compiling NIOPosix ThreadWindows.swift
[183/215] Compiling NIOPosix BSDSocketAPICommon.swift
[184/215] Compiling NIOPosix BSDSocketAPIPosix.swift
[185/215] Compiling NIOPosix BSDSocketAPIWindows.swift
[186/215] Compiling NIOPosix BaseSocket.swift
[187/215] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[188/215] Compiling NIOPosix BaseSocketChannel.swift
[189/215] Emitting module NIOPosix
[190/215] Compiling NIOPosix SelectorKqueue.swift
[191/215] Compiling NIOPosix SelectorUring.swift
[192/215] Compiling NIOPosix ServerSocket.swift
[193/215] Compiling NIOPosix Socket.swift
[194/215] Compiling NIOPosix SocketChannel.swift
[195/215] Compiling NIOPosix BaseStreamSocketChannel.swift
[196/215] Compiling NIOPosix Bootstrap.swift
[197/215] Compiling NIOPosix ControlMessage.swift
[198/215] Compiling NIOPosix DatagramVectorReadManager.swift
[199/215] Compiling NIOPosix FileDescriptor.swift
[200/215] Compiling NIOPosix GetaddrinfoResolver.swift
[201/215] Compiling NIOPosix Selectable.swift
[202/215] Compiling NIOPosix SelectableChannel.swift
[203/215] Compiling NIOPosix SelectableEventLoop.swift
[204/215] Compiling NIOPosix SelectorEpoll.swift
[205/215] Compiling NIOPosix SelectorGeneric.swift
[206/215] Compiling NIOPosix LinuxUring.swift
[207/215] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[208/215] Compiling NIOPosix NIOThreadPool.swift
[209/215] Compiling NIOPosix NonBlockingFileIO.swift
[210/215] Compiling NIOPosix PendingDatagramWritesManager.swift
[211/215] Compiling NIOPosix UnsafeTransfer.swift
[212/215] Compiling NIOPosix Utilities.swift
[213/215] Compiling NIOPosix VsockAddress.swift
[214/215] Compiling NIOPosix VsockChannelEvents.swift
[215/215] Compiling NIOPosix resource_bundle_accessor.swift
[216/217] Compiling NIO Exports.swift
[217/217] Emitting module NIO
[218/229] Compiling ServiceKit Deprecated.swift
[219/230] Compiling ServiceKit Services.swift
[220/230] Compiling ServiceKit ServiceFactory.swift
[221/230] Compiling ServiceKit ServiceID.swift
[222/230] Compiling ServiceKit ServiceExtension.swift
[223/230] Compiling ServiceKit Extendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Utilities/Extendable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | /// }
10 | ///
11 | public protocol Extendable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | /// Arbitrary property storage. See `Extend` and `Extendable`.
13 | var extend: Extend { get set }
[224/230] Compiling ServiceKit ServiceError.swift
[225/230] Compiling ServiceKit Proccess.swift
[226/230] Compiling ServiceKit Provider.swift
[227/230] Emitting module ServiceKit
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Utilities/Extendable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | /// }
10 | ///
11 | public protocol Extendable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | /// Arbitrary property storage. See `Extend` and `Extendable`.
13 | var extend: Extend { get set }
[228/230] Compiling ServiceKit ServiceCache.swift
[229/230] Compiling ServiceKit Container.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:8:24: warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
7 | return container.willBoot()
8 | .flatMap { container.didBoot() }
| `- warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | .map { container }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:9:20: warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
7 | return container.willBoot()
8 | .flatMap { container.didBoot() }
9 | .map { container }
| `- warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:101:13: warning: capture of 'self' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
:
99 | on: self.eventLoop
100 | ).map {
101 | self.cache.clear()
| `- warning: capture of 'self' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | self.didShutdown = true
103 | }
[230/230] Compiling ServiceKit Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:8:24: warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
7 | return container.willBoot()
8 | .flatMap { container.didBoot() }
| `- warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | .map { container }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:9:20: warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
7 | return container.willBoot()
8 | .flatMap { container.didBoot() }
9 | .map { container }
| `- warning: capture of 'container' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ServiceKit/Container/Container.swift:101:13: warning: capture of 'self' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | @_exported import class NIO.EventLoopFuture
3 |
4 | public final class Container {
| `- note: class 'Container' does not conform to the 'Sendable' protocol
5 | public static func boot(env: Environment = .development, services: Services, on eventLoop: EventLoop) -> EventLoopFuture<Container> {
6 | let container = Container(env: env, services: services, on: eventLoop)
:
99 | on: self.eventLoop
100 | ).map {
101 | self.cache.clear()
| `- warning: capture of 'self' with non-sendable type 'Container' in a `@Sendable` closure; this is an error in the Swift 6 language mode
102 | self.didShutdown = true
103 | }
Build complete! (63.70s)
Fetching https://github.com/apple/swift-nio.git
[1/65607] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.84s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.65s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1563] Fetching swift-atomics
[48/5081] Fetching swift-atomics, swift-system
[4036/19110] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (12.86s)
Fetched https://github.com/apple/swift-system.git from cache (12.86s)
Fetched https://github.com/apple/swift-collections.git from cache (12.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.83s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.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.65.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.3.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0-convergence",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "service-kit",
"name" : "service-kit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ServiceKit",
"targets" : [
"ServiceKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ServiceKitTests",
"module_type" : "SwiftTarget",
"name" : "ServiceKitTests",
"path" : "Tests/ServiceKitTests",
"sources" : [
"ServiceKitTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"ServiceKit"
],
"type" : "test"
},
{
"c99name" : "ServiceKit",
"module_type" : "SwiftTarget",
"name" : "ServiceKit",
"path" : "Sources/ServiceKit",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"ServiceKit"
],
"sources" : [
"Container/Container.swift",
"Environment/Environment.swift",
"Environment/Proccess.swift",
"Provider/Provider.swift",
"Services/ServiceCache.swift",
"Services/ServiceExtension.swift",
"Services/ServiceFactory.swift",
"Services/ServiceID.swift",
"Services/Services.swift",
"Utilities/Deprecated.swift",
"Utilities/Extendable.swift",
"Utilities/ServiceError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.