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 PcgRandom, reference main (a6b074), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 18:30:10 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/paiv/swift-pcg-random.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/paiv/swift-pcg-random
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a6b0749 patch support for visionOS, tvOS
Cloned https://github.com/paiv/swift-pcg-random.git
Revision (git rev-parse @):
a6b07494d67b83a5548e46b1925d31513c5cae7a
SUCCESS checkout https://github.com/paiv/swift-pcg-random.git at main
========================================
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": "swift-pcg-random",
      "name": "PcgRandom",
      "url": "https://github.com/paiv/swift-pcg-random.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-pcg-random",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/paiv/swift-pcg-random.git
[1/399] Fetching swift-pcg-random
Fetched https://github.com/paiv/swift-pcg-random.git from cache (0.96s)
Creating working copy for https://github.com/paiv/swift-pcg-random.git
Working copy of https://github.com/paiv/swift-pcg-random.git resolved at main (a6b0749)
warning: '.resolve-product-dependencies': dependency 'swift-pcg-random' 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/paiv/swift-pcg-random.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] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling PcgRandomC PcgRandom.c
[4/9] Compiling PcgRandom UInt128.swift
[5/9] Compiling PcgRandom PcgRandomLocking.swift
[6/9] Compiling PcgRandom PcgRandom.swift
[7/9] Emitting module PcgRandom
[8/9] Compiling PcgRandom OSUnfairLock.swift
[9/9] Compiling PcgRandom PThreadMutex.swift
Build complete! (4.37s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PcgRandom",
  "name" : "PcgRandom",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "PcgRandom",
      "targets" : [
        "PcgRandom"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PcgRandomTests",
      "module_type" : "SwiftTarget",
      "name" : "PcgRandomTests",
      "path" : "Tests/PcgRandomTests",
      "sources" : [
        "PcgRandomTests.swift"
      ],
      "target_dependencies" : [
        "PcgRandom"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PcgRandomC",
      "module_type" : "ClangTarget",
      "name" : "PcgRandomC",
      "path" : "Sources/PcgRandomC",
      "product_memberships" : [
        "PcgRandom"
      ],
      "sources" : [
        "PcgRandom.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PcgRandom",
      "module_type" : "SwiftTarget",
      "name" : "PcgRandom",
      "path" : "Sources/PcgRandom",
      "product_memberships" : [
        "PcgRandom"
      ],
      "sources" : [
        "OSUnfairLock.swift",
        "PThreadMutex.swift",
        "PcgRandom.swift",
        "PcgRandomLocking.swift",
        "UInt128.swift"
      ],
      "target_dependencies" : [
        "PcgRandomC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.