The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SimpleNetworking, reference main (c624a7), with Swift 6.4 for macOS (SPM) on 9 Nov 2026 00:52:49 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SimpleNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/SimpleNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c624a7c Updates
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
c624a7c102d985f026e2258c0234fe4da1eba212
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SimpleNetworking.git at main
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "simplenetworking",
      "name": "SimpleNetworking",
      "url": "https://github.com/0xWDG/SimpleNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleNetworking",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/SimpleNetworking.git
[1/1004] Fetching simplenetworking
Fetched https://github.com/0xWDG/SimpleNetworking.git (1.07s)
Creating working copy for https://github.com/0xWDG/SimpleNetworking.git
Working copy of https://github.com/0xWDG/SimpleNetworking.git resolved at main (c624a7c)
warning: '.resolve-product-dependencies': dependency 'simplenetworking' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/0xWDG/SimpleNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[32 / 41] SimpleNetworking_SimpleNetworking
[32 / 41]
[33 / 42] SimpleNetworking
[42 / 90]
[45 / 90]
[51 / 90]
[53 / 90]
[57 / 90]
[59 / 90]
[62 / 90]
[66 / 90]
[67 / 90]
[68 / 90]
[69 / 90]
[81 / 90] SimpleNetworking
[82 / 90] SimpleNetworking
Build complete! (9.93 sec)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimpleNetworking",
  "name" : "SimpleNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleNetworking",
      "targets" : [
        "SimpleNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworkingTests",
      "path" : "Tests/SimpleNetworkingTests",
      "sources" : [
        "CookieTests.swift",
        "FileUploadTests.swift",
        "PropertyWrapperTests.swift",
        "SimpleNetworkingTests.swift"
      ],
      "target_dependencies" : [
        "SimpleNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworking",
      "path" : "Sources/SimpleNetworking",
      "product_memberships" : [
        "SimpleNetworking"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/isURL.swift",
        "Helpers/toJSON.swift",
        "PropertyWrappers/Delete.swift",
        "PropertyWrappers/Get.swift",
        "PropertyWrappers/Post.swift",
        "PropertyWrappers/Put.swift",
        "PropertyWrappers/SimpleNetworkingWrapper.swift",
        "PropertyWrappers/Upload.swift",
        "SimpleNetworking.swift",
        "SimpleNetworking/EventSource.swift",
        "SimpleNetworking/WebSocket.swift",
        "SimpleNetworking/cookies.swift",
        "SimpleNetworking/createHTTPBody.swift",
        "SimpleNetworking/exec.swift",
        "SimpleNetworking/logging.swift",
        "SimpleNetworking/request.swift",
        "SimpleNetworking/transfers.swift",
        "SimpleNetworking/uploadMethods.swift",
        "Structs/Debug.swift",
        "Structs/FileUpload.swift",
        "Structs/HTTPHeader.swift",
        "Structs/HTTPMethod.swift",
        "Structs/NetworkResponse.swift",
        "Structs/NetworkingError.swift",
        "Structs/POSTEncoding.swift",
        "Structs/RequestDescriptor.swift",
        "Structs/SNMock.swift",
        "Structs/TransferProgress.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xwdg/simplenetworking/main
Repository:               0xWDG/SimpleNetworking
Swift version used:       6.4
Target:                   SimpleNetworking
Extracting symbol information for 'SimpleNetworking'...
Finished extracting symbol information for 'SimpleNetworking'. (1.25s)
Building documentation for 'SimpleNetworking'...
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/Delete.swift:56:66-56:66
54 |
55 |         /// Initialize with a path
56 +         /// - Parameter path: The URL path for the DELETE request
   |             ╰─suggestion: Document 'wrappedValue' parameter
57 |         public init(wrappedValue: NetworkResponse? = nil, _ path: String) {
58 |             self.path = path
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/Get.swift:56:63-56:63
54 |
55 |         /// Initialize with a path
56 +         /// - Parameter path: The URL path for the GET request
   |             ╰─suggestion: Document 'wrappedValue' parameter
57 |         public init(wrappedValue: NetworkResponse? = nil, _ path: String) {
58 |             self.path = path
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/Post.swift:56:64-56:64
54 |
55 |         /// Initialize with a path
56 +         /// - Parameter path: The URL path for the POST request
   |             ╰─suggestion: Document 'wrappedValue' parameter
57 |         public init(wrappedValue: NetworkResponse? = nil, _ path: String) {
58 |             self.path = path
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/Put.swift:56:63-56:63
54 |
55 |         /// Initialize with a path
56 +         /// - Parameter path: The URL path for the PUT request
   |             ╰─suggestion: Document 'wrappedValue' parameter
57 |         public init(wrappedValue: NetworkResponse? = nil, _ path: String) {
58 |             self.path = path
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/SimpleNetworkingWrapper.swift:67:51-67:51
65 |         /// - Parameters:
66 |         ///   - method: The HTTP method (without associated value for GET)
   |               ╰─suggestion: Document 'wrappedValue' parameter
67 +         ///   - path: The URL path for the request
68 |         public init(wrappedValue: NetworkResponse? = nil, _ method: HTTPMethod, _ path: String) {
69 |             self.method = method
warning: Parameter 'wrappedValue' is missing documentation
  --> ../PropertyWrappers/Upload.swift:56:66-56:66
54 |
55 |         /// Initialize with a path
56 +         /// - Parameter path: The URL path for the upload request
   |             ╰─suggestion: Document 'wrappedValue' parameter
57 |         public init(wrappedValue: NetworkResponse? = nil, _ path: String) {
58 |             self.path = path
warning: 'URLSession' doesn't exist at '/SimpleNetworking'
  --> SimpleNetworking.md:22:15-22:25
20 | For new code, prefer an isolated client configured once at creation time. ``SimpleNetworking/Configuration`` is immutable, and the client takes an atomic settings snapshot before each request.
21 |
22 + Clients use ``URLSession/shared`` by default. Set `sessionMode` to `.ephemeral` to use isolated in-memory cookie and cache storage, or pass a custom session to the initializer when you need a specific URL session configuration.
23 |
24 | ```swift
warning: 'send(message:)' is ambiguous at '/SimpleNetworking/SimpleNetworking'
   --> SimpleNetworking.md:186:104-186:118
184 | ``SimpleNetworking/eventSource(path:onOpen:onMessage:onError:)`` opens a Server-Sent Events connection and forwards received data chunks. Call ``SimpleNetworking/eventSourceDisconnect()`` when it is no longer needed.
185 |
186 + ``SimpleNetworking/connect(to:responder:)`` establishes a WebSocket connection. Use ``SimpleNetworking/send(message:)`` to send `String` or `Data` payloads.
    |                                                                                                                      ├─suggestion: Insert '-(Data)' for 'func send(message: Data) async throws'
    |                                                                                                                      ╰─suggestion: Insert '-(String)' for 'func send(message: String) async throws'
187 |
188 | ## Topics
warning: Parameter 'mock' not found in instance method declaration
   --> ../SimpleNetworking.swift:230:21-230:25
228 |
229 |     /// Set mock url data
230 +     /// - Parameter mock: Mock request.
    |                     ╰─suggestion: Replace 'mock' with 'mockData'
231 |     public func set(mockData: [String: SNMock]) {
232 |         var newMockData: [String: SNMock] = [:]
warning: Parameter 'mockData' is missing documentation
   --> ../SimpleNetworking.swift:230:40-230:40
228 |
229 |     /// Set mock url data
230 +     /// - Parameter mock: Mock request.
    |                                        ╰─suggestion: Document 'mockData' parameter
231 |     public func set(mockData: [String: SNMock]) {
232 |         var newMockData: [String: SNMock] = [:]
warning: External name 'add' used to document parameter
   --> ../SimpleNetworking.swift:244:21-244:24
242 |
243 |     /// Add or replace a stored cookie by name.
244 +     /// - Parameter add: Cookie to store; any stored cookie with the same name is replaced.
    |                     ╰─suggestion: Replace 'add' with 'cookie'
245 |     public func cookie(add cookie: HTTPCookie) {
246 |         withStateLock {
warning: External name 'add' used to document parameter
   --> ../SimpleNetworking.swift:253:21-253:24
251 |
252 |     /// Add header to request
253 +     /// - Parameter add: Header to be added.
    |                     ╰─suggestion: Replace 'add' with 'header'
254 |     public func headers(add header: HTTPHeader) {
255 |         withStateLock {
warning: Parameter 'add' not found in instance method declaration
   --> ../SimpleNetworking.swift:269:9-269:92
267 |     // MARK: - Add values
268 |     /// Add or replace a stored cookie by name.
269 +     /// - Parameter add: Cookie to store; any stored cookie with the same name is replaced.
    |         ╰─suggestion: Remove 'add' parameter documentation
270 |     public func add(cookie: HTTPCookie) {
271 |         withStateLock {
warning: Parameter 'cookie' is missing documentation
   --> ../SimpleNetworking.swift:269:92-269:92
267 |     // MARK: - Add values
268 |     /// Add or replace a stored cookie by name.
269 +     /// - Parameter add: Cookie to store; any stored cookie with the same name is replaced.
    |                                                                                            ╰─suggestion: Document 'cookie' parameter
270 |     public func add(cookie: HTTPCookie) {
271 |         withStateLock {
warning: Parameter 'add' not found in instance method declaration
   --> ../SimpleNetworking.swift:278:9-278:45
276 |
277 |     /// Add header to request
278 +     /// - Parameter add: Header to be added.
    |         ╰─suggestion: Remove 'add' parameter documentation
279 |     public func add(header: HTTPHeader) {
280 |         withStateLock {
warning: Parameter 'header' is missing documentation
   --> ../SimpleNetworking.swift:278:45-278:45
276 |
277 |     /// Add header to request
278 +     /// - Parameter add: Header to be added.
    |                                             ╰─suggestion: Document 'header' parameter
279 |     public func add(header: HTTPHeader) {
280 |         withStateLock {
warning: Parameter 'add' not found in instance method declaration
   --> ../SimpleNetworking.swift:287:9-287:45
285 |
286 |     /// Add header to request
287 +     /// - Parameter add: Header to be added.
    |         ╰─suggestion: Remove 'add' parameter documentation
288 |     public func add(header: String, value: String) {
289 |         let headerStruct = HTTPHeader(name: header, value: value)
warning: Parameter 'header' is missing documentation
   --> ../SimpleNetworking.swift:287:45-287:45
285 |
286 |     /// Add header to request
287 +     /// - Parameter add: Header to be added.
    |                                             ╰─suggestion: Document 'header' parameter
288 |     public func add(header: String, value: String) {
289 |         let headerStruct = HTTPHeader(name: header, value: value)
warning: Parameter 'value' is missing documentation
   --> ../SimpleNetworking.swift:287:45-287:45
285 |
286 |     /// Add header to request
287 +     /// - Parameter add: Header to be added.
    |                                             ╰─suggestion: Document 'value' parameter
288 |     public func add(header: String, value: String) {
289 |         let headerStruct = HTTPHeader(name: header, value: value)
warning: Parameter 'url' not found in instance method declaration
  --> ../SimpleNetworking/request.swift:76:11-77:74
74 |     ///
75 |     /// - Parameters:
76 +     ///   - url: A value that identifies the location of a resource, \
   |           ╰─suggestion: Remove 'url' parameter documentation
77 +     ///   such as an item on a remote server or the path to a local file.
78 |     ///   - method: The HTTP request method.
79 |     public func request(
warning: Parameter 'encoding' is missing documentation
  --> ../SimpleNetworking/request.swift:78:45-78:45
76 |     ///   - url: A value that identifies the location of a resource, \
77 |     ///   such as an item on a remote server or the path to a local file.
78 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'encoding' parameter
79 |     public func request(
80 |         path: String,
warning: Parameter 'path' is missing documentation
  --> ../SimpleNetworking/request.swift:78:45-78:45
76 |     ///   - url: A value that identifies the location of a resource, \
77 |     ///   such as an item on a remote server or the path to a local file.
78 +     ///   - method: The HTTP request method.
   |           ╰─suggestion: Document 'path' parameter
79 |     public func request(
80 |         path: String,
warning: Parameter 'function' is missing documentation
  --> ../SimpleNetworking/request.swift:78:45-78:45
76 |     ///   - url: A value that identifies the location of a resource, \
77 |     ///   such as an item on a remote server or the path to a local file.
78 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'function' parameter
79 |     public func request(
80 |         path: String,
warning: Parameter 'file' is missing documentation
  --> ../SimpleNetworking/request.swift:78:45-78:45
76 |     ///   - url: A value that identifies the location of a resource, \
77 |     ///   such as an item on a remote server or the path to a local file.
78 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'file' parameter
79 |     public func request(
80 |         path: String,
warning: Parameter 'line' is missing documentation
  --> ../SimpleNetworking/request.swift:78:45-78:45
76 |     ///   - url: A value that identifies the location of a resource, \
77 |     ///   such as an item on a remote server or the path to a local file.
78 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'line' parameter
79 |     public func request(
80 |         path: String,
warning: Parameter 'url' not found in instance method declaration
   --> ../SimpleNetworking/request.swift:116:11-117:74
114 |     ///
115 |     /// - Parameters:
116 +     ///   - url: A value that identifies the location of a resource, \
    |           ╰─suggestion: Remove 'url' parameter documentation
117 +     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
119 |     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
warning: Parameter 'file' is missing documentation
   --> ../SimpleNetworking/request.swift:119:121-119:121
117 |     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
119 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
    |                                                                                                                         ╰─suggestion: Document 'file' parameter
120 |     @available(*, deprecated, message: "Use async/await version instead for better concurrency support")
121 |     public func request(
warning: Parameter 'path' is missing documentation
   --> ../SimpleNetworking/request.swift:119:121-119:121
117 |     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
    |           ╰─suggestion: Document 'path' parameter
119 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
120 |     @available(*, deprecated, message: "Use async/await version instead for better concurrency support")
121 |     public func request(
warning: Parameter 'encoding' is missing documentation
   --> ../SimpleNetworking/request.swift:119:121-119:121
117 |     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
119 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
    |           ╰─suggestion: Document 'encoding' parameter
120 |     @available(*, deprecated, message: "Use async/await version instead for better concurrency support")
121 |     public func request(
warning: Parameter 'line' is missing documentation
   --> ../SimpleNetworking/request.swift:119:121-119:121
117 |     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
119 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
    |                                                                                                                         ╰─suggestion: Document 'line' parameter
120 |     @available(*, deprecated, message: "Use async/await version instead for better concurrency support")
121 |     public func request(
warning: Parameter 'function' is missing documentation
   --> ../SimpleNetworking/request.swift:119:121-119:121
117 |     ///   such as an item on a remote server or the path to a local file.
118 |     ///   - method: The HTTP request method.
119 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
    |                                                                                                                         ╰─suggestion: Document 'function' parameter
120 |     @available(*, deprecated, message: "Use async/await version instead for better concurrency support")
121 |     public func request(
warning: Parameter 'line' is missing documentation
   --> ../Structs/NetworkResponse.swift:185:52-185:52
183 |
184 |         /// Decode to a Codable type.
185 +         /// - Parameter strategy: decoding strategy
    |                                                    ╰─suggestion: Document 'line' parameter
186 |         /// - Returns: T
187 |         public func decoded<T: Decodable>(
warning: Parameter 'function' is missing documentation
   --> ../Structs/NetworkResponse.swift:185:52-185:52
183 |
184 |         /// Decode to a Codable type.
185 +         /// - Parameter strategy: decoding strategy
    |                                                    ╰─suggestion: Document 'function' parameter
186 |         /// - Returns: T
187 |         public func decoded<T: Decodable>(
warning: Parameter 'file' is missing documentation
   --> ../Structs/NetworkResponse.swift:185:52-185:52
183 |
184 |         /// Decode to a Codable type.
185 +         /// - Parameter strategy: decoding strategy
    |                                                    ╰─suggestion: Document 'file' parameter
186 |         /// - Returns: T
187 |         public func decoded<T: Decodable>(
Finished building documentation for 'SimpleNetworking' (0.22s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/simplenetworking/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (3.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3865] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.13s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Planning deferred tasks]
[20 / 43] Snippets
[31 / 58] SymbolKit
[40 / 58] SymbolKit
[42 / 58] SymbolKit
[52 / 59] SymbolKit
[56 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.37 sec)
Building for debugging...
[Planning deferred tasks]
[4 / 12] SimpleNetworking
[15 / 23] SimpleNetworking
[17 / 19] SimpleNetworking
Build complete! (1.04 sec)
     552
5	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/simplenetworking/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/simplenetworking/main
File count: 552
Doc size:   5.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -0xwdg-simplenetworking-main-ec259fa5.zip to presigned URL
Starting upload of 971519 bytes...
Upload completed successfully
Done.