The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SMTPKitten, reference 0.2.3 (6ac846), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 06:35:19 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Joannis/SMTPKitten.git
Reference: 0.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Joannis/SMTPKitten
 * tag               0.2.3      -> FETCH_HEAD
HEAD is now at 6ac8463 Merge pull request #10 from tierracero/master
Cloned https://github.com/Joannis/SMTPKitten.git
Revision (git rev-parse @):
6ac846333a0c98230c9201b83e907d9575460aae
SUCCESS checkout https://github.com/Joannis/SMTPKitten.git at 0.2.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Joannis/SMTPKitten.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 928]
[Planning deferred tasks]
[Starting]
[8 / 750]
[176 / 750] swift-nio_NIOPosix
[178 / 750]
[195 / 755] CNIOWindows
[205 / 774] CNIOBoringSSL
[208 / 789] CNIOBoringSSL
[211 / 812] InternalCollectionsUtilities
[214 / 838]
[218 / 838] _NIOBase64
[227 / 838]
[244 / 838] CNIOBoringSSL
[252 / 838] CNIOBoringSSL
[256 / 838]
[258 / 838]
[266 / 838] CNIOBoringSSL
[270 / 838]
[272 / 838] CNIOBoringSSL
[278 / 838] CNIOBoringSSL
[281 / 838] NIOConcurrencyHelpers
[305 / 838] CNIOBoringSSL
[312 / 838] CNIOBoringSSL
[315 / 838] NIOConcurrencyHelpers
[322 / 838] CNIOBoringSSL
[328 / 838] CNIOBoringSSL
[330 / 838] CNIOBoringSSL
[333 / 838] CNIOBoringSSL
[338 / 838] CNIOBoringSSL
[340 / 838] CNIOBoringSSL
[345 / 838] CNIOBoringSSL
[348 / 838] CNIOBoringSSL
[350 / 838] CNIOBoringSSL
[354 / 838] CNIOBoringSSL
[355 / 838] CNIOBoringSSL
[363 / 838] CNIOBoringSSL
[364 / 838] CNIOBoringSSL
[365 / 838] CNIOBoringSSL
[367 / 838] CNIOBoringSSL
[370 / 838] CNIOBoringSSL
[373 / 838] CNIOBoringSSL
[375 / 838] CNIOBoringSSL
[379 / 838] CNIOBoringSSL
[383 / 838] CNIOBoringSSL
[386 / 838] CNIOBoringSSL
[397 / 838] CNIOBoringSSL
[411 / 838] CNIOBoringSSL
[420 / 838] CNIOBoringSSL
[422 / 838] CNIOBoringSSL
[428 / 838] CNIOBoringSSL
[432 / 838] CNIOBoringSSL
[439 / 838] CNIOBoringSSL
[441 / 838] CNIOBoringSSL
[444 / 838] CNIOBoringSSL
[445 / 838] CNIOBoringSSL
[449 / 838] CNIOBoringSSL
[451 / 838] CNIOBoringSSL
[455 / 838] CNIOBoringSSL
[458 / 838] CNIOBoringSSL
[463 / 838] CNIOBoringSSL
[465 / 838] CNIOBoringSSL
[473 / 838] CNIOBoringSSL
[485 / 838] CNIOBoringSSL
[489 / 838] CNIOBoringSSL
[495 / 838] CNIOBoringSSL
[499 / 838] CNIOBoringSSL
[504 / 838] CNIOBoringSSL
[514 / 838] CNIOBoringSSL
[523 / 838] CNIOBoringSSL
[526 / 838] CNIOBoringSSL
[534 / 838] CNIOBoringSSL
[536 / 838] CNIOBoringSSL
[542 / 838] CNIOBoringSSL
[544 / 838] CNIOBoringSSL
[546 / 838] CNIOBoringSSL
[551 / 838] CNIOBoringSSL
[554 / 838] CNIOBoringSSL
[558 / 838] CNIOBoringSSL
[560 / 838] CNIOBoringSSL
[562 / 838] CNIOBoringSSL
[567 / 838] CNIOBoringSSL
[569 / 838] CNIOBoringSSL
[574 / 838] CNIOBoringSSL
[578 / 838] CNIOBoringSSL
[587 / 838] CNIOBoringSSL
[598 / 838] CNIOBoringSSL
[606 / 838] CNIOBoringSSL
[610 / 838] CNIOBoringSSL
[615 / 838] CNIOBoringSSL
[618 / 838] CNIOBoringSSL
[622 / 838] CNIOBoringSSL
[631 / 838] CNIOBoringSSL
[643 / 838] CNIOBoringSSL
[650 / 838] CNIOBoringSSL
[651 / 838] CNIOBoringSSL
[658 / 838] CNIOBoringSSL
[659 / 838] CNIOBoringSSL
[664 / 838]
[678 / 838]
[683 / 838]
[687 / 838] NIOConcurrencyHelpers-product
[691 / 838]
[696 / 838] CNIOPosix
[702 / 838] InternalCollectionsUtilities
[714 / 838] NIOConcurrencyHelpers
[731 / 848] Atomics-product
[737 / 850]
[754 / 866] Atomics
[760 / 866]
[766 / 867] Atomics
[775 / 878]
[780 / 878] ContainersPreview
[788 / 879] ContainersPreview
[799 / 890] DequeModule
[804 / 890] DequeModule
[807 / 890]
[807 / 890] DequeModule
[816 / 891] NIOCore
[819 / 908]
[821 / 908]
[831 / 908] NIOCore
[833 / 908] NIOCore
[835 / 908] NIOCore
[845 / 910] NIOEmbedded
[849 / 914] NIOPosix
[866 / 943]
[867 / 943] NIOEmbedded
[872 / 943]
[874 / 943]
[875 / 943]
[886 / 943] NIOPosix
[893 / 944] NIOPosix
[895 / 946] NIO
[904 / 948] NIOTLS
[914 / 966] NIOHTTP1
[925 / 966] NIOTLS-product
[929 / 966] NIOSSL
[931 / 967] NIOHTTP1
[937 / 968] NIOHTTP1
[945 / 979] NIOExtras
[948 / 992]
[950 / 992] NIOExtras
[956 / 992]
[966 / 992] NIOSSL
[967 / 992] NIOSSL
[969 / 992] NIOPosix
[978 / 993] NIOPosix
[981 / 993] NIOHTTP1
[982 / 993] NIOSSL
[992 / 1031]
[998 / 1031]
[1003 / 1031]
[1005 / 1031]
[1008 / 1031]
[1011 / 1031]
[1013 / 1031]
[1014 / 1031]
[1022 / 1031] SMTPKitten
[1028 / 1031] SMTPKitten
[1031 / 1031] SMTPKitten-product
Build complete! (32.27 sec)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6690] Fetching swift-nio-extras
[2/22755] Fetching swift-nio-extras, swift-nio-ssl
[9611/108828] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git (2.30s)
[53938/102138] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (7.01s)
Fetched https://github.com/apple/swift-nio.git (7.01s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (9.43s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1253] Fetching swift-http-structured-headers
[14/3128] Fetching swift-http-structured-headers, swift-atomics
[33/11224] Fetching swift-http-structured-headers, swift-atomics, swift-log
[103/14067] Fetching swift-http-structured-headers, swift-atomics, swift-log, swift-service-lifecycle
[198/21640] Fetching swift-http-structured-headers, swift-atomics, swift-log, swift-service-lifecycle, swift-certificates
[4638/23623] Fetching swift-http-structured-headers, swift-atomics, swift-log, swift-service-lifecycle, swift-certificates, swift-asn1
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.21s)
[13713/20780] Fetching swift-http-structured-headers, swift-atomics, swift-log, swift-certificates, swift-asn1
Fetched https://github.com/apple/swift-atomics.git (1.22s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio-http2.git
[12649/25628] Fetching swift-http-structured-headers, swift-log, swift-certificates, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-certificates.git (1.51s)
[12139/18055] Fetching swift-http-structured-headers, swift-log, swift-asn1, swift-async-algorithms
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-async-algorithms.git (1.80s)
Fetched https://github.com/apple/swift-log.git (1.80s)
Fetched https://github.com/apple/swift-http-structured-headers.git (1.80s)
Fetched https://github.com/apple/swift-asn1.git (1.80s)
[1/1935] Fetching swift-http-types
[118/14187] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git (1.06s)
[492/18397] Fetching swift-nio-http2, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (1.29s)
[9435/12252] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.94s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.91s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.89s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.57s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.59s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.65s)
Fetching https://github.com/apple/swift-collections.git
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (3.83s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.57s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/6898] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (1.47s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.20.0 (2.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (5.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (5.70s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.72s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.59s)
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.20.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.8.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPClient.swift:229:60: warning: capture of 'context' with non-Sendable type 'SMTPClientContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 51 |
 52 |
 53 | internal final class SMTPClientContext {
    |                      `- note: class 'SMTPClientContext' does not conform to the 'Sendable' protocol
 54 |     private var queue = [OutstandingRequest]()
 55 |     private var isProcessing = false
    :
227 |         let channel = try await ClientBootstrap(group: eventLoop).channelInitializer { channel in
228 |             let lineBasedFrameDecoder = ByteToMessageHandler(LineBasedFrameDecoder())
229 |             let parser = SMTPClientInboundHandler(context: context)
    |                                                            `- warning: capture of 'context' with non-Sendable type 'SMTPClientContext' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
230 |             let serializer = MessageToByteHandler(SMTPClientOutboundHandler())
231 |             var handlers: [ChannelHandler] = [lineBasedFrameDecoder, parser, serializer, ErrorCloseHandler()]
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPClient.swift:233:20: warning: capture of 'ssl' with non-Sendable type 'SMTPSSLMode' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 23 |
 24 | /// The mode that the SMTP client should use for SSL. This can be either `startTLS`, `tls` or `insecure`.
 25 | public enum SMTPSSLMode {
    |             `- note: consider making enum 'SMTPSSLMode' conform to the 'Sendable' protocol
 26 |     /// The SMTP client should use the `STARTTLS` command to upgrade the connection to SSL.
 27 |     case startTLS(configuration: SMTPSSLConfiguration)
    :
231 |             var handlers: [ChannelHandler] = [lineBasedFrameDecoder, parser, serializer, ErrorCloseHandler()]
232 |
233 |             switch ssl {
    |                    `- warning: capture of 'ssl' with non-Sendable type 'SMTPSSLMode' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
234 |             case .insecure, .startTLS:
235 |                 break
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPClient.swift:284:33: warning: type 'SMTPClientMessage' does not conform to the 'Sendable' protocol
282 |     ) async throws -> SMTPServerMessage {
283 |         return try await context.sendMessage {
284 |             return self.channel.writeAndFlush(message)
    |                                 `- warning: type 'SMTPClientMessage' does not conform to the 'Sendable' protocol
285 |         }.get()
286 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPMessage.swift:6:13: note: consider making enum 'SMTPClientMessage' conform to the 'Sendable' protocol
 4 |
 5 | /// Any message that can be sent to the SMTP server.
 6 | public enum SMTPClientMessage {
   |             `- note: consider making enum 'SMTPClientMessage' conform to the 'Sendable' protocol
 7 |     case none
 8 |     case helo(hostname: String)
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPClient.swift:285:11: warning: type 'SMTPServerMessage' does not conform to the 'Sendable' protocol
283 |         return try await context.sendMessage {
284 |             return self.channel.writeAndFlush(message)
285 |         }.get()
    |           `- warning: type 'SMTPServerMessage' does not conform to the 'Sendable' protocol
286 |     }
287 |
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPMessage.swift:27:15: note: consider making struct 'SMTPServerMessage' conform to the 'Sendable' protocol
25 |
26 | /// Any message that can be received from the SMTP server.
27 | public struct SMTPServerMessage {
   |               `- note: consider making struct 'SMTPServerMessage' conform to the 'Sendable' protocol
28 |     var responseCode: SMTPResponseCode? {
29 |         SMTPResponseCode(rawValue: code)
/Users/admin/builder/spi-builder-workspace/Sources/SMTPKitten/SMTPClient.swift:316:52: warning: conformance of 'NIOSSLHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
314 |         let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: self.hostname)
315 |
316 |         try await self.channel.pipeline.addHandler(sslHandler, position: .first)
    |                                                    `- warning: conformance of 'NIOSSLHandler' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
317 |     }
318 |
NIOSSL.NIOSSLHandler:2:11: note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension NIOSSLHandler : Sendable {
  |           `- note: conformance of 'NIOSSLHandler' to 'Sendable' has been explicitly marked unavailable here
3 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    }
  ],
  "manifest_display_name" : "SMTPKitten",
  "name" : "SMTPKitten",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SMTPKitten",
      "targets" : [
        "SMTPKitten"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SMTPKittenTests",
      "module_type" : "SwiftTarget",
      "name" : "SMTPKittenTests",
      "path" : "Tests/SMTPKittenTests",
      "product_dependencies" : [
        "NIOFoundationCompat"
      ],
      "sources" : [
        "SMTPKittenTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SMTPKitten"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SMTPKitten",
      "module_type" : "SwiftTarget",
      "name" : "SMTPKitten",
      "path" : "Sources/SMTPKitten",
      "product_dependencies" : [
        "NIO",
        "NIOSSL",
        "NIOExtras"
      ],
      "product_memberships" : [
        "SMTPKitten"
      ],
      "sources" : [
        "Error.swift",
        "Helpers.swift",
        "Mail.swift",
        "MailBodyBuilder.swift",
        "SMTPClient.swift",
        "SMTPMessage.swift",
        "SMTPOutbound.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.