The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SemVer, reference 3.0.0-Beta.5 (adcdc0), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 01:21:56 UTC.

Swift 6 data race errors: 1

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RougeWare/Swift-SemVer.git
Reference: 3.0.0-Beta.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RougeWare/Swift-SemVer
 * tag               3.0.0-Beta.5 -> FETCH_HEAD
HEAD is now at adcdc08 Merge pull request #30 from RougeWare/feature/29-Fuzzy-comparison
Cloned https://github.com/RougeWare/Swift-SemVer.git
Revision (git rev-parse @):
adcdc0836253c9bbb5b337eaa9d87553012ae248
SUCCESS checkout https://github.com/RougeWare/Swift-SemVer.git at 3.0.0-Beta.5
========================================
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-semver",
      "name": "SemVer",
      "url": "https://github.com/RougeWare/Swift-SemVer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift-SemVer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/RougeWare/Swift-SemVer.git
[1/271] Fetching swift-semver
Fetched https://github.com/RougeWare/Swift-SemVer.git from cache (0.80s)
Creating working copy for https://github.com/RougeWare/Swift-SemVer.git
Working copy of https://github.com/RougeWare/Swift-SemVer.git resolved at 3.0.0-Beta.5 (adcdc08)
warning: '.resolve-product-dependencies': dependency 'swift-semver' 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/RougeWare/Swift-SemVer.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling SemVer Semantic Version.swift
[4/9] Compiling SemVer Testing tools.swift
/Users/admin/builder/spi-builder-workspace/Sources/SemVer/Testing tools.swift:25:16: warning: static property 'isTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |     ///
24 |     /// Ideally, this would be a compile-time flag. However, it seems that isn't being respected with my current setup, so I don't trust it.
25 |     static var isTesting = false
   |                |- warning: static property 'isTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isTesting' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isTesting' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[5/9] Compiling SemVer Semantic Version + Comparable.swift
[6/9] Emitting module SemVer
/Users/admin/builder/spi-builder-workspace/Sources/SemVer/Testing tools.swift:25:16: warning: static property 'isTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |     ///
24 |     /// Ideally, this would be a compile-time flag. However, it seems that isn't being respected with my current setup, so I don't trust it.
25 |     static var isTesting = false
   |                |- warning: static property 'isTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isTesting' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'isTesting' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 |
[7/9] Compiling SemVer Semantic Version + Hashable.swift
[8/9] Compiling SemVer Semantic Version + Codable.swift
[9/9] Compiling SemVer Conveniences.swift
Build complete! (8.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SemVer",
  "name" : "SemVer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "SemVer",
      "targets" : [
        "SemVer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SemVerTests",
      "module_type" : "SwiftTarget",
      "name" : "SemVerTests",
      "path" : "Tests/SemVerTests",
      "sources" : [
        "SemVer mutations tests.swift",
        "SemVer+Codable Tests.swift",
        "SemVer+Comparable Tests.swift",
        "SemVer+Hashable Tests.swift",
        "SemVerTests.swift",
        "Testing tools.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SemVer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SemVer",
      "module_type" : "SwiftTarget",
      "name" : "SemVer",
      "path" : "Sources/SemVer",
      "product_memberships" : [
        "SemVer"
      ],
      "sources" : [
        "Conveniences.swift",
        "Semantic Version + Codable.swift",
        "Semantic Version + Comparable.swift",
        "Semantic Version + Hashable.swift",
        "Semantic Version.swift",
        "Testing tools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.