The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FlyingFox, reference 1.0.0 (30a96b), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 08:53:45 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/FlyingFox.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmergeTools/FlyingFox
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 30a96b4 Add watchos
Cloned https://github.com/EmergeTools/FlyingFox.git
Revision (git rev-parse @):
30a96b49f55762750899a4b8ea68301e32b9c112
SUCCESS checkout https://github.com/EmergeTools/FlyingFox.git at 1.0.0
========================================
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": "flyingfox",
      "name": "FlyingFox",
      "url": "https://github.com/EmergeTools/FlyingFox.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FlyingFox",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/EmergeTools/FlyingFox.git
[1/3630] Fetching flyingfox
Fetched https://github.com/EmergeTools/FlyingFox.git from cache (1.12s)
Creating working copy for https://github.com/EmergeTools/FlyingFox.git
Working copy of https://github.com/EmergeTools/FlyingFox.git resolved at 1.0.0 (30a96b4)
warning: '.resolve-product-dependencies': dependency 'flyingfox' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/EmergeTools/FlyingFox.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlyingFox",
  "name" : "FlyingFox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "FlyingFox",
      "targets" : [
        "FlyingFox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FlyingSocks",
      "targets" : [
        "FlyingSocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FlyingSocksTests",
      "module_type" : "SwiftTarget",
      "name" : "FlyingSocksTests",
      "path" : "FlyingSocks/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/FlyingSocks/Tests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AllocatedLockTests.swift",
        "AsyncDataSequenceTests.swift",
        "AsyncSocketTests.swift",
        "IdentifiableContinuationTests.swift",
        "Logging+OSLogTests.swift",
        "Logging+PrintTests.swift",
        "Socket+Pair.swift",
        "SocketAddress+Glibc.swift",
        "SocketAddressTests.swift",
        "SocketErrorTests.swift",
        "SocketPool+PollTests.swift",
        "SocketPool+kQueueTests.swift",
        "SocketPoolTests.swift",
        "SocketTests.swift",
        "Task+TimeoutTests.swift",
        "XCTest+Extension.swift"
      ],
      "target_dependencies" : [
        "FlyingSocks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlyingSocks",
      "module_type" : "SwiftTarget",
      "name" : "FlyingSocks",
      "path" : "FlyingSocks/Sources",
      "product_memberships" : [
        "FlyingFox",
        "FlyingSocks"
      ],
      "sources" : [
        "AllocatedLock.swift",
        "AsyncChunkedSequence.swift",
        "AsyncDataSequence.swift",
        "AsyncSocket.swift",
        "IdentifiableContinuation.swift",
        "Logging+OSLog.swift",
        "Logging.swift",
        "Socket+Darwin.swift",
        "Socket+Glibc.swift",
        "Socket+WinSock2.swift",
        "Socket.swift",
        "SocketAddress.swift",
        "SocketError.swift",
        "SocketPool+Poll.swift",
        "SocketPool+ePoll.swift",
        "SocketPool+kQueue.swift",
        "SocketPool.swift",
        "SwiftSupport.swift",
        "Task+Timeout.swift"
      ],
      "target_dependencies" : [
        "CSystemLinux"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlyingFoxTests",
      "module_type" : "SwiftTarget",
      "name" : "FlyingFoxTests",
      "path" : "FlyingFox/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/FlyingFox/Tests/Stubs",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AsyncSequence+ExtensionsTests.swift",
        "AsyncSocketTests.swift",
        "ConsumingAsyncSequence.swift",
        "HTTPBodyPatternTests.swift",
        "HTTPBodySequenceTests.swift",
        "HTTPClientTests.swift",
        "HTTPConnectionTests.swift",
        "HTTPDecoderTests.swift",
        "HTTPEncoderTests.swift",
        "HTTPLoggingTests.swift",
        "HTTPRequest+Mock.swift",
        "HTTPRequest+QueryItemTests.swift",
        "HTTPRequestTests.swift",
        "HTTPResponse+Mock.swift",
        "HTTPResponseTests.swift",
        "HTTPRouteTests.swift",
        "HTTPServerTests.swift",
        "HTTPStatusCodeTests.swift",
        "Handlers/DirectoryHTTPHandlerTests.swift",
        "Handlers/HTTPHandlerTests.swift",
        "Handlers/RoutedHTTPHandlerTests.swift",
        "Handlers/WebSocketHTTPHandlerTests.swift",
        "Socket+Pair.swift",
        "SocketAddress+Glibc.swift",
        "URLSession+AsyncTests.swift",
        "WebSocket/AsyncStream+WSFrameTests.swift",
        "WebSocket/WSFrameEncoderTests.swift",
        "WebSocket/WSFrameTests.swift",
        "WebSocket/WSFrameValidatorTests.swift",
        "WebSocket/WSHandlerTests.swift",
        "XCTest+Extension.swift"
      ],
      "target_dependencies" : [
        "FlyingFox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlyingFox",
      "module_type" : "SwiftTarget",
      "name" : "FlyingFox",
      "path" : "FlyingFox/Sources",
      "product_memberships" : [
        "FlyingFox"
      ],
      "sources" : [
        "AsyncSequence+Extensions.swift",
        "HTTPBodyPattern.swift",
        "HTTPBodySequence.swift",
        "HTTPClient.swift",
        "HTTPConnection.swift",
        "HTTPDecoder.swift",
        "HTTPEncoder.swift",
        "HTTPHandler.swift",
        "HTTPHeader.swift",
        "HTTPLogging+OSLog.swift",
        "HTTPLogging.swift",
        "HTTPMethod.swift",
        "HTTPRequest+QueryItem.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "HTTPRoute.swift",
        "HTTPServer+Listening.swift",
        "HTTPServer.swift",
        "HTTPStatusCode.swift",
        "HTTPVersion.swift",
        "Handlers/ClosureHTTPHandler.swift",
        "Handlers/DirectoryHTTPHandler.swift",
        "Handlers/FileHTTPHandler.swift",
        "Handlers/ProxyHTTPHandler.swift",
        "Handlers/RedirectHTTPHandler.swift",
        "Handlers/RoutedHTTPHandler.swift",
        "Handlers/WebSocketHTTPHandler.swift",
        "SocketAddress+Glibc.swift",
        "URLSession+Async.swift",
        "UncheckedSendable.swift",
        "WebSocket/AsyncStream+WSFrame.swift",
        "WebSocket/SHA1.swift",
        "WebSocket/WSFrame.swift",
        "WebSocket/WSFrameEncoder.swift",
        "WebSocket/WSFrameValidator.swift",
        "WebSocket/WSHandler.swift",
        "WebSocket/WSMessage.swift"
      ],
      "target_dependencies" : [
        "FlyingSocks"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystemLinux",
      "module_type" : "ClangTarget",
      "name" : "CSystemLinux",
      "path" : "CSystemLinux",
      "product_memberships" : [
        "FlyingFox",
        "FlyingSocks"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/22] Emitting module FlyingSocks
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:49:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 47 | @_unsafeInheritExecutor
 48 | @_spi(Private)
 49 | public func withIdentifiableContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 50 |   isolation: isolated some Actor,
 51 |   function: String = #function,
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:98:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 96 | @_unsafeInheritExecutor
 97 | @_spi(Private)
 98 | public func withIdentifiableThrowingContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 99 |   isolation: isolated some Actor,
100 |   function: String = #function,
[5/23] Compiling FlyingSocks Task+Timeout.swift
[6/23] Compiling FlyingSocks SocketError.swift
[7/23] Compiling FlyingSocks SocketPool+Poll.swift
[8/23] Compiling FlyingSocks SocketPool+ePoll.swift
[9/23] Compiling FlyingSocks SocketPool+kQueue.swift
[10/23] Compiling FlyingSocks Socket+Glibc.swift
[11/23] Compiling FlyingSocks Socket+WinSock2.swift
[12/23] Compiling FlyingSocks Logging.swift
[13/23] Compiling FlyingSocks Socket+Darwin.swift
[14/23] Compiling FlyingSocks Socket.swift
[15/23] Compiling FlyingSocks SocketAddress.swift
[16/23] Compiling FlyingSocks IdentifiableContinuation.swift
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:49:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 47 | @_unsafeInheritExecutor
 48 | @_spi(Private)
 49 | public func withIdentifiableContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 50 |   isolation: isolated some Actor,
 51 |   function: String = #function,
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:98:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 96 | @_unsafeInheritExecutor
 97 | @_spi(Private)
 98 | public func withIdentifiableThrowingContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 99 |   isolation: isolated some Actor,
100 |   function: String = #function,
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:60:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
 55 |     let id = IdentifiableContinuation<T, Never>.ID()
 56 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
 57 |     return await withTaskCancellationHandler {
    |                  `- note: access can happen concurrently
 58 |         await withCheckedContinuation(function: function) {
 59 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
 60 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 61 |             let sendCancel = state.withLock {
 62 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:60:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
 56 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
 57 |     return await withTaskCancellationHandler {
 58 |         await withCheckedContinuation(function: function) {
    |               `- note: access can happen concurrently
 59 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
 60 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 61 |             let sendCancel = state.withLock {
 62 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:109:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
104 |     let id = IdentifiableContinuation<T, any Error>.ID()
105 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
106 |     return try await withTaskCancellationHandler {
    |                      `- note: access can happen concurrently
107 |         try await withCheckedThrowingContinuation(function: function) {
108 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
109 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
110 |             let sendCancel = state.withLock {
111 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:109:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
105 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
106 |     return try await withTaskCancellationHandler {
107 |         try await withCheckedThrowingContinuation(function: function) {
    |                   `- note: access can happen concurrently
108 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
109 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
110 |             let sendCancel = state.withLock {
111 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:156:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
154 |
155 |     public func resume(returning value: T) {
156 |         continuation.resume(returning: value)
    |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
157 |     }
158 |
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:164:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
162 |
163 |     public func resume(with result: Result<T, E>) {
164 |         continuation.resume(with: result)
    |                      |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
165 |     }
166 |
[17/23] Compiling FlyingSocks Logging+OSLog.swift
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:49:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 47 | @_unsafeInheritExecutor
 48 | @_spi(Private)
 49 | public func withIdentifiableContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 50 |   isolation: isolated some Actor,
 51 |   function: String = #function,
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:98:13: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 96 | @_unsafeInheritExecutor
 97 | @_spi(Private)
 98 | public func withIdentifiableThrowingContinuation<T>(
    |             `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 99 |   isolation: isolated some Actor,
100 |   function: String = #function,
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:60:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
 55 |     let id = IdentifiableContinuation<T, Never>.ID()
 56 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
 57 |     return await withTaskCancellationHandler {
    |                  `- note: access can happen concurrently
 58 |         await withCheckedContinuation(function: function) {
 59 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
 60 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 61 |             let sendCancel = state.withLock {
 62 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:60:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
 56 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
 57 |     return await withTaskCancellationHandler {
 58 |         await withCheckedContinuation(function: function) {
    |               `- note: access can happen concurrently
 59 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
 60 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
 61 |             let sendCancel = state.withLock {
 62 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:109:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
104 |     let id = IdentifiableContinuation<T, any Error>.ID()
105 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
106 |     return try await withTaskCancellationHandler {
    |                      `- note: access can happen concurrently
107 |         try await withCheckedThrowingContinuation(function: function) {
108 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
109 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
110 |             let sendCancel = state.withLock {
111 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:109:13: warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
105 |     let state = AllocatedLock(initialState: (isStarted: false, isCancelled: false))
106 |     return try await withTaskCancellationHandler {
107 |         try await withCheckedThrowingContinuation(function: function) {
    |                   `- note: access can happen concurrently
108 |             let continuation = IdentifiableContinuation(id: id, continuation: $0)
109 |             body(continuation)
    |             |- warning: sending 'body' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: 'isolation'-isolated 'body' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later nonisolated uses
110 |             let sendCancel = state.withLock {
111 |                 $0.isStarted = true
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:156:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
154 |
155 |     public func resume(returning value: T) {
156 |         continuation.resume(returning: value)
    |                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
157 |     }
158 |
/Users/admin/builder/spi-builder-workspace/FlyingSocks/Sources/IdentifiableContinuation.swift:164:22: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
162 |
163 |     public func resume(with result: Result<T, E>) {
164 |         continuation.resume(with: result)
    |                      |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
165 |     }
166 |
[18/23] Compiling FlyingSocks AsyncDataSequence.swift
[19/23] Compiling FlyingSocks AsyncSocket.swift
[20/23] Compiling FlyingSocks SocketPool.swift
[21/23] Compiling FlyingSocks SwiftSupport.swift
[22/23] Compiling FlyingSocks AllocatedLock.swift
[23/23] Compiling FlyingSocks AsyncChunkedSequence.swift
[24/58] Compiling FlyingFox HTTPHeader.swift
[25/58] Compiling FlyingFox HTTPLogging+OSLog.swift
[26/58] Compiling FlyingFox HTTPLogging.swift
[27/58] Compiling FlyingFox HTTPMethod.swift
[28/61] Compiling FlyingFox ClosureHTTPHandler.swift
[29/61] Compiling FlyingFox DirectoryHTTPHandler.swift
[30/61] Compiling FlyingFox FileHTTPHandler.swift
[31/61] Compiling FlyingFox ProxyHTTPHandler.swift
[32/61] Compiling FlyingFox AsyncSequence+Extensions.swift
[33/61] Compiling FlyingFox HTTPBodyPattern.swift
[34/61] Compiling FlyingFox HTTPBodySequence.swift
[35/61] Compiling FlyingFox HTTPClient.swift
[36/61] Compiling FlyingFox RedirectHTTPHandler.swift
[37/61] Compiling FlyingFox RoutedHTTPHandler.swift
[38/61] Compiling FlyingFox WebSocketHTTPHandler.swift
[39/61] Compiling FlyingFox SocketAddress+Glibc.swift
[40/61] Compiling FlyingFox HTTPRequest+QueryItem.swift
[41/61] Compiling FlyingFox HTTPRequest.swift
[42/61] Compiling FlyingFox HTTPResponse.swift
[43/61] Compiling FlyingFox HTTPRoute.swift
[44/61] Compiling FlyingFox HTTPConnection.swift
[45/61] Compiling FlyingFox HTTPDecoder.swift
[46/61] Compiling FlyingFox HTTPEncoder.swift
[47/61] Compiling FlyingFox HTTPHandler.swift
[48/61] Emitting module FlyingFox
[49/61] Compiling FlyingFox WSFrameValidator.swift
[50/61] Compiling FlyingFox WSHandler.swift
[51/61] Compiling FlyingFox WSMessage.swift
[52/61] Compiling FlyingFox HTTPServer+Listening.swift
[53/61] Compiling FlyingFox HTTPServer.swift
[54/61] Compiling FlyingFox HTTPStatusCode.swift
[55/61] Compiling FlyingFox HTTPVersion.swift
[56/61] Compiling FlyingFox URLSession+Async.swift
/Users/admin/builder/spi-builder-workspace/FlyingFox/Sources/WebSocket/AsyncStream+WSFrame.swift:39:67: warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | extension AsyncThrowingStream<WSFrame, any Error> {
35 |
36 |     static func decodingFrames(from bytes: some AsyncChunkedSequence<UInt8>) -> Self {
   |                                            `- note: consider making generic parameter 'some AsyncChunkedSequence<UInt8>' conform to the 'Sendable' protocol
37 |         AsyncThrowingStream<WSFrame, any Error> {
38 |             do {
39 |                 return try await WSFrameEncoder.decodeFrame(from: bytes)
   |                                                                   `- warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |             } catch SocketError.disconnected, is SequenceTerminationError {
41 |                 return nil
[57/61] Compiling FlyingFox UncheckedSendable.swift
/Users/admin/builder/spi-builder-workspace/FlyingFox/Sources/WebSocket/AsyncStream+WSFrame.swift:39:67: warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | extension AsyncThrowingStream<WSFrame, any Error> {
35 |
36 |     static func decodingFrames(from bytes: some AsyncChunkedSequence<UInt8>) -> Self {
   |                                            `- note: consider making generic parameter 'some AsyncChunkedSequence<UInt8>' conform to the 'Sendable' protocol
37 |         AsyncThrowingStream<WSFrame, any Error> {
38 |             do {
39 |                 return try await WSFrameEncoder.decodeFrame(from: bytes)
   |                                                                   `- warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |             } catch SocketError.disconnected, is SequenceTerminationError {
41 |                 return nil
[58/61] Compiling FlyingFox AsyncStream+WSFrame.swift
/Users/admin/builder/spi-builder-workspace/FlyingFox/Sources/WebSocket/AsyncStream+WSFrame.swift:39:67: warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | extension AsyncThrowingStream<WSFrame, any Error> {
35 |
36 |     static func decodingFrames(from bytes: some AsyncChunkedSequence<UInt8>) -> Self {
   |                                            `- note: consider making generic parameter 'some AsyncChunkedSequence<UInt8>' conform to the 'Sendable' protocol
37 |         AsyncThrowingStream<WSFrame, any Error> {
38 |             do {
39 |                 return try await WSFrameEncoder.decodeFrame(from: bytes)
   |                                                                   `- warning: capture of 'bytes' with non-sendable type 'some AsyncChunkedSequence<UInt8>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
40 |             } catch SocketError.disconnected, is SequenceTerminationError {
41 |                 return nil
[59/61] Compiling FlyingFox SHA1.swift
[60/61] Compiling FlyingFox WSFrame.swift
[61/61] Compiling FlyingFox WSFrameEncoder.swift
Build complete! (15.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlyingFox",
  "name" : "FlyingFox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "FlyingFox",
      "targets" : [
        "FlyingFox"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FlyingSocks",
      "targets" : [
        "FlyingSocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FlyingSocksTests",
      "module_type" : "SwiftTarget",
      "name" : "FlyingSocksTests",
      "path" : "FlyingSocks/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/FlyingSocks/Tests/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AllocatedLockTests.swift",
        "AsyncDataSequenceTests.swift",
        "AsyncSocketTests.swift",
        "IdentifiableContinuationTests.swift",
        "Logging+OSLogTests.swift",
        "Logging+PrintTests.swift",
        "Socket+Pair.swift",
        "SocketAddress+Glibc.swift",
        "SocketAddressTests.swift",
        "SocketErrorTests.swift",
        "SocketPool+PollTests.swift",
        "SocketPool+kQueueTests.swift",
        "SocketPoolTests.swift",
        "SocketTests.swift",
        "Task+TimeoutTests.swift",
        "XCTest+Extension.swift"
      ],
      "target_dependencies" : [
        "FlyingSocks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlyingSocks",
      "module_type" : "SwiftTarget",
      "name" : "FlyingSocks",
      "path" : "FlyingSocks/Sources",
      "product_memberships" : [
        "FlyingFox",
        "FlyingSocks"
      ],
      "sources" : [
        "AllocatedLock.swift",
        "AsyncChunkedSequence.swift",
        "AsyncDataSequence.swift",
        "AsyncSocket.swift",
        "IdentifiableContinuation.swift",
        "Logging+OSLog.swift",
        "Logging.swift",
        "Socket+Darwin.swift",
        "Socket+Glibc.swift",
        "Socket+WinSock2.swift",
        "Socket.swift",
        "SocketAddress.swift",
        "SocketError.swift",
        "SocketPool+Poll.swift",
        "SocketPool+ePoll.swift",
        "SocketPool+kQueue.swift",
        "SocketPool.swift",
        "SwiftSupport.swift",
        "Task+Timeout.swift"
      ],
      "target_dependencies" : [
        "CSystemLinux"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlyingFoxTests",
      "module_type" : "SwiftTarget",
      "name" : "FlyingFoxTests",
      "path" : "FlyingFox/Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/FlyingFox/Tests/Stubs",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AsyncSequence+ExtensionsTests.swift",
        "AsyncSocketTests.swift",
        "ConsumingAsyncSequence.swift",
        "HTTPBodyPatternTests.swift",
        "HTTPBodySequenceTests.swift",
        "HTTPClientTests.swift",
        "HTTPConnectionTests.swift",
        "HTTPDecoderTests.swift",
        "HTTPEncoderTests.swift",
        "HTTPLoggingTests.swift",
        "HTTPRequest+Mock.swift",
        "HTTPRequest+QueryItemTests.swift",
        "HTTPRequestTests.swift",
        "HTTPResponse+Mock.swift",
        "HTTPResponseTests.swift",
        "HTTPRouteTests.swift",
        "HTTPServerTests.swift",
        "HTTPStatusCodeTests.swift",
        "Handlers/DirectoryHTTPHandlerTests.swift",
        "Handlers/HTTPHandlerTests.swift",
        "Handlers/RoutedHTTPHandlerTests.swift",
        "Handlers/WebSocketHTTPHandlerTests.swift",
        "Socket+Pair.swift",
        "SocketAddress+Glibc.swift",
        "URLSession+AsyncTests.swift",
        "WebSocket/AsyncStream+WSFrameTests.swift",
        "WebSocket/WSFrameEncoderTests.swift",
        "WebSocket/WSFrameTests.swift",
        "WebSocket/WSFrameValidatorTests.swift",
        "WebSocket/WSHandlerTests.swift",
        "XCTest+Extension.swift"
      ],
      "target_dependencies" : [
        "FlyingFox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlyingFox",
      "module_type" : "SwiftTarget",
      "name" : "FlyingFox",
      "path" : "FlyingFox/Sources",
      "product_memberships" : [
        "FlyingFox"
      ],
      "sources" : [
        "AsyncSequence+Extensions.swift",
        "HTTPBodyPattern.swift",
        "HTTPBodySequence.swift",
        "HTTPClient.swift",
        "HTTPConnection.swift",
        "HTTPDecoder.swift",
        "HTTPEncoder.swift",
        "HTTPHandler.swift",
        "HTTPHeader.swift",
        "HTTPLogging+OSLog.swift",
        "HTTPLogging.swift",
        "HTTPMethod.swift",
        "HTTPRequest+QueryItem.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "HTTPRoute.swift",
        "HTTPServer+Listening.swift",
        "HTTPServer.swift",
        "HTTPStatusCode.swift",
        "HTTPVersion.swift",
        "Handlers/ClosureHTTPHandler.swift",
        "Handlers/DirectoryHTTPHandler.swift",
        "Handlers/FileHTTPHandler.swift",
        "Handlers/ProxyHTTPHandler.swift",
        "Handlers/RedirectHTTPHandler.swift",
        "Handlers/RoutedHTTPHandler.swift",
        "Handlers/WebSocketHTTPHandler.swift",
        "SocketAddress+Glibc.swift",
        "URLSession+Async.swift",
        "UncheckedSendable.swift",
        "WebSocket/AsyncStream+WSFrame.swift",
        "WebSocket/SHA1.swift",
        "WebSocket/WSFrame.swift",
        "WebSocket/WSFrameEncoder.swift",
        "WebSocket/WSFrameValidator.swift",
        "WebSocket/WSHandler.swift",
        "WebSocket/WSMessage.swift"
      ],
      "target_dependencies" : [
        "FlyingSocks"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSystemLinux",
      "module_type" : "ClangTarget",
      "name" : "CSystemLinux",
      "path" : "CSystemLinux",
      "product_memberships" : [
        "FlyingFox",
        "FlyingSocks"
      ],
      "sources" : [
        "shims.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.