Build Information
Successful build of FullyRESTful, reference 3.1.5 (ac769c), with Swift 6.1 for macOS (SPM) on 20 Jun 2025 09:22:14 UTC.
Swift 6 data race errors: 2
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/southkin/FullyRESTful.git
Reference: 3.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/southkin/FullyRESTful
* tag 3.1.5 -> FETCH_HEAD
HEAD is now at ac769c1 curlLog 컨텐츠타입 제외하는코드 제거
Cloned https://github.com/southkin/FullyRESTful.git
Revision (git rev-parse @):
ac769c1d5dd324ed227ff770a9f2b371f0f67808
SUCCESS checkout https://github.com/southkin/FullyRESTful.git at 3.1.5
Fetching https://github.com/southkin/KinKit
[1/198] Fetching kinkit
Fetched https://github.com/southkin/KinKit from cache (0.64s)
Computing version for https://github.com/southkin/KinKit
Computed https://github.com/southkin/KinKit at 1.0.2 (1.16s)
Creating working copy for https://github.com/southkin/KinKit
Working copy of https://github.com/southkin/KinKit resolved at 1.0.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": "fullyrestful",
"name": "FullyRESTful",
"url": "https://github.com/southkin/FullyRESTful.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FullyRESTful",
"dependencies": [
{
"identity": "kinkit",
"name": "KinKit",
"url": "https://github.com/southkin/KinKit",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KinKit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/southkin/FullyRESTful.git
[1/293] Fetching fullyrestful
Fetched https://github.com/southkin/FullyRESTful.git from cache (0.70s)
Fetching https://github.com/southkin/KinKit from cache
Fetched https://github.com/southkin/KinKit from cache (0.43s)
Computing version for https://github.com/southkin/KinKit
Computed https://github.com/southkin/KinKit at 1.0.3 (0.93s)
Creating working copy for https://github.com/southkin/KinKit
Working copy of https://github.com/southkin/KinKit resolved at 1.0.3
Creating working copy for https://github.com/southkin/FullyRESTful.git
Working copy of https://github.com/southkin/FullyRESTful.git resolved at 3.1.5 (ac769c1)
warning: '.resolve-product-dependencies': dependency 'fullyrestful' is not used by any target
Found 1 product dependencies
- KinKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/southkin/FullyRESTful.git
https://github.com/southkin/FullyRESTful.git
{
"dependencies" : [
{
"identity" : "kinkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/southkin/KinKit"
}
],
"manifest_display_name" : "FullyRESTful",
"name" : "FullyRESTful",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FullyRESTful",
"targets" : [
"FullyRESTful"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FullyRESTfulTests",
"module_type" : "SwiftTarget",
"name" : "FullyRESTfulTests",
"path" : "Tests/FullyRESTfulTests",
"sources" : [
"FullyRESTfulTests.swift"
],
"target_dependencies" : [
"FullyRESTful"
],
"type" : "test"
},
{
"c99name" : "FullyRESTful",
"module_type" : "SwiftTarget",
"name" : "FullyRESTful",
"path" : "Sources/FullyRESTful",
"product_dependencies" : [
"KinKit"
],
"product_memberships" : [
"FullyRESTful"
],
"sources" : [
"FullyRESTful.swift",
"ServerInfo.swift",
"TestAPI.swift",
"Websocket.swift",
"extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/17] Emitting module Shared
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/17] Compiling Shared URLSessionExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/17] Compiling Shared EncodableExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/17] Compiling Shared URLRequestExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/17] Compiling Shared StringExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/17] Compiling Shared DecimalExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/17] Compiling Shared DataExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/17] Compiling Shared Shared.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/17] Compiling Shared DictionaryExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/17] Compiling KinKit UIKitExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/17] Compiling KinKit KinKit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/17] Compiling KinKit SwiftUIExtension.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/17] Emitting module KinKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/23] Compiling FullyRESTful Websocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:162:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebSocketConnectionManager' may have shared mutable state; this is an error in the Swift 6 language mode
159 | // MARK: - WebSocket 연결 매니저 (싱글톤)
160 |
161 | final class WebSocketConnectionManager {
| `- note: class 'WebSocketConnectionManager' does not conform to the 'Sendable' protocol
162 | static let shared = WebSocketConnectionManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebSocketConnectionManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | fileprivate var connections: [URL: WebSocketConnection] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:95:23: warning: capture of 'self' with non-sendable type 'WebSocketConnection?' in a '@Sendable' closure
60 | // MARK: - 개별 연결 객체
61 |
62 | fileprivate final class WebSocketConnection {
| `- note: class 'WebSocketConnection' does not conform to the 'Sendable' protocol
63 | let url: URL
64 | private var task: URLSessionWebSocketTask?
:
93 | private func listen() {
94 | task?.receive { [weak self] result in
95 | guard let self else { return }
| `- warning: capture of 'self' with non-sendable type 'WebSocketConnection?' in a '@Sendable' closure
96 |
97 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:122:21: warning: capture of 'self' with non-sendable type 'WebSocketConnection?' in a '@Sendable' closure
60 | // MARK: - 개별 연결 객체
61 |
62 | fileprivate final class WebSocketConnection {
| `- note: class 'WebSocketConnection' does not conform to the 'Sendable' protocol
63 | let url: URL
64 | private var task: URLSessionWebSocketTask?
:
120 | print("❌ WebSocket 핑 실패")
121 | } else {
122 | self?.ping()
| `- warning: capture of 'self' with non-sendable type 'WebSocketConnection?' in a '@Sendable' closure
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:118:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
116 | private func ping() {
117 | DispatchQueue.main.asyncAfter(deadline: .now() + pingInterval) {
118 | self.task?.sendPing { [weak self] error in
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | if error != nil {
120 | print("❌ WebSocket 핑 실패")
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:192:34: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
190 |
191 | if let connection = connections[url] {
192 | try await connection.send(message)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'message' to nonisolated instance method 'send' risks causing data races between nonisolated and main actor-isolated uses
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:192:34: warning: sending 'connection' risks causing data races; this is an error in the Swift 6 language mode
190 |
191 | if let connection = connections[url] {
192 | try await connection.send(message)
| |- warning: sending 'connection' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'connection' to nonisolated instance method 'send' risks causing data races between nonisolated and main actor-isolated uses
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:56:53: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | func send(_ message: WebSocketSendMessageModel) async throws {
56 | try await WebSocketConnectionManager.shared.send(message, for: self)
| |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'message' to main actor-isolated instance method 'send(_:for:)' risks causing data races between main actor-isolated and task-isolated uses
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:56:53: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
54 |
55 | func send(_ message: WebSocketSendMessageModel) async throws {
56 | try await WebSocketConnectionManager.shared.send(message, for: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'send(_:for:)' risks causing data races between main actor-isolated and task-isolated uses
57 | }
58 | }
[19/23] Compiling FullyRESTful TestAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/TestAPI.swift:12:16: warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'ServerInfo' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum TestAPI {
12 | static let server:ServerInfo = .init(domain: "https://reqres.in", defaultHeader: ["Content-Type":"application/json"])
| |- warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'ServerInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'server' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 | struct TestUserInfo : Codable {
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/ServerInfo.swift:8:15: note: consider making struct 'ServerInfo' conform to the 'Sendable' protocol
6 | //
7 |
8 | public struct ServerInfo {
| `- note: consider making struct 'ServerInfo' conform to the 'Sendable' protocol
9 | public enum AfterResolve {
10 | case retry
[20/23] Compiling FullyRESTful ServerInfo.swift
[21/23] Compiling FullyRESTful FullyRESTful.swift
[22/23] Compiling FullyRESTful extensions.swift
[23/23] Emitting module FullyRESTful
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/TestAPI.swift:12:16: warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'ServerInfo' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum TestAPI {
12 | static let server:ServerInfo = .init(domain: "https://reqres.in", defaultHeader: ["Content-Type":"application/json"])
| |- warning: static property 'server' is not concurrency-safe because non-'Sendable' type 'ServerInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'server' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 | struct TestUserInfo : Codable {
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/ServerInfo.swift:8:15: note: consider making struct 'ServerInfo' conform to the 'Sendable' protocol
6 | //
7 |
8 | public struct ServerInfo {
| `- note: consider making struct 'ServerInfo' conform to the 'Sendable' protocol
9 | public enum AfterResolve {
10 | case retry
/Users/admin/builder/spi-builder-workspace/Sources/FullyRESTful/Websocket.swift:162:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebSocketConnectionManager' may have shared mutable state; this is an error in the Swift 6 language mode
159 | // MARK: - WebSocket 연결 매니저 (싱글톤)
160 |
161 | final class WebSocketConnectionManager {
| `- note: class 'WebSocketConnectionManager' does not conform to the 'Sendable' protocol
162 | static let shared = WebSocketConnectionManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'WebSocketConnectionManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | fileprivate var connections: [URL: WebSocketConnection] = [:]
Build complete! (12.43s)
Build complete.
{
"dependencies" : [
{
"identity" : "kinkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/southkin/KinKit"
}
],
"manifest_display_name" : "FullyRESTful",
"name" : "FullyRESTful",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FullyRESTful",
"targets" : [
"FullyRESTful"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FullyRESTfulTests",
"module_type" : "SwiftTarget",
"name" : "FullyRESTfulTests",
"path" : "Tests/FullyRESTfulTests",
"sources" : [
"FullyRESTfulTests.swift"
],
"target_dependencies" : [
"FullyRESTful"
],
"type" : "test"
},
{
"c99name" : "FullyRESTful",
"module_type" : "SwiftTarget",
"name" : "FullyRESTful",
"path" : "Sources/FullyRESTful",
"product_dependencies" : [
"KinKit"
],
"product_memberships" : [
"FullyRESTful"
],
"sources" : [
"FullyRESTful.swift",
"ServerInfo.swift",
"TestAPI.swift",
"Websocket.swift",
"extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.