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 Nanoseconds, reference main (aec370), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 04:39:22 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/dominicegginton/Nanoseconds.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dominicegginton/Nanoseconds
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aec370b chore: update ci to allow for workflow disptach
Cloned https://github.com/dominicegginton/Nanoseconds.git
Revision (git rev-parse @):
aec370bb5f914df415b1b0894814abe91ae3825a
SUCCESS checkout https://github.com/dominicegginton/Nanoseconds.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": "nanoseconds",
      "name": "Nanoseconds",
      "url": "https://github.com/dominicegginton/Nanoseconds.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nanoseconds",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dominicegginton/Nanoseconds.git
[1/201] Fetching nanoseconds
Fetched https://github.com/dominicegginton/Nanoseconds.git from cache (0.79s)
Creating working copy for https://github.com/dominicegginton/Nanoseconds.git
Working copy of https://github.com/dominicegginton/Nanoseconds.git resolved at main (aec370b)
warning: '.resolve-product-dependencies': dependency 'nanoseconds' 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/dominicegginton/Nanoseconds.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/7] Write sources
[2/7] Write Example-entitlement.plist
[3/7] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling Nanoseconds TimeInterval.swift
[6/10] Emitting module Nanoseconds
[7/10] Compiling Nanoseconds Now.swift
[8/12] Emitting module Example
[9/12] Compiling Example main.swift
[9/12] Write Objects.LinkFileList
[10/12] Linking Example
[11/12] Applying Example
Build complete! (7.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Nanoseconds",
  "name" : "Nanoseconds",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Nanoseconds",
      "targets" : [
        "Nanoseconds"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NanosecondsTests",
      "module_type" : "SwiftTarget",
      "name" : "NanosecondsTests",
      "path" : "Tests/NanosecondsTests",
      "sources" : [
        "NowTests.swift",
        "TimeIntervalTests.swift"
      ],
      "target_dependencies" : [
        "Nanoseconds"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Nanoseconds",
      "module_type" : "SwiftTarget",
      "name" : "Nanoseconds",
      "path" : "Sources/Nanoseconds",
      "product_memberships" : [
        "Nanoseconds",
        "Example"
      ],
      "sources" : [
        "Now.swift",
        "TimeInterval.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Nanoseconds"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.