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 1.1.2 (f336b1), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 18:35:45 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: 1.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/SimpleNetworking
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at f336b12 Merge pull request #10 from 0xWDG/fix-crash-cookies
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
f336b126e6557dcd71387e7443ba1267d2a0198b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SimpleNetworking.git at 1.1.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": "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/567] Fetching simplenetworking
Fetched https://github.com/0xWDG/SimpleNetworking.git from cache (0.96s)
Creating working copy for https://github.com/0xWDG/SimpleNetworking.git
Working copy of https://github.com/0xWDG/SimpleNetworking.git resolved at 1.1.2 (f336b12)
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 SNMock.swift
[5/20] Compiling SimpleNetworking exec.swift
[6/20] Compiling SimpleNetworking logging.swift
[7/20] Compiling SimpleNetworking request.swift
[8/20] Compiling SimpleNetworking Debug.swift
[9/20] Compiling SimpleNetworking HTTPMethod.swift
[10/20] Compiling SimpleNetworking NetworkResponse.swift
[11/20] Compiling SimpleNetworking cookies.swift
[12/20] Compiling SimpleNetworking createHTTPBody.swift
[13/20] Compiling SimpleNetworking NetworkingError.swift
[14/20] Compiling SimpleNetworking SimpleNetworking.swift
[15/20] Compiling SimpleNetworking WebSocket.swift
[16/20] Compiling SimpleNetworking isURL.swift
[17/20] Compiling SimpleNetworking toJSON.swift
[18/20] Emitting module SimpleNetworking
[19/20] Compiling SimpleNetworking POSTEncoding.swift
[20/20] Compiling SimpleNetworking resource_bundle_accessor.swift
Build complete! (19.17s)
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/1.1.2
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'. (3.56s)
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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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 '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.15s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/simplenetworking/1.1.2
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.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.72s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
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] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Compiling SymbolKit Names.swift
[9/57] Compiling SymbolKit SPI.swift
[10/57] Compiling SymbolKit Snippet.swift
[11/57] Compiling SymbolKit Extension.swift
[12/57] Emitting module Snippets
[13/57] Compiling Snippets Snippet.swift
[14/57] Compiling SymbolKit Mixin+Equals.swift
[15/57] Compiling SymbolKit Mixin+Hash.swift
[16/57] Compiling SymbolKit Mixin.swift
[17/57] Compiling SymbolKit LineList.swift
[18/57] Compiling SymbolKit Position.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit Identifier.swift
[25/57] Compiling SymbolKit KindIdentifier.swift
[26/57] Compiling SymbolKit Location.swift
[27/57] Compiling SymbolKit Mutability.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 Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit GenericConstraint.swift
[39/57] Compiling SymbolKit GenericParameter.swift
[40/57] Compiling SymbolKit Generics.swift
[41/57] Compiling SymbolKit Namespace.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 SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.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! (4.73s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/17] Compiling SimpleNetworking SNMock.swift
[3/17] Compiling SimpleNetworking request.swift
[4/17] Compiling SimpleNetworking Debug.swift
[5/17] Compiling SimpleNetworking NetworkingError.swift
[6/17] Compiling SimpleNetworking HTTPMethod.swift
[7/17] Compiling SimpleNetworking NetworkResponse.swift
[8/17] Compiling SimpleNetworking POSTEncoding.swift
[9/18] Compiling SimpleNetworking cookies.swift
[10/18] Compiling SimpleNetworking createHTTPBody.swift
[11/18] Compiling SimpleNetworking isURL.swift
[12/18] Compiling SimpleNetworking toJSON.swift
[13/18] Compiling SimpleNetworking SimpleNetworking.swift
[14/18] Compiling SimpleNetworking WebSocket.swift
[15/18] Compiling SimpleNetworking exec.swift
[16/18] Compiling SimpleNetworking logging.swift
[17/18] Emitting module SimpleNetworking
[18/18] Compiling SimpleNetworking resource_bundle_accessor.swift
Build of target: 'SimpleNetworking' complete! (1.36s)
     178
2	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/simplenetworking/1.1.2
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/simplenetworking/1.1.2
File count: 178
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-simplenetworking-1.1.2-142bde0c.zip to s3://spi-docs-inbox/prod-0xwdg-simplenetworking-1.1.2-142bde0c.zip
Copying... [14%]
Copying... [28%]
Copying... [42%]
Copying... [56%]
Copying... [70%]
Copying... [85%]
Copying... [99%]
Copying... [100%]
Done.