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 Linux on 6 Nov 2024 05:15:16 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SimpleNetworking.git
Reference: 1.1.2
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.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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/SimpleNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling SimpleNetworking NetworkingError.swift
[5/18] Compiling SimpleNetworking POSTEncoding.swift
[6/20] Emitting module SimpleNetworking
[7/20] Compiling SimpleNetworking cookies.swift
[8/20] Compiling SimpleNetworking createHTTPBody.swift
[9/20] 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 |                 }
[10/20] Compiling SimpleNetworking logging.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 |                 }
[11/20] Compiling SimpleNetworking HTTPMethod.swift
[12/20] Compiling SimpleNetworking NetworkResponse.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 request.swift
[18/20] Compiling SimpleNetworking Debug.swift
[19/20] Compiling SimpleNetworking SNMock.swift
[20/20] Compiling SimpleNetworking resource_bundle_accessor.swift
Build complete! (16.88s)
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/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.