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 KVVlive, reference 1.0.2 (10c600), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 02:56:03 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marijanp/kvvliveapi.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marijanp/kvvliveapi
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 10c6000 Fixed nil-error while unwrapping the request, in case an error occurred Added semaphore.signal() to error handler
Cloned https://github.com/marijanp/kvvliveapi.git
Revision (git rev-parse @):
10c600097cd20f39fc995c3edb01152734522c94
SUCCESS checkout https://github.com/marijanp/kvvliveapi.git at 1.0.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": "kvvliveapi",
      "name": "KVVlive",
      "url": "https://github.com/marijanp/kvvliveapi.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/kvvliveapi",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/marijanp/kvvliveapi.git
[1/89] Fetching kvvliveapi
Fetched https://github.com/marijanp/kvvliveapi.git from cache (0.65s)
Creating working copy for https://github.com/marijanp/kvvliveapi.git
Working copy of https://github.com/marijanp/kvvliveapi.git resolved at 1.0.2 (10c6000)
warning: '.resolve-product-dependencies': dependency 'kvvliveapi' 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/marijanp/kvvliveapi.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling KVVlive Request.swift
/Users/admin/builder/spi-builder-workspace/KVVlive/Request.swift:123:71: warning: capture of 'self' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 18 |
 19 | //TODO public var newer: Request?
 20 | public class Request : NSObject {
    |              `- note: class 'Request' does not conform to the 'Sendable' protocol
 21 |
 22 |     /**
    :
121 |
122 |             if statusCode != 200 {
123 |                 print("Error, couldn't fetch data from given URL: " + self.searchURL.url!.absoluteString)
    |                                                                       `- warning: capture of 'self' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 |                 semaphore.signal()
125 |                 return
/Users/admin/builder/spi-builder-workspace/KVVlive/Request.swift:127:13: warning: mutation of captured var 'recievedData' in concurrently-executing code; this is an error in the Swift 6 language mode
125 |                 return
126 |             }
127 |             recievedData = data
    |             `- warning: mutation of captured var 'recievedData' in concurrently-executing code; this is an error in the Swift 6 language mode
128 |             semaphore.signal()
129 |         })
[4/7] Compiling KVVlive Stop.swift
[5/7] Compiling KVVlive StopWithDistance.swift
[6/7] Compiling KVVlive Departure.swift
[7/7] Emitting module KVVlive
Build complete! (7.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "KVVlive",
  "name" : "KVVlive",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "KVVlive",
      "targets" : [
        "KVVlive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KVVlive",
      "module_type" : "SwiftTarget",
      "name" : "KVVlive",
      "path" : "KVVlive",
      "product_memberships" : [
        "KVVlive"
      ],
      "sources" : [
        "Departure.swift",
        "Request.swift",
        "Stop.swift",
        "StopWithDistance.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.