The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SimpleNetworking, reference main (692531), with Swift 6.0 for macOS (SPM) on 13 Nov 2024 17:35:28 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
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 6925316 Create FUNDING.yml
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
6925316ee359b9713e58c356885b6c79070690e8
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",
  "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",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/SimpleNetworking.git
[1/571] Fetching simplenetworking
Fetched https://github.com/0xWDG/SimpleNetworking.git from cache (0.97s)
Creating working copy for https://github.com/0xWDG/SimpleNetworking.git
Working copy of https://github.com/0xWDG/SimpleNetworking.git resolved at main (6925316)
warning: '.resolve-product-dependencies': dependency 'simplenetworking' 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/0xWDG/SimpleNetworking.git
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
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/19] Compiling SimpleNetworking exec.swift
[5/19] Compiling SimpleNetworking logging.swift
[6/19] Compiling SimpleNetworking SNMock.swift
[7/20] Compiling SimpleNetworking NetworkingError.swift
[8/20] Compiling SimpleNetworking HTTPMethod.swift
[9/20] Compiling SimpleNetworking NetworkResponse.swift
[10/20] Compiling SimpleNetworking POSTEncoding.swift
[11/20] Compiling SimpleNetworking request.swift
[12/20] Compiling SimpleNetworking Debug.swift
[13/20] Compiling SimpleNetworking isURL.swift
[14/20] Compiling SimpleNetworking toJSON.swift
[15/20] Compiling SimpleNetworking SimpleNetworking.swift
[16/20] Compiling SimpleNetworking WebSocket.swift
[17/20] Compiling SimpleNetworking cookies.swift
[18/20] Compiling SimpleNetworking createHTTPBody.swift
[19/20] Emitting module SimpleNetworking
[20/20] Compiling SimpleNetworking resource_bundle_accessor.swift
Build complete! (19.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimpleNetworking",
  "name" : "SimpleNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SimpleNetworking",
      "targets" : [
        "SimpleNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworkingTests",
      "path" : "Tests/SimpleNetworkingTests",
      "sources" : [
        "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",
        "SimpleNetworking.swift",
        "SimpleNetworking/WebSocket.swift",
        "SimpleNetworking/cookies.swift",
        "SimpleNetworking/createHTTPBody.swift",
        "SimpleNetworking/exec.swift",
        "SimpleNetworking/logging.swift",
        "SimpleNetworking/request.swift",
        "Structs/Debug.swift",
        "Structs/HTTPMethod.swift",
        "Structs/NetworkResponse.swift",
        "Structs/NetworkingError.swift",
        "Structs/POSTEncoding.swift",
        "Structs/SNMock.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.0
Target:                   SimpleNetworking
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SimpleNetworking'...
Finished extracting symbol information for 'SimpleNetworking'. (2.94s)
Building documentation for 'SimpleNetworking'...
warning: Parameter 'mock' not found in instance method declaration
  --> Sources/SimpleNetworking/SimpleNetworking.swift:97:21-97:25
95 |
96 |     /// Set mock url data
97 +     /// - Parameter mock: Mock request.
   |                     ╰─suggestion: Replace 'mock' with 'mockData'
98 |     public func set(mockData: [String: SNMock]) {
99 |         var newMockData: [String: SNMock] = [:]
warning: Parameter 'mockData' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking.swift:97:40-97:40
95 |
96 |     /// Set mock url data
97 +     /// - Parameter mock: Mock request.
   |                                        ╰─suggestion: Document 'mockData' parameter
98 |     public func set(mockData: [String: SNMock]) {
99 |         var newMockData: [String: SNMock] = [:]
warning: Parameter 'url' not found in instance method declaration
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:23:11-24:74
21 |     ///
22 |     /// - Parameters:
23 +     ///   - url: A value that identifies the location of a resource, \
   |           ╰─suggestion: Remove 'url' parameter documentation
24 +     ///   such as an item on a remote server or the path to a local file.
25 |     ///   - method: The HTTP request method.
26 |     public func request(
warning: Parameter 'line' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:25:45-25:45
23 |     ///   - url: A value that identifies the location of a resource, \
24 |     ///   such as an item on a remote server or the path to a local file.
25 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'line' parameter
26 |     public func request(
27 |         path: String,
warning: Parameter 'function' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:25:45-25:45
23 |     ///   - url: A value that identifies the location of a resource, \
24 |     ///   such as an item on a remote server or the path to a local file.
25 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'function' parameter
26 |     public func request(
27 |         path: String,
warning: Parameter 'path' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:25:45-25:45
23 |     ///   - url: A value that identifies the location of a resource, \
24 |     ///   such as an item on a remote server or the path to a local file.
25 +     ///   - method: The HTTP request method.
   |           ╰─suggestion: Document 'path' parameter
26 |     public func request(
27 |         path: String,
warning: Parameter 'file' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:25:45-25:45
23 |     ///   - url: A value that identifies the location of a resource, \
24 |     ///   such as an item on a remote server or the path to a local file.
25 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'file' parameter
26 |     public func request(
27 |         path: String,
warning: Parameter 'encoding' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:25:45-25:45
23 |     ///   - url: A value that identifies the location of a resource, \
24 |     ///   such as an item on a remote server or the path to a local file.
25 +     ///   - method: The HTTP request method.
   |                                             ╰─suggestion: Document 'encoding' parameter
26 |     public func request(
27 |         path: String,
warning: Parameter 'url' not found in instance method declaration
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:63:11-64:74
61 |     ///
62 |     /// - Parameters:
63 +     ///   - url: A value that identifies the location of a resource, \
   |           ╰─suggestion: Remove 'url' parameter documentation
64 +     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
66 |     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
warning: Parameter 'file' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:66:121-66:121
64 |     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
66 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
   |                                                                                                                         ╰─suggestion: Document 'file' parameter
67 |     public func request(
68 |         path: String,
warning: Parameter 'path' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:66:121-66:121
64 |     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
   |           ╰─suggestion: Document 'path' parameter
66 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
67 |     public func request(
68 |         path: String,
warning: Parameter 'line' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:66:121-66:121
64 |     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
66 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
   |                                                                                                                         ╰─suggestion: Document 'line' parameter
67 |     public func request(
68 |         path: String,
warning: Parameter 'function' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:66:121-66:121
64 |     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
66 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
   |                                                                                                                         ╰─suggestion: Document 'function' parameter
67 |     public func request(
68 |         path: String,
warning: Parameter 'encoding' is missing documentation
  --> Sources/SimpleNetworking/SimpleNetworking/request.swift:66:121-66:121
64 |     ///   such as an item on a remote server or the path to a local file.
65 |     ///   - method: The HTTP request method.
66 +     ///   - completionHandler: This completion handler takes the following parameter: [NetworkResponse](NetworkResponse)
   |           ╰─suggestion: Document 'encoding' parameter
67 |     public func request(
68 |         path: String,
warning: Parameter 'file' is missing documentation
  --> Sources/SimpleNetworking/Structs/NetworkResponse.swift:75:52-75:52
73 |
74 |         /// Decode to an Codable type
75 +         /// - Parameter strategy: decoding strategy
   |                                                    ╰─suggestion: Document 'file' parameter
76 |         /// - Returns: T
77 |         public func decoded<T: Codable>(
warning: Parameter 'line' is missing documentation
  --> Sources/SimpleNetworking/Structs/NetworkResponse.swift:75:52-75:52
73 |
74 |         /// Decode to an Codable type
75 +         /// - Parameter strategy: decoding strategy
   |                                                    ╰─suggestion: Document 'line' parameter
76 |         /// - Returns: T
77 |         public func decoded<T: Codable>(
warning: Parameter 'function' is missing documentation
  --> Sources/SimpleNetworking/Structs/NetworkResponse.swift:75:52-75:52
73 |
74 |         /// Decode to an Codable type
75 +         /// - Parameter strategy: decoding strategy
   |                                                    ╰─suggestion: Document 'function' parameter
76 |         /// - Returns: T
77 |         public func decoded<T: Codable>(Finished building documentation for 'SimpleNetworking' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/simplenetworking/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.50s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3182] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
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...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets Snippet.swift
[9/53] Compiling SymbolKit Mixin+Equals.swift
[10/53] Compiling SymbolKit Mixin+Hash.swift
[11/53] Compiling SymbolKit Mixin.swift
[12/53] Compiling SymbolKit LineList.swift
[13/53] Compiling SymbolKit Position.swift
[14/53] Compiling SymbolKit SourceRange.swift
[15/53] Compiling SymbolKit Metadata.swift
[16/53] Compiling SymbolKit Module.swift
[17/53] Compiling SymbolKit OperatingSystem.swift
[18/53] Compiling SymbolKit Platform.swift
[19/57] Compiling SymbolKit GenericConstraint.swift
[20/57] Compiling SymbolKit GenericParameter.swift
[21/57] Compiling SymbolKit Generics.swift
[22/57] Compiling SymbolKit Namespace.swift
[23/57] Emitting module SymbolKit
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit DeclarationFragments.swift
[29/57] Compiling SymbolKit Fragment.swift
[30/57] Compiling SymbolKit FragmentKind.swift
[31/57] Compiling SymbolKit FunctionParameter.swift
[32/57] Compiling SymbolKit FunctionSignature.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit SemanticVersion.swift
[38/57] Compiling SymbolKit AccessControl.swift
[39/57] Compiling SymbolKit Availability.swift
[40/57] Compiling SymbolKit AvailabilityItem.swift
[41/57] Compiling SymbolKit Domain.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.80s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/17] Compiling SimpleNetworking SNMock.swift
[3/18] Compiling SimpleNetworking NetworkingError.swift
[4/18] Compiling SimpleNetworking POSTEncoding.swift
[5/18] Compiling SimpleNetworking resource_bundle_accessor.swift
[6/18] Compiling SimpleNetworking HTTPMethod.swift
[7/18] Compiling SimpleNetworking NetworkResponse.swift
[8/18] Compiling SimpleNetworking cookies.swift
[9/18] Compiling SimpleNetworking createHTTPBody.swift
[10/18] Compiling SimpleNetworking request.swift
[11/18] Compiling SimpleNetworking Debug.swift
[12/18] Compiling SimpleNetworking isURL.swift
[13/18] Compiling SimpleNetworking toJSON.swift
[14/18] Compiling SimpleNetworking SimpleNetworking.swift
[15/18] Compiling SimpleNetworking WebSocket.swift
[16/18] Emitting module SimpleNetworking
[17/18] Compiling SimpleNetworking exec.swift
[18/18] Compiling SimpleNetworking logging.swift
Build of target: 'SimpleNetworking' complete! (0.92s)
     178
2	/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: 178
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-simplenetworking-main-4fb0313c.zip to s3://spi-docs-inbox/prod-0xwdg-simplenetworking-main-4fb0313c.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [71%]
Copying... [85%]
Copying... [99%]
Copying... [100%]
Done.