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 SimpleNetworking, reference main (e6c9dc), with Swift 6.2 (beta) for Linux on 22 Jun 2025 21:15:58 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SimpleNetworking.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/0xWDG/SimpleNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6c9dcb Update README.md
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
e6c9dcbb9030fc1566ab5f6410a577a200efc2af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SimpleNetworking.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/0xWDG/SimpleNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Compiling SimpleNetworking isURL.swift
[5/19] Compiling SimpleNetworking toJSON.swift
[6/19] Compiling SimpleNetworking SimpleNetworking.swift
[7/19] Emitting module SimpleNetworking
[8/21] Compiling SimpleNetworking createHTTPBody.swift
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift:52:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
 50 |                 return try await withCheckedThrowingContinuation { continuation in
 51 |                     exec(with: request, completionHandler: { response in
 52 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 53 |                     }, file: file, line: line, function: function)
 54 |                 }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[9/21] Compiling SimpleNetworking exec.swift
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift:52:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
 50 |                 return try await withCheckedThrowingContinuation { continuation in
 51 |                     exec(with: request, completionHandler: { response in
 52 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 53 |                     }, file: file, line: line, function: function)
 54 |                 }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[10/21] Compiling SimpleNetworking NetworkingError.swift
[11/21] Compiling SimpleNetworking POSTEncoding.swift
[12/21] Compiling SimpleNetworking logging.swift
[13/21] Compiling SimpleNetworking request.swift
[14/21] Compiling SimpleNetworking Debug.swift
[15/21] Compiling SimpleNetworking HTTPHeader.swift
[16/21] Compiling SimpleNetworking HTTPMethod.swift
[17/21] Compiling SimpleNetworking NetworkResponse.swift
[18/21] Compiling SimpleNetworking WebSocket.swift
[19/21] Compiling SimpleNetworking cookies.swift
[20/21] Compiling SimpleNetworking SNMock.swift
[21/21] Compiling SimpleNetworking resource_bundle_accessor.swift
Build complete! (26.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimpleNetworking",
  "name" : "SimpleNetworking",
  "path" : "/host/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" : "/host/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/HTTPHeader.swift",
        "Structs/HTTPMethod.swift",
        "Structs/NetworkResponse.swift",
        "Structs/NetworkingError.swift",
        "Structs/POSTEncoding.swift",
        "Structs/SNMock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.