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 Linux on 31 Oct 2024 22:24:35 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ilyapuchka/URLFormat.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.17s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3294] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.23s)
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)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/37] Emitting module Prelude
[6/41] Compiling Prelude NearSemiring.swift
[7/41] Compiling Prelude Never.swift
[8/41] Compiling Prelude Operators.swift
[9/41] Compiling Prelude Optional.swift
[10/41] Compiling Prelude Comparator.swift
[11/41] Compiling Prelude Curry.swift
[12/41] Compiling Prelude Endo.swift
[13/41] Compiling Prelude Equatable.swift
[14/41] Compiling Prelude EuclideanRing.swift
[15/41] Compiling Prelude String.swift
[16/41] Compiling Prelude Strong.swift
[17/41] Compiling Prelude Tuple.swift
[18/41] Compiling Prelude Unit.swift
[19/41] Compiling Prelude Alt.swift
[20/41] Compiling Prelude Array.swift
[21/41] Compiling Prelude Collection.swift
[22/41] Compiling Prelude CommutativeRing.swift
[23/41] Compiling Prelude Comparable.swift
[24/41] Compiling Prelude Field.swift
[25/41] Compiling Prelude Filterable.swift
[26/41] Compiling Prelude FreeNearSemiring.swift
[27/41] Compiling Prelude Func.swift
[28/41] Compiling Prelude Function.swift
[29/41] Compiling Prelude Parallel.swift
[30/41] Compiling Prelude Plus.swift
[31/41] Compiling Prelude PrecedenceGroups.swift
[32/41] Compiling Prelude Ring.swift
[33/41] Compiling Prelude Semigroup.swift
[34/41] Compiling Prelude Semiring.swift
[35/41] Compiling Prelude Sequence.swift
[36/41] Compiling Prelude Set.swift
[37/41] Compiling Prelude HeytingAlgebra.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
[43/49] Compiling CommonParsers Template.swift
[44/49] Emitting module CommonParsers
[45/49] Compiling CommonParsers Format.swift
[46/49] Compiling CommonParsers Parser.swift
[47/49] Compiling CommonParsers PartialIso.swift
[48/49] Compiling CommonParsers Matchable.swift
[49/49] Compiling CommonParsers Parenthesize.swift
[51/52] Compiling URLFormat URLFormat.swift
/host/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 {
[52/52] Emitting module URLFormat
/host/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! (15.22s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.