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 SgRouter, reference master (1554b8), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:18:39 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/gavrilaf/sgrouter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gavrilaf/sgrouter
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1554b8c renamed PerfTest -> RouterPerfTest
Cloned https://github.com/gavrilaf/sgrouter.git
Revision (git rev-parse @):
1554b8c99ebbb7b26b2480f7e3b84f76a757a81a
SUCCESS checkout https://github.com/gavrilaf/sgrouter.git at master
Fetching https://github.com/gavrilaf/SwiftPerfTool.git
[1/72] Fetching swiftperftool
Fetched https://github.com/gavrilaf/SwiftPerfTool.git from cache (0.62s)
Computing version for https://github.com/gavrilaf/SwiftPerfTool.git
Computed https://github.com/gavrilaf/SwiftPerfTool.git at 0.1.1 (0.69s)
Creating working copy for https://github.com/gavrilaf/SwiftPerfTool.git
Working copy of https://github.com/gavrilaf/SwiftPerfTool.git resolved at 0.1.1
========================================
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": "sgrouter",
      "name": "SgRouter",
      "url": "https://github.com/gavrilaf/sgrouter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sgrouter",
      "dependencies": [
        {
          "identity": "swiftperftool",
          "name": "SwiftPerfTool",
          "url": "https://github.com/gavrilaf/SwiftPerfTool.git",
          "version": "0.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPerfTool",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/gavrilaf/sgrouter.git
[1/90] Fetching sgrouter
Fetched https://github.com/gavrilaf/sgrouter.git from cache (0.64s)
Fetching https://github.com/gavrilaf/SwiftPerfTool.git from cache
Fetched https://github.com/gavrilaf/SwiftPerfTool.git from cache (0.47s)
Computing version for https://github.com/gavrilaf/SwiftPerfTool.git
Computed https://github.com/gavrilaf/SwiftPerfTool.git at 0.1.1 (0.02s)
Creating working copy for https://github.com/gavrilaf/sgrouter.git
Working copy of https://github.com/gavrilaf/sgrouter.git resolved at master (1554b8c)
Creating working copy for https://github.com/gavrilaf/SwiftPerfTool.git
Working copy of https://github.com/gavrilaf/SwiftPerfTool.git resolved at 0.1.1
Found 1 product dependencies
  - SwiftPerfTool
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/gavrilaf/sgrouter.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/8] Write sources
[3/8] Write RouterPerfTest-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/19] Compiling SgRouter RouterError.swift
[7/19] Compiling SwiftPerfTool ApproximateEquatable.swift
[8/19] Compiling SwiftPerfTool Errors.swift
[9/19] Compiling SgRouter UriParser.swift
[10/19] Compiling SgRouter Node.swift
[11/19] Emitting module SgRouter
[12/19] Compiling SgRouter Router.swift
[13/19] Compiling SwiftPerfTool Memory.swift
[14/19] Compiling SwiftPerfTool SwiftPerfTool.swift
[15/19] Compiling SwiftPerfTool Scores.swift
[16/19] Emitting module SwiftPerfTool
[17/21] Compiling RouterPerfTest main.swift
[18/21] Emitting module RouterPerfTest
[18/21] Write Objects.LinkFileList
[19/21] Linking RouterPerfTest
[20/21] Applying RouterPerfTest
Build complete! (15.93s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftperftool",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SwiftPerfTool.git"
    }
  ],
  "manifest_display_name" : "SgRouter",
  "name" : "SgRouter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SgRouter",
      "targets" : [
        "SgRouter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RouterPerfTest",
      "targets" : [
        "RouterPerfTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SgRouterTests",
      "module_type" : "SwiftTarget",
      "name" : "SgRouterTests",
      "path" : "Tests/SgRouterTests",
      "sources" : [
        "Helpers/Asserts.swift",
        "Helpers/Node+TestHelpers.swift",
        "Helpers/Router+TestHelpers.swift",
        "Helpers/UriParser+TestHelpers.swift",
        "NodeTests.swift",
        "RouterTests.swift",
        "UriParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SgRouter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SgRouter",
      "module_type" : "SwiftTarget",
      "name" : "SgRouter",
      "path" : "Sources/SgRouter",
      "product_memberships" : [
        "SgRouter",
        "RouterPerfTest"
      ],
      "sources" : [
        "Node.swift",
        "Router.swift",
        "RouterError.swift",
        "UriParser.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RouterPerfTest",
      "module_type" : "SwiftTarget",
      "name" : "RouterPerfTest",
      "path" : "Sources/Examples/RouterPerfTest",
      "product_dependencies" : [
        "SwiftPerfTool"
      ],
      "product_memberships" : [
        "RouterPerfTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SgRouter"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Done.