Build Information
Successful build of SwiftSMTP, reference 6.0.0 (4b7666
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 19:37:23 UTC.
Swift 6 data race errors: 1
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/Kitura/Swift-SMTP.git
Reference: 6.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Swift-SMTP
* tag 6.0.0 -> FETCH_HEAD
HEAD is now at 4b7666b Misc dependency update (#125)
Cloned https://github.com/Kitura/Swift-SMTP.git
Revision (git rev-parse @):
4b7666bb8cee33f0cb367786af17b9a2ebb63047
SUCCESS checkout https://github.com/Kitura/Swift-SMTP.git at 6.0.0
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/BlueSocket.git
[1/2077] Fetching bluesslservice
[521/2848] Fetching bluesslservice, loggerapi
[772/4502] Fetching bluesslservice, loggerapi, bluecryptor
[1670/7444] Fetching bluesslservice, loggerapi, bluecryptor, bluesocket
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.03s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.03s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (1.03s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (1.03s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.63s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.78s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (1.36s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.55s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
========================================
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": "swift-smtp",
"name": "SwiftSMTP",
"url": "https://github.com/Kitura/Swift-SMTP.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-SMTP",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
},
{
"identity": "bluesslservice",
"name": "SSLService",
"url": "https://github.com/Kitura/BlueSSLService.git",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSSLService",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
}
]
},
{
"identity": "bluecryptor",
"name": "Cryptor",
"url": "https://github.com/Kitura/BlueCryptor.git",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueCryptor",
"dependencies": [
]
},
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "1.9.200",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Swift-SMTP.git
[1/2602] Fetching swift-smtp
Fetched https://github.com/Kitura/Swift-SMTP.git from cache (1.02s)
Fetching https://github.com/Kitura/BlueSocket.git from cache
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/Kitura/BlueSSLService.git from cache
Fetching https://github.com/Kitura/BlueCryptor.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.44s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.44s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.55s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.55s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.62s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.57s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.03s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.03s)
Creating working copy for https://github.com/Kitura/Swift-SMTP.git
Working copy of https://github.com/Kitura/Swift-SMTP.git resolved at 6.0.0 (4b7666b)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
warning: '.resolve-product-dependencies': dependency 'swift-smtp' is not used by any target
Found 4 product dependencies
- Socket
- SSLService
- Cryptor
- LoggerAPI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kitura/Swift-SMTP.git
https://github.com/Kitura/Swift-SMTP.git
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSocket.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService.git"
},
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueCryptor.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.200",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "SwiftSMTP",
"name" : "SwiftSMTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftSMTP",
"targets" : [
"SwiftSMTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSMTPTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPTests",
"path" : "Tests/SwiftSMTPTests",
"sources" : [
"Constant.swift",
"TestAttachment.swift",
"TestAuthEncoder.swift",
"TestDataSender.swift",
"TestMailSender.swift",
"TestMiscellaneous.swift",
"TestSMTPSocket.swift",
"TestTLSMode.swift"
],
"target_dependencies" : [
"SwiftSMTP"
],
"type" : "test"
},
{
"c99name" : "SwiftSMTP",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTP",
"path" : "Sources/SwiftSMTP",
"product_dependencies" : [
"Socket",
"SSLService",
"Cryptor",
"LoggerAPI"
],
"product_memberships" : [
"SwiftSMTP"
],
"sources" : [
"Attachment.swift",
"AuthEncoder.swift",
"AuthMethod.swift",
"Command.swift",
"Common.swift",
"DataSender.swift",
"Mail.swift",
"MailSender.swift",
"Response.swift",
"SMTP.swift",
"SMTPError.swift",
"SMTPSocket.swift",
"TLSConfiguration.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/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/29] Compiling Logging LogHandler.swift
[9/29] Compiling Logging Locks.swift
[10/29] Emitting module Logging
[11/29] Compiling Logging MetadataProvider.swift
[12/29] Compiling Logging Logging.swift
[13/31] Compiling Socket SocketUtils.swift
[14/31] Emitting module LoggerAPI
[15/31] Compiling LoggerAPI Logger.swift
[16/31] Compiling Cryptor Digest.swift
[17/31] Emitting module Cryptor
[18/31] Compiling Cryptor Crypto.swift
[19/31] Compiling Cryptor Cryptor.swift
[20/32] Compiling Cryptor SSLPointerTricks.swift
[21/32] Compiling Cryptor HMAC.swift
[22/32] Compiling Cryptor Random.swift
[23/32] Compiling Cryptor KeyDerivation.swift
[24/32] Compiling Cryptor StreamCryptor.swift
[25/32] Compiling Cryptor Status.swift
[26/32] Compiling Cryptor Updatable.swift
[27/32] Compiling Cryptor Utilities.swift
[28/32] Compiling Socket SocketProtocols.swift
[29/32] Compiling Socket Socket+Hashable.swift
[30/32] Compiling Socket Socket+Equatable.swift
[31/32] Emitting module Socket
[32/32] Compiling Socket Socket.swift
[33/35] Compiling SSLService SSLPointerTricks.swift
[34/35] Emitting module SSLService
[35/35] Compiling SSLService SSLService.swift
[36/48] Compiling SwiftSMTP SMTPError.swift
[37/48] Compiling SwiftSMTP SMTP.swift
[38/48] Compiling SwiftSMTP Response.swift
[39/48] Compiling SwiftSMTP MailSender.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSMTP/MailSender.swift:52:13: warning: capture of 'self' with non-sendable type 'MailSender' in a '@Sendable' closure
28 | public typealias Completion = (([Mail], [(Mail, Error)]) -> Void)?
29 |
30 | class MailSender {
| `- note: class 'MailSender' does not conform to the 'Sendable' protocol
31 | private var socket: SMTPSocket
32 | private var mailsToSend: [Mail]
:
50 | func send() {
51 | DispatchQueue.global().async {
52 | self.sendNext()
| `- warning: capture of 'self' with non-sendable type 'MailSender' in a '@Sendable' closure
53 | }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSMTP/MailSender.swift:80:13: warning: capture of 'self' with non-sendable type 'MailSender' in a '@Sendable' closure
28 | public typealias Completion = (([Mail], [(Mail, Error)]) -> Void)?
29 |
30 | class MailSender {
| `- note: class 'MailSender' does not conform to the 'Sendable' protocol
31 | private var socket: SMTPSocket
32 | private var mailsToSend: [Mail]
:
78 | }
79 | DispatchQueue.global().async {
80 | self.sendNext()
| `- warning: capture of 'self' with non-sendable type 'MailSender' in a '@Sendable' closure
81 | }
82 | }
[40/48] Compiling SwiftSMTP Mail.swift
[41/48] Compiling SwiftSMTP Common.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSMTP/Common.swift:24:5: warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let cache = NSCache<AnyObject, AnyObject>()
| |- warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let CRLF = "\r\n"
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
[42/48] Compiling SwiftSMTP DataSender.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSMTP/Common.swift:24:5: warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let cache = NSCache<AnyObject, AnyObject>()
| |- warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let CRLF = "\r\n"
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
[43/48] Compiling SwiftSMTP SMTPSocket.swift
[44/48] Compiling SwiftSMTP AuthMethod.swift
[45/48] Compiling SwiftSMTP Command.swift
[46/49] Emitting module SwiftSMTP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSMTP/Common.swift:24:5: warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let cache = NSCache<AnyObject, AnyObject>()
| |- warning: let 'cache' is not concurrency-safe because non-'Sendable' type 'NSCache<AnyObject, AnyObject>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | let CRLF = "\r\n"
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h:13:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
11 |
12 | API_AVAILABLE(macos(10.6), ios(4.0), watchos(2.0), tvos(9.0))
13 | @interface NSCache <KeyType, ObjectType> : NSObject
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
14 |
15 | @property (copy) NSString *name;
[47/49] Compiling SwiftSMTP Attachment.swift
[48/49] Compiling SwiftSMTP AuthEncoder.swift
[49/49] Compiling SwiftSMTP TLSConfiguration.swift
Build complete! (8.03s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSocket.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService.git"
},
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueCryptor.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.200",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "SwiftSMTP",
"name" : "SwiftSMTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftSMTP",
"targets" : [
"SwiftSMTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSMTPTests",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTPTests",
"path" : "Tests/SwiftSMTPTests",
"sources" : [
"Constant.swift",
"TestAttachment.swift",
"TestAuthEncoder.swift",
"TestDataSender.swift",
"TestMailSender.swift",
"TestMiscellaneous.swift",
"TestSMTPSocket.swift",
"TestTLSMode.swift"
],
"target_dependencies" : [
"SwiftSMTP"
],
"type" : "test"
},
{
"c99name" : "SwiftSMTP",
"module_type" : "SwiftTarget",
"name" : "SwiftSMTP",
"path" : "Sources/SwiftSMTP",
"product_dependencies" : [
"Socket",
"SSLService",
"Cryptor",
"LoggerAPI"
],
"product_memberships" : [
"SwiftSMTP"
],
"sources" : [
"Attachment.swift",
"AuthEncoder.swift",
"AuthMethod.swift",
"Command.swift",
"Common.swift",
"DataSender.swift",
"Mail.swift",
"MailSender.swift",
"Response.swift",
"SMTP.swift",
"SMTPError.swift",
"SMTPSocket.swift",
"TLSConfiguration.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.