Build Information
Successful build of service-kit, reference master (869826
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 22:37:01 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/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
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (1.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.73s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Fetched https://github.com/apple/swift-collections.git from cache (0.75s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
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-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-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.2
========================================
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": "service",
"name": "service-kit",
"url": "https://github.com/vapor/service.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/service",
"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": [
]
}
]
}
]
}
]
}
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git from cache (0.73s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.78s)
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.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-collections.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.63s)
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-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-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.2
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at master (8698263)
warning: '.resolve-product-dependencies': dependency 'service' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor/service.git
https://github.com/vapor/service.git
{
"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"
}
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/22] Write sources
[2/22] Copying PrivacyInfo.xcprivacy
[2/22] Write sources
[11/22] Compiling CNIOWindows shim.c
[11/22] Compiling CNIOWindows WSAStartup.c
[13/22] Write sources
[14/22] Write swift-version-2F0A5646E1D333AE.txt
[15/22] Compiling CNIOWASI CNIOWASI.c
[16/22] Compiling CNIOLinux shim.c
[17/22] Compiling CNIOLinux liburing_shims.c
[18/46] Compiling _AtomicsShims.c
[20/65] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/66] Compiling Atomics ManagedAtomic.swift
[22/66] Compiling Atomics ManagedAtomicLazyReference.swift
[23/66] Compiling Atomics AtomicStorage.swift
[24/66] Compiling Atomics AtomicValue.swift
[25/66] Compiling Atomics AtomicMemoryOrderings.swift
[26/66] Compiling Atomics DoubleWord.swift
[27/66] Emitting module _NIOBase64
[28/66] Compiling _NIOBase64 Base64.swift
[28/66] Compiling CNIODarwin shim.c
[30/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/68] Compiling Atomics UnsafeAtomic.swift
[34/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/68] Compiling Atomics OptionalRawRepresentable.swift
[40/68] Compiling Atomics RawRepresentable.swift
[41/68] Compiling Atomics PointerConformances.swift
[42/68] Compiling Atomics Primitives.native.swift
[45/68] Compiling Atomics AtomicBool.swift
[46/68] Compiling Atomics IntegerConformances.swift
[47/68] Compiling Atomics Primitives.shims.swift
[48/68] Compiling Atomics AtomicInteger.swift
[49/68] Emitting module InternalCollectionsUtilities
[50/68] Compiling Atomics AtomicOptionalWrappable.swift
[51/68] Compiling Atomics AtomicReference.swift
[56/68] Compiling Atomics IntegerOperations.swift
[57/68] Compiling Atomics Unmanaged extensions.swift
[62/84] Compiling _NIODataStructures _TinyArray.swift
[63/84] Compiling DequeModule _DequeBufferHeader.swift
[64/84] Compiling DequeModule _DequeSlot.swift
[65/84] Compiling DequeModule _DequeBuffer.swift
[66/85] Emitting module Atomics
[67/85] Compiling DequeModule _UnsafeWrappedBuffer.swift
[68/85] Compiling DequeModule Deque+Extras.swift
[69/85] Compiling DequeModule Deque+Hashable.swift
[70/85] Compiling DequeModule Deque+Testing.swift
[71/85] Compiling DequeModule Deque._Storage.swift
[72/85] Compiling DequeModule Deque._UnsafeHandle.swift
[73/85] Compiling DequeModule Deque.swift
[74/85] Compiling DequeModule Deque+CustomReflectable.swift
[75/85] Compiling DequeModule Deque+Descriptions.swift
[76/85] Compiling DequeModule Deque+Equatable.swift
[77/85] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[78/85] Compiling DequeModule Deque+Codable.swift
[79/85] Compiling DequeModule Deque+Collection.swift
[80/85] Emitting module DequeModule
[81/85] Emitting module _NIODataStructures
[82/85] Compiling _NIODataStructures Heap.swift
[83/85] Compiling _NIODataStructures PriorityQueue.swift
[83/85] Compiling c-nioatomics.c
[84/85] Compiling c-atomics.c
[86/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[87/91] Compiling NIOConcurrencyHelpers lock.swift
[88/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[89/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[90/91] Compiling NIOConcurrencyHelpers atomics.swift
[91/91] Emitting module NIOConcurrencyHelpers
[92/152] Compiling NIOCore NIOLoopBound.swift
[93/152] Compiling NIOCore NIOScheduledCallback.swift
[94/152] Compiling NIOCore NIOSendable.swift
[95/152] Compiling NIOCore RecvByteBufferAllocator.swift
[96/152] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[97/152] Compiling NIOCore SocketAddresses.swift
[98/158] Compiling NIOCore GlobalSingletons.swift
[99/158] Compiling NIOCore IO.swift
[100/158] Compiling NIOCore IOData.swift
[101/158] Compiling NIOCore IPProtocol.swift
[102/158] Compiling NIOCore IntegerBitPacking.swift
[103/158] Compiling NIOCore IntegerTypes.swift
[104/158] Compiling NIOCore SocketOptionProvider.swift
[105/158] Compiling NIOCore SystemCallHelpers.swift
[106/158] Compiling NIOCore TimeAmount+Duration.swift
[107/158] Compiling NIOCore TypeAssistedChannelHandler.swift
[108/158] Compiling NIOCore UniversalBootstrapSupport.swift
[109/158] Compiling NIOCore Utilities.swift
[110/158] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[111/158] Compiling NIOCore EventLoopFuture+Deprecated.swift
[112/158] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[113/158] Compiling NIOCore EventLoopFuture.swift
[114/158] Compiling NIOCore FileDescriptor.swift
[115/158] Compiling NIOCore FileHandle.swift
[116/158] Compiling NIOCore FileRegion.swift
[117/158] Compiling NIOCore Interfaces.swift
[118/158] Compiling NIOCore Linux.swift
[119/158] Compiling NIOCore MarkedCircularBuffer.swift
[120/158] Compiling NIOCore MulticastChannel.swift
[121/158] Compiling NIOCore NIOAny.swift
[122/158] Compiling NIOCore NIOCloseOnErrorHandler.swift
[123/158] Compiling NIOCore AddressedEnvelope.swift
[124/158] Compiling NIOCore AsyncAwaitSupport.swift
[125/158] Compiling NIOCore AsyncChannel.swift
[126/158] Compiling NIOCore AsyncChannelHandler.swift
[127/158] Compiling NIOCore AsyncChannelInboundStream.swift
[128/158] Compiling NIOCore AsyncChannelOutboundWriter.swift
[129/158] Compiling NIOCore NIOAsyncSequenceProducer.swift
[130/158] Compiling NIOCore Codec.swift
[131/158] Compiling NIOCore ConvenienceOptionSupport.swift
[132/158] Compiling NIOCore DeadChannel.swift
[133/158] Compiling NIOCore DispatchQueue+WithFuture.swift
[134/158] Compiling NIOCore EventLoop+Deprecated.swift
[135/158] Compiling NIOCore EventLoop+SerialExecutor.swift
[136/158] Compiling NIOCore EventLoop.swift
[137/158] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[138/158] Compiling NIOCore NIOAsyncWriter.swift
[139/158] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[140/158] Compiling NIOCore BSDSocketAPI.swift
[141/158] Compiling NIOCore ByteBuffer-aux.swift
[142/158] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[143/158] Compiling NIOCore ByteBuffer-conversions.swift
[144/158] Compiling NIOCore Channel.swift
[145/158] Compiling NIOCore ChannelHandler.swift
[146/158] Compiling NIOCore ChannelHandlers.swift
[147/158] Compiling NIOCore ChannelInvoker.swift
[148/158] Compiling NIOCore ChannelOption.swift
[149/158] Compiling NIOCore ChannelPipeline.swift
[150/158] Compiling NIOCore CircularBuffer.swift
[151/158] Compiling NIOCore ByteBuffer-core.swift
[152/158] Compiling NIOCore ByteBuffer-hex.swift
[153/158] Compiling NIOCore ByteBuffer-int.swift
[154/158] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[155/158] Compiling NIOCore ByteBuffer-multi-int.swift
[156/158] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[157/158] Compiling NIOCore ByteBuffer-views.swift
[158/158] Emitting module NIOCore
[159/211] Compiling NIOEmbedded Embedded.swift
[160/211] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[161/211] Emitting module NIOEmbedded
[162/211] Compiling NIOEmbedded AsyncTestingChannel.swift
[163/211] Compiling NIOPosix BSDSocketAPICommon.swift
[164/211] Compiling NIOPosix BSDSocketAPIPosix.swift
[165/211] Compiling NIOPosix BSDSocketAPIWindows.swift
[166/211] Compiling NIOPosix BaseSocket.swift
[167/211] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[168/211] Compiling NIOPosix BaseSocketChannel.swift
[169/216] Compiling NIOPosix Selectable.swift
[170/216] Compiling NIOPosix SelectableChannel.swift
[171/216] Compiling NIOPosix SelectableEventLoop.swift
[172/216] Compiling NIOPosix SelectorEpoll.swift
[173/216] Compiling NIOPosix SelectorGeneric.swift
[174/216] Compiling NIOPosix SelectorKqueue.swift
[175/216] Compiling NIOPosix SelectorUring.swift
[176/216] Compiling NIOPosix ServerSocket.swift
[177/216] Compiling NIOPosix Socket.swift
[178/216] Compiling NIOPosix SocketChannel.swift
[179/216] Compiling NIOPosix PendingDatagramWritesManager.swift
[180/216] Compiling NIOPosix PendingWritesManager.swift
[181/216] Compiling NIOPosix PipeChannel.swift
[182/216] Compiling NIOPosix PipePair.swift
[183/216] Compiling NIOPosix Pool.swift
[184/216] Compiling NIOPosix PooledRecvBufferAllocator.swift
[185/216] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[186/216] Compiling NIOPosix PosixSingletons.swift
[187/216] Compiling NIOPosix RawSocketBootstrap.swift
[188/216] Compiling NIOPosix Resolver.swift
[189/216] Compiling NIOPosix GetaddrinfoResolver.swift
[190/216] Compiling NIOPosix HappyEyeballs.swift
[191/216] Compiling NIOPosix IO.swift
[192/216] Compiling NIOPosix IntegerBitPacking.swift
[193/216] Compiling NIOPosix IntegerTypes.swift
[194/216] Compiling NIOPosix Linux.swift
[195/216] Compiling NIOPosix LinuxCPUSet.swift
[196/216] Compiling NIOPosix LinuxUring.swift
[197/216] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[198/216] Compiling NIOPosix NIOThreadPool.swift
[199/216] Compiling NIOPosix NonBlockingFileIO.swift
[200/216] Emitting module NIOPosix
[201/216] Compiling NIOPosix SocketProtocols.swift
[202/216] Compiling NIOPosix System.swift
[203/216] Compiling NIOPosix Thread.swift
[204/216] Compiling NIOPosix ThreadPosix.swift
[205/216] Compiling NIOPosix ThreadWindows.swift
[206/216] Compiling NIOPosix BaseStreamSocketChannel.swift
[207/216] Compiling NIOPosix Bootstrap.swift
[208/216] Compiling NIOPosix ControlMessage.swift
[209/216] Compiling NIOPosix DatagramVectorReadManager.swift
[210/216] Compiling NIOPosix Errors+Any.swift
[211/216] Compiling NIOPosix FileDescriptor.swift
[212/216] Compiling NIOPosix UnsafeTransfer.swift
[213/216] Compiling NIOPosix Utilities.swift
[214/216] Compiling NIOPosix VsockAddress.swift
[215/216] Compiling NIOPosix VsockChannelEvents.swift
[216/216] Compiling NIOPosix resource_bundle_accessor.swift
[217/218] Emitting module NIO
[218/218] Compiling NIO Exports.swift
[219/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 }
[220/230] Compiling ServiceKit ServiceID.swift
[221/230] Compiling ServiceKit Deprecated.swift
[222/231] Compiling ServiceKit ServiceFactory.swift
[223/231] Compiling ServiceKit ServiceExtension.swift
[224/231] 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
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
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
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
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
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
102 | self.didShutdown = true
103 | }
[225/231] 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
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
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
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
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
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
102 | self.didShutdown = true
103 | }
[226/231] Compiling ServiceKit ServiceCache.swift
[227/231] 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/231] Compiling ServiceKit Proccess.swift
[229/231] Compiling ServiceKit Provider.swift
[230/231] Compiling ServiceKit Services.swift
[231/231] Compiling ServiceKit ServiceError.swift
Build complete! (12.52s)
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.