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 1.1.0 (20f68f), with Swift 6.1 for Linux on 28 Apr 2025 06:29:29 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/url-encoded-form.git
Reference: 1.1.0
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/vapor/url-encoded-form
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 20f68fb Merge pull request #25 from onuniverse/bug/urlSupport
Cloned https://github.com/vapor/url-encoded-form.git
Revision (git rev-parse @):
20f68fbe7fac006d4d0617ea4edcba033227359e
SUCCESS checkout https://github.com/vapor/url-encoded-form.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vapor/url-encoded-form.git
https://github.com/vapor/url-encoded-form.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "URLEncodedForm",
  "name" : "URLEncodedForm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URLEncodedForm",
      "targets" : [
        "URLEncodedForm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLEncodedFormTests",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedFormTests",
      "path" : "Tests/URLEncodedFormTests",
      "sources" : [
        "URLEncodedFormCodableTests.swift",
        "URLEncodedFormParserTests.swift",
        "URLEncodedFormSerializerTests.swift"
      ],
      "target_dependencies" : [
        "URLEncodedForm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLEncodedForm",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedForm",
      "path" : "Sources/URLEncodedForm",
      "product_dependencies" : [
        "Core"
      ],
      "product_memberships" : [
        "URLEncodedForm"
      ],
      "sources" : [
        "Codable/URLEncodedFormDecoder.swift",
        "Codable/URLEncodedFormEncoder.swift",
        "Data/URLEncodedFormData.swift",
        "Data/URLEncodedFormDataConvertible.swift",
        "Data/URLEncodedFormParser.swift",
        "Data/URLEncodedFormSerializer.swift",
        "Utilities/Exports.swift",
        "Utilities/URLEncodedFormError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.95s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (1.51s)
Fetching https://github.com/apple/swift-nio.git
[1/75439] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (5.90s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.22s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.75s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/16] Write sources
[10/16] Compiling CNIODarwin shim.c
[11/16] Compiling CNIOLinux ifaddrs-android.c
[12/16] Compiling CNIOSHA1 c_nio_sha1.c
[13/16] Compiling CNIOLinux shim.c
[14/16] Write swift-version-24593BA9C3E375BF.txt
[15/25] Compiling c-atomics.c
[17/28] Compiling Debugging SourceLocation.swift
[18/28] Compiling NIOPriorityQueue PriorityQueue.swift
[19/28] Emitting module NIOPriorityQueue
[20/28] Compiling NIOPriorityQueue Heap.swift
[22/29] Compiling NIOConcurrencyHelpers lock.swift
[23/29] Emitting module NIOConcurrencyHelpers
[24/29] Compiling NIOConcurrencyHelpers atomics.swift
[25/30] Compiling COperatingSystem libc.swift
[26/30] Emitting module COperatingSystem
[29/31] Compiling Debugging Demangler.swift
[30/31] Emitting module Debugging
[31/31] Compiling Debugging Debuggable.swift
[33/82] Compiling NIO Heap.swift
[34/82] Compiling NIO IO.swift
[35/82] Compiling NIO IOData.swift
[36/82] Compiling NIO IntegerTypes.swift
[37/82] Compiling NIO Interfaces.swift
[38/82] Compiling NIO Linux.swift
[39/82] Compiling NIO LinuxCPUSet.swift
[40/88] Emitting module NIO
[41/88] Compiling NIO MarkedCircularBuffer.swift
[42/88] Compiling NIO MulticastChannel.swift
[43/88] Compiling NIO NIOAny.swift
[44/88] Compiling NIO NonBlockingFileIO.swift
[45/88] Compiling NIO PendingDatagramWritesManager.swift
[46/88] Compiling NIO PendingWritesManager.swift
[47/88] Compiling NIO PriorityQueue.swift
[48/88] Compiling NIO EventLoop.swift
[49/88] Compiling NIO EventLoopFuture.swift
[50/88] Compiling NIO FileDescriptor.swift
[51/88] Compiling NIO FileHandle.swift
[52/88] Compiling NIO FileRegion.swift
[53/88] Compiling NIO GetaddrinfoResolver.swift
[54/88] Compiling NIO HappyEyeballs.swift
[55/88] Compiling NIO RecvByteBufferAllocator.swift
[56/88] Compiling NIO Resolver.swift
[57/88] Compiling NIO Selectable.swift
[58/88] Compiling NIO Selector.swift
[59/88] Compiling NIO ServerSocket.swift
[60/88] Compiling NIO Socket.swift
[61/88] Compiling NIO SocketAddresses.swift
[62/88] Compiling NIO ChannelPipeline.swift
[63/88] Compiling NIO CircularBuffer.swift
[64/88] Compiling NIO Codec.swift
[65/88] Compiling NIO CompositeError.swift
[66/88] Compiling NIO ContiguousCollection.swift
[67/88] Compiling NIO DeadChannel.swift
[68/88] Compiling NIO Embedded.swift
[69/88] Compiling NIO ByteBuffer-int.swift
[70/88] Compiling NIO ByteBuffer-views.swift
[71/88] Compiling NIO Channel.swift
[72/88] Compiling NIO ChannelHandler.swift
[73/88] Compiling NIO ChannelHandlers.swift
[74/88] Compiling NIO ChannelInvoker.swift
[75/88] Compiling NIO ChannelOption.swift
[76/88] Compiling NIO AddressedEnvelope.swift
[77/88] Compiling NIO BaseSocket.swift
[78/88] Compiling NIO BaseSocketChannel.swift
[79/88] Compiling NIO BlockingIOThreadPool.swift
[80/88] Compiling NIO Bootstrap.swift
[81/88] Compiling NIO ByteBuffer-aux.swift
[82/88] Compiling NIO ByteBuffer-core.swift
[83/88] Compiling NIO SocketChannel.swift
[84/88] Compiling NIO SocketOptionProvider.swift
[85/88] Compiling NIO System.swift
[86/88] Compiling NIO Thread.swift
[87/88] Compiling NIO TypeAssistedChannelHandler.swift
[88/88] Compiling NIO Utilities.swift
[90/118] Emitting module Async
[91/119] Compiling Async Async+NIO.swift
[92/119] Compiling Async AsyncError.swift
[93/120] Compiling Async Collection+Future.swift
[94/120] Compiling Async Deprecated.swift
[95/120] Compiling Async Future+Flatten.swift
[96/120] Compiling Async Future+Global.swift
[97/120] Emitting module Bits
[98/120] Compiling Async Exports.swift
[99/120] Compiling Async Future+DoCatch.swift
[100/120] Compiling Bits Bytes.swift
[101/120] Compiling Async Future+Map.swift
[102/120] Compiling Async Future+Transform.swift
[103/120] Compiling Async Worker.swift
[106/120] Emitting module NIOFoundationCompat
[107/120] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[114/121] Compiling Bits Deprecated.swift
[115/121] Compiling Bits Data+Strings.swift
[116/121] Compiling Bits Data+Bytes.swift
[118/122] Compiling Async FutureType.swift
[119/122] Compiling Async QueueHandler.swift
[120/122] Compiling Async Future+Variadic.swift
[121/122] Compiling Async Future+Void.swift
[124/146] Compiling Core Future+Unwrap.swift
[125/146] Compiling Core FutureEncoder.swift
[126/146] Compiling Core HeaderValue.swift
[127/149] Compiling Core BasicKey.swift
[128/149] Compiling Core CaseInsensitiveString.swift
[129/149] Compiling Core Decodable+Reflectable.swift
[130/149] Compiling Core ReflectionDecodable.swift
[131/149] Compiling Core Reflectable.swift
[132/149] Compiling Core String+Utilities.swift
[133/149] Compiling Core Thread+Async.swift
[134/149] Emitting module Core
[135/149] Compiling Core NotFound.swift
[136/149] Compiling Core OptionalType.swift
[137/149] Compiling Core Process+Execute.swift
[138/149] Compiling Core DirectoryConfig.swift
[139/149] Compiling Core Exports.swift
[140/149] Compiling Core File.swift
[141/149] Compiling Core Data+Hex.swift
[142/149] Compiling Core DataCoders.swift
[143/149] Compiling Core Deprecated.swift
[144/149] Compiling Core ReflectionDecoders.swift
[145/149] Compiling Core CoreError.swift
[146/149] Compiling Core Data+Base64URL.swift
[147/149] Compiling Core LosslessDataConvertible.swift
[148/149] Compiling Core MediaType.swift
[149/149] Compiling Core NestedData.swift
[151/158] Compiling URLEncodedForm URLEncodedFormData.swift
[152/158] Compiling URLEncodedForm URLEncodedFormDataConvertible.swift
[153/159] Compiling URLEncodedForm URLEncodedFormError.swift
[154/159] Compiling URLEncodedForm Exports.swift
[155/159] Compiling URLEncodedForm URLEncodedFormSerializer.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:6:16: 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
 2 |
 3 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
 4 | final class URLEncodedFormSerializer {
   |             `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
 5 |     /// Default form url encoded serializer.
 6 |     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
 7 |
 8 |     /// Create a new form-urlencoded data serializer.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:78: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
76 |
77 | /// Characters allowed in form-urlencoded data.
78 | 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
79 |     var allowed = CharacterSet.urlQueryAllowed
80 |     allowed.remove(charactersIn: "?&=[];+")
[156/159] Compiling URLEncodedForm URLEncodedFormParser.swift
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:6:16: 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
  2 |
  3 | /// Converts `Data` to `[String: URLEncodedFormData]`.
  4 | final class URLEncodedFormParser {
    |             `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
  5 |     /// Default form url encoded parser.
  6 |     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
  7 |
  8 |     /// Create a new form-urlencoded data parser.
[157/159] Emitting module URLEncodedForm
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:6:16: 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
  2 |
  3 | /// Converts `Data` to `[String: URLEncodedFormData]`.
  4 | final class URLEncodedFormParser {
    |             `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
  5 |     /// Default form url encoded parser.
  6 |     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
  7 |
  8 |     /// Create a new form-urlencoded data parser.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:6:16: 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
 2 |
 3 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
 4 | final class URLEncodedFormSerializer {
   |             `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
 5 |     /// Default form url encoded serializer.
 6 |     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
 7 |
 8 |     /// Create a new form-urlencoded data serializer.
/host/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:78: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
76 |
77 | /// Characters allowed in form-urlencoded data.
78 | 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
79 |     var allowed = CharacterSet.urlQueryAllowed
80 |     allowed.remove(charactersIn: "?&=[];+")
[158/159] Compiling URLEncodedForm URLEncodedFormDecoder.swift
[159/159] Compiling URLEncodedForm URLEncodedFormEncoder.swift
Build complete! (25.29s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/core.git"
    }
  ],
  "manifest_display_name" : "URLEncodedForm",
  "name" : "URLEncodedForm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "URLEncodedForm",
      "targets" : [
        "URLEncodedForm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLEncodedFormTests",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedFormTests",
      "path" : "Tests/URLEncodedFormTests",
      "sources" : [
        "URLEncodedFormCodableTests.swift",
        "URLEncodedFormParserTests.swift",
        "URLEncodedFormSerializerTests.swift"
      ],
      "target_dependencies" : [
        "URLEncodedForm"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLEncodedForm",
      "module_type" : "SwiftTarget",
      "name" : "URLEncodedForm",
      "path" : "Sources/URLEncodedForm",
      "product_dependencies" : [
        "Core"
      ],
      "product_memberships" : [
        "URLEncodedForm"
      ],
      "sources" : [
        "Codable/URLEncodedFormDecoder.swift",
        "Codable/URLEncodedFormEncoder.swift",
        "Data/URLEncodedFormData.swift",
        "Data/URLEncodedFormDataConvertible.swift",
        "Data/URLEncodedFormParser.swift",
        "Data/URLEncodedFormSerializer.swift",
        "Utilities/Exports.swift",
        "Utilities/URLEncodedFormError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.