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 URLEncodedForm, reference main (cd690e), with Swift 6.1 for Android on 29 May 2025 09:25:44 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forXifLess/URLEncodedForm.git
Reference: main
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/forXifLess/URLEncodedForm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd690e9 fix: Delete Extension Methods
Cloned https://github.com/forXifLess/URLEncodedForm.git
Revision (git rev-parse @):
cd690e95f0df333293ec3f9fa9c2c7322ef54bbf
SUCCESS checkout https://github.com/forXifLess/URLEncodedForm.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/forXifLess/URLEncodedForm.git
https://github.com/forXifLess/URLEncodedForm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/airbnb/swift"
    }
  ],
  "manifest_display_name" : "URLEncodedForm",
  "name" : "URLEncodedForm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "URLEncodedForm",
      "targets" : [
        "URLEncodedForm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLEncodedFormTests",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedFormTests",
      "path" : "Tests/URLEncodedFormTests",
      "sources" : [
        "URLEncodedFormTests.swift"
      ],
      "target_dependencies" : [
        "URLEncodedForm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLEncodedForm",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedForm",
      "path" : "Sources/URLEncodedForm",
      "product_memberships" : [
        "URLEncodedForm"
      ],
      "sources" : [
        "Codable/URLEncodedFormDecoder.swift",
        "Codable/URLEncodedFormEncoder.swift",
        "Core/DataDecoder.swift",
        "Core/DataEncoder.swift",
        "Core/NestedData.swift",
        "Core/URLEncodedFormError.swift",
        "Data/URLEncodedFormData.swift",
        "Data/URLEncodedFormDataContext.swift",
        "Data/URLEncodedFormDataConvertible.swift",
        "Data/URLEncodedFormParser.swift",
        "Data/URLEncodedFormSerializer.swift",
        "URLEncodedForm.swift",
        "Util/Bytes/Byte+Control.swift",
        "Util/Bytes/Bytes.swift",
        "Util/CodingKey/BasicKey.swift",
        "Util/LosslessDataConvertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/airbnb/swift
[1/4159] Fetching swift
Fetched https://github.com/airbnb/swift from cache (2.10s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.0.8 (4.18s)
Fetching https://github.com/apple/swift-argument-parser
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.90s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.0.8
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[1369/45288358] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip
[35164/56322403] Downloading https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.36s)
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.56-beta-4/SwiftFormat.artifactbundle.zip (4.53s)
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:53:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 51 |
 52 |     let process = Process()
 53 |     process.launchPath = launchPath
    |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |             `- note: use 'executableURL' instead
 54 |     process.arguments = arguments
 55 |     try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling URLEncodedForm URLEncodedFormDataConvertible.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
  4 |
  5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
  6 | final class URLEncodedFormParser {
    |             `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
  7 |
  8 |   // MARK: Lifecycle
    :
 14 |
 15 |   /// Default form url encoded parser.
 16 |   static let `default` = URLEncodedFormParser()
    |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |   /// Parses the data.
[6/19] Compiling URLEncodedForm URLEncodedFormParser.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
  4 |
  5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
  6 | final class URLEncodedFormParser {
    |             `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
  7 |
  8 |   // MARK: Lifecycle
    :
 14 |
 15 |   /// Default form url encoded parser.
 16 |   static let `default` = URLEncodedFormParser()
    |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |   /// Parses the data.
[7/19] Compiling URLEncodedForm Byte+Control.swift
[8/19] Compiling URLEncodedForm Bytes.swift
[9/21] Emitting module URLEncodedForm
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
  4 |
  5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
  6 | final class URLEncodedFormParser {
    |             `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
  7 |
  8 |   // MARK: Lifecycle
    :
 14 |
 15 |   /// Default form url encoded parser.
 16 |   static let `default` = URLEncodedFormParser()
    |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |   /// Parses the data.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
 6 | final class URLEncodedFormSerializer {
   |             `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
 7 |
 8 |   // MARK: Lifecycle
   :
14 |
15 |   /// Default form url encoded serializer.
16 |   static let `default` = URLEncodedFormSerializer()
   |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |   /// Serializes the data.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
   |             |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_allowedCharacters' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |   var allowed = CharacterSet.urlQueryAllowed
89 |   allowed.remove(charactersIn: "?&=[];+")
[10/21] Compiling URLEncodedForm DataDecoder.swift
[11/21] Compiling URLEncodedForm DataEncoder.swift
[12/21] Compiling URLEncodedForm URLEncodedFormSerializer.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
 6 | final class URLEncodedFormSerializer {
   |             `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
 7 |
 8 |   // MARK: Lifecycle
   :
14 |
15 |   /// Default form url encoded serializer.
16 |   static let `default` = URLEncodedFormSerializer()
   |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |   /// Serializes the data.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
   |             |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_allowedCharacters' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |   var allowed = CharacterSet.urlQueryAllowed
89 |   allowed.remove(charactersIn: "?&=[];+")
[13/21] Compiling URLEncodedForm URLEncodedForm.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
 6 | final class URLEncodedFormSerializer {
   |             `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
 7 |
 8 |   // MARK: Lifecycle
   :
14 |
15 |   /// Default form url encoded serializer.
16 |   static let `default` = URLEncodedFormSerializer()
   |              |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |   /// Serializes the data.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
   |             |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var '_allowedCharacters' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |   var allowed = CharacterSet.urlQueryAllowed
89 |   allowed.remove(charactersIn: "?&=[];+")
[14/21] Compiling URLEncodedForm NestedData.swift
[15/21] Compiling URLEncodedForm URLEncodedFormError.swift
[16/21] Compiling URLEncodedForm URLEncodedFormDecoder.swift
[17/21] Compiling URLEncodedForm URLEncodedFormEncoder.swift
[18/21] Compiling URLEncodedForm URLEncodedFormData.swift
[19/21] Compiling URLEncodedForm URLEncodedFormDataContext.swift
[20/21] Compiling URLEncodedForm BasicKey.swift
[21/21] Compiling URLEncodedForm LosslessDataConvertible.swift
Build complete! (26.57s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/airbnb/swift"
    }
  ],
  "manifest_display_name" : "URLEncodedForm",
  "name" : "URLEncodedForm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "URLEncodedForm",
      "targets" : [
        "URLEncodedForm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLEncodedFormTests",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedFormTests",
      "path" : "Tests/URLEncodedFormTests",
      "sources" : [
        "URLEncodedFormTests.swift"
      ],
      "target_dependencies" : [
        "URLEncodedForm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLEncodedForm",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedForm",
      "path" : "Sources/URLEncodedForm",
      "product_memberships" : [
        "URLEncodedForm"
      ],
      "sources" : [
        "Codable/URLEncodedFormDecoder.swift",
        "Codable/URLEncodedFormEncoder.swift",
        "Core/DataDecoder.swift",
        "Core/DataEncoder.swift",
        "Core/NestedData.swift",
        "Core/URLEncodedFormError.swift",
        "Data/URLEncodedFormData.swift",
        "Data/URLEncodedFormDataContext.swift",
        "Data/URLEncodedFormDataConvertible.swift",
        "Data/URLEncodedFormParser.swift",
        "Data/URLEncodedFormSerializer.swift",
        "URLEncodedForm.swift",
        "Util/Bytes/Byte+Control.swift",
        "Util/Bytes/Bytes.swift",
        "Util/CodingKey/BasicKey.swift",
        "Util/LosslessDataConvertible.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.