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 URLFormat, reference master (0f5039), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 22:36:19 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ilyapuchka/URLFormat.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ilyapuchka/URLFormat
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0f50393 Merge pull request #2 from richardgroves/patch-1
Cloned https://github.com/ilyapuchka/URLFormat.git
Revision (git rev-parse @):
0f5039308906fedfaa7445bcab729670ac609150
SUCCESS checkout https://github.com/ilyapuchka/URLFormat.git at master
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.69s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3294] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.98s)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (fb6f45c)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (c61b493)
========================================
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": "urlformat",
      "name": "URLFormat",
      "url": "https://github.com/ilyapuchka/URLFormat.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/URLFormat",
      "dependencies": [
        {
          "identity": "common-parsers",
          "name": "CommonParsers",
          "url": "https://github.com/ilyapuchka/common-parsers.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/common-parsers",
          "dependencies": [
            {
              "identity": "swift-prelude",
              "name": "Prelude",
              "url": "https://github.com/pointfreeco/swift-prelude.git",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prelude",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ilyapuchka/URLFormat.git
[1/118] Fetching urlformat
Fetched https://github.com/ilyapuchka/URLFormat.git from cache (0.67s)
Fetching https://github.com/ilyapuchka/common-parsers.git from cache
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.48s)
Fetching https://github.com/pointfreeco/swift-prelude.git from cache
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.50s)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (fb6f45c)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at master (b4ceef2)
Creating working copy for https://github.com/ilyapuchka/URLFormat.git
Working copy of https://github.com/ilyapuchka/URLFormat.git resolved at master (0f50393)
warning: '.resolve-product-dependencies': dependency 'urlformat' is not used by any target
Found 1 product dependencies
  - CommonParsers
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ilyapuchka/URLFormat.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/38] Emitting module Prelude
[6/41] Compiling Prelude Sequence.swift
[7/41] Compiling Prelude Set.swift
[8/41] Compiling Prelude String.swift
[9/41] Compiling Prelude Alt.swift
[10/41] Compiling Prelude Array.swift
[11/41] Compiling Prelude Collection.swift
[12/41] Compiling Prelude CommutativeRing.swift
[13/41] Compiling Prelude Strong.swift
[14/41] Compiling Prelude Tuple.swift
[15/41] Compiling Prelude Unit.swift
[16/41] Compiling Prelude Parallel.swift
[17/41] Compiling Prelude Plus.swift
[18/41] Compiling Prelude PrecedenceGroups.swift
[19/41] Compiling Prelude Comparable.swift
[20/41] Compiling Prelude Comparator.swift
[21/41] Compiling Prelude Curry.swift
[22/41] Compiling Prelude Endo.swift
[23/41] Compiling Prelude FreeNearSemiring.swift
[24/41] Compiling Prelude Func.swift
[25/41] Compiling Prelude Function.swift
[26/41] Compiling Prelude HeytingAlgebra.swift
[27/41] Compiling Prelude Ring.swift
[28/41] Compiling Prelude Semigroup.swift
[29/41] Compiling Prelude Semiring.swift
[30/41] Compiling Prelude Equatable.swift
[31/41] Compiling Prelude EuclideanRing.swift
[32/41] Compiling Prelude Field.swift
[33/41] Compiling Prelude Filterable.swift
[34/41] Compiling Prelude NearSemiring.swift
[35/41] Compiling Prelude Never.swift
[36/41] Compiling Prelude Operators.swift
[37/41] Compiling Prelude Optional.swift
[38/41] Compiling Prelude Hole.swift
[39/41] Compiling Prelude IO.swift
[40/41] Compiling Prelude KeyPath.swift
[41/41] Compiling Prelude Monoid.swift
[42/48] Compiling CommonParsers PartialIso.swift
[43/48] Compiling CommonParsers Parser.swift
[44/48] Compiling CommonParsers Matchable.swift
[45/48] Compiling CommonParsers Format.swift
[46/48] Compiling CommonParsers Template.swift
[47/48] Emitting module CommonParsers
[48/48] Compiling CommonParsers Parenthesize.swift
[49/50] Emitting module URLFormat
/Users/admin/builder/spi-builder-workspace/Sources/URLFormat/URLFormat.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     }
 13 |
 14 |     public static var empty: URLRequestComponents = URLRequestComponents()
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' 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
 15 |
 16 |     public var isEmpty: Bool {
[50/50] Compiling URLFormat URLFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLFormat/URLFormat.swift:14:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |     }
 13 |
 14 |     public static var empty: URLRequestComponents = URLRequestComponents()
    |                       |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'empty' 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
 15 |
 16 |     public var isEmpty: Bool {
Build complete! (16.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "common-parsers",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ilyapuchka/common-parsers.git"
    }
  ],
  "manifest_display_name" : "URLFormat",
  "name" : "URLFormat",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URLFormat",
      "targets" : [
        "URLFormat"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLFormatTests",
      "module_type" : "SwiftTarget",
      "name" : "URLFormatTests",
      "path" : "Tests/URLFormatTests",
      "sources" : [
        "URLFormatTests.swift"
      ],
      "target_dependencies" : [
        "URLFormat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLFormat",
      "module_type" : "SwiftTarget",
      "name" : "URLFormat",
      "path" : "Sources/URLFormat",
      "product_dependencies" : [
        "CommonParsers"
      ],
      "product_memberships" : [
        "URLFormat"
      ],
      "sources" : [
        "URLFormat.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.