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.5 (055710), with Swift 6.0 for Linux on 10 Jan 2025 17:25:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SimpleNetworking.git
Reference: 1.1.5
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
 * tag               1.1.5      -> FETCH_HEAD
HEAD is now at 0557109 Fix posting
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
0557109b36ff4a6b7245e852a7d1b3148693e2fa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SimpleNetworking.git at 1.1.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/SimpleNetworking.git
https://github.com/0xWDG/SimpleNetworking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Emitting module SimpleNetworking
[5/21] Compiling SimpleNetworking NetworkingError.swift
[6/21] Compiling SimpleNetworking POSTEncoding.swift
[7/21] Compiling SimpleNetworking SNMock.swift
[8/21] Compiling SimpleNetworking resource_bundle_accessor.swift
[9/21] Compiling SimpleNetworking Debug.swift
[10/21] Compiling SimpleNetworking HTTPHeader.swift
[11/21] Compiling SimpleNetworking isURL.swift
[12/21] Compiling SimpleNetworking toJSON.swift
[13/21] Compiling SimpleNetworking SimpleNetworking.swift
[14/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
 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
    |                                      `- 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 |                 }
[15/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
 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
    |                                      `- 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 |                 }
[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 logging.swift
[21/21] Compiling SimpleNetworking request.swift
Build complete! (11.81s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.