This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 URLEncodedForm with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor/url-encoded-form.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor/url-encoded-form
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 62b1900 Create LICENSE
Cloned https://github.com/vapor/url-encoded-form.git
Revision (git rev-parse @):
62b19009e6c3484f340db28828cc0f07f626a38e
SUCCESS checkout https://github.com/vapor/url-encoded-form.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/vapor/url-encoded-form.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/16] Write sources
[10/16] Compiling CNIOLinux shim.c
[10/16] Compiling CNIOLinux ifaddrs-android.c
[12/16] Write swift-version-6F35C1178C84523A.txt
[13/25] Compiling CNIODarwin shim.c
[14/25] Compiling CNIOSHA1 c_nio_sha1.c
[15/25] Compiling c-atomics.c
[17/28] Emitting module COperatingSystem
[18/28] Compiling COperatingSystem libc.swift
[19/28] Compiling NIOPriorityQueue Heap.swift
[20/28] Emitting module NIOPriorityQueue
[21/28] Compiling NIOPriorityQueue PriorityQueue.swift
[22/28] Emitting module NIOConcurrencyHelpers
[23/28] Compiling NIOConcurrencyHelpers lock.swift
[24/28] Compiling NIOConcurrencyHelpers atomics.swift
[25/79] Compiling NIO PendingWritesManager.swift
[26/79] Compiling NIO PriorityQueue.swift
[27/79] Compiling NIO RecvByteBufferAllocator.swift
[28/79] Compiling NIO Resolver.swift
[29/79] Compiling NIO Selectable.swift
[30/84] Compiling NIO FileHandle.swift
[31/84] Compiling NIO FileRegion.swift
[32/84] Compiling NIO GetaddrinfoResolver.swift
[33/84] Compiling NIO HappyEyeballs.swift
[34/84] Compiling NIO Heap.swift
[35/84] Compiling NIO IO.swift
[36/84] Compiling NIO MarkedCircularBuffer.swift
[37/84] Compiling NIO MulticastChannel.swift
[38/84] Compiling NIO NIOAny.swift
[39/84] Compiling NIO NonBlockingFileIO.swift
[40/84] Compiling NIO PendingDatagramWritesManager.swift
[41/84] Compiling NIO SocketOptionProvider.swift
[42/84] Compiling NIO System.swift
[43/84] Compiling NIO Thread.swift
[44/84] Compiling NIO TypeAssistedChannelHandler.swift
[45/84] Compiling NIO Utilities.swift
[46/84] Compiling NIO ContiguousCollection.swift
[47/84] Compiling NIO DeadChannel.swift
[48/84] Compiling NIO Embedded.swift
[49/84] Compiling NIO EventLoop.swift
[50/84] Compiling NIO EventLoopFuture.swift
[51/84] Compiling NIO FileDescriptor.swift
[52/84] Compiling NIO IOData.swift
[53/84] Compiling NIO IntegerTypes.swift
[54/84] Compiling NIO Interfaces.swift
[55/84] Compiling NIO Linux.swift
[56/84] Compiling NIO LinuxCPUSet.swift
[57/84] Compiling NIO ByteBuffer-core.swift
[58/84] Compiling NIO ByteBuffer-int.swift
[59/84] Compiling NIO ByteBuffer-views.swift
[60/84] Compiling NIO Channel.swift
[61/84] Compiling NIO ChannelHandler.swift
[62/84] Compiling NIO ChannelHandlers.swift
[63/84] Compiling NIO ChannelInvoker.swift
[64/84] Compiling NIO ChannelOption.swift
[65/84] Compiling NIO ChannelPipeline.swift
[66/84] Compiling NIO CircularBuffer.swift
[67/84] Compiling NIO Codec.swift
[68/84] Compiling NIO CompositeError.swift
[69/84] Emitting module NIO
[70/84] Compiling NIO AddressedEnvelope.swift
[71/84] Compiling NIO BaseSocket.swift
[72/84] Compiling NIO BaseSocketChannel.swift
[73/84] Compiling NIO BlockingIOThreadPool.swift
[74/84] Compiling NIO Bootstrap.swift
[75/84] Compiling NIO ByteBuffer-aux.swift
[76/84] Compiling NIO Selector.swift
[77/84] Compiling NIO ServerSocket.swift
[78/84] Compiling NIO Socket.swift
[79/84] Compiling NIO SocketAddresses.swift
[80/84] Compiling NIO SocketChannel.swift
[81/101] Compiling Async Future+Void.swift
[82/101] Compiling Async Future+Map.swift
[83/101] Compiling Async Future+Transform.swift
[84/102] Compiling Async Future+Flatten.swift
[85/102] Compiling Async Future+Global.swift
[86/102] Compiling Async Exports.swift
[87/102] Compiling Async Future+DoCatch.swift
[88/102] Compiling Async Collection+Future.swift
[89/102] Compiling Async Deprecated.swift
[90/102] Compiling Async Async+NIO.swift
[91/102] Compiling Async AsyncError.swift
[92/102] Emitting module Async
[93/102] Compiling Async Future+Variadic.swift
[94/102] Compiling Async Worker.swift
[95/102] Compiling Async FutureType.swift
[96/102] Compiling Async QueueHandler.swift
[97/102] Emitting module Debugging
[98/102] Compiling Debugging SourceLocation.swift
[99/102] Compiling Debugging Demangler.swift
[100/102] Compiling Debugging Debuggable.swift
[101/102] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[102/102] Emitting module NIOFoundationCompat
[103/114] Compiling Bits Bytes.swift
[104/114] Compiling Bits ByteBuffer+peek.swift
[105/114] Compiling Bits ByteBuffer+string.swift
[106/114] Emitting module Bits
[107/114] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[108/114] Compiling Bits Byte+Control.swift
[109/114] Compiling Bits Byte+Digit.swift
[110/114] Compiling Bits BitsError.swift
[111/114] Compiling Bits Byte+Alphabet.swift
[112/114] Compiling Bits Data+Strings.swift
[113/114] Compiling Bits Data+Bytes.swift
[114/114] Compiling Bits ByteBuffer+require.swift
[115/115] Compiling Bits Deprecated.swift
[116/139] Compiling Core File.swift
[117/139] Compiling Core Future+Unwrap.swift
[118/139] Compiling Core FutureEncoder.swift
[119/141] Compiling Core Process+Execute.swift
[120/141] Compiling Core Reflectable.swift
[121/141] Compiling Core BasicKey.swift
[122/141] Compiling Core CaseInsensitiveString.swift
[123/141] Compiling Core Decodable+Reflectable.swift
[124/141] Compiling Core String+Utilities.swift
[125/141] Compiling Core Thread+Async.swift
[126/141] Compiling Core ReflectionDecodable.swift
[127/141] Compiling Core ReflectionDecoders.swift
[128/141] Compiling Core CoreError.swift
[129/141] Compiling Core NotFound.swift
[130/141] Compiling Core OptionalType.swift
[131/141] Emitting module Core
[132/141] Compiling Core Deprecated.swift
[133/141] Compiling Core DirectoryConfig.swift
[134/141] Compiling Core Exports.swift
[135/141] Compiling Core HeaderValue.swift
[136/141] Compiling Core LosslessDataConvertible.swift
[137/141] Compiling Core Data+Base64URL.swift
[138/141] Compiling Core Data+Hex.swift
[139/141] Compiling Core DataCoders.swift
[140/141] Compiling Core MediaType.swift
[141/141] Compiling Core NestedData.swift
[142/150] Compiling URLEncodedForm Exports.swift
[143/150] Compiling URLEncodedForm URLEncodedFormSerializer.swift
/Users/admin/builder/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: annotate 'default' 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
 7 |
 8 |     /// Create a new form-urlencoded data serializer.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:78:13: warning: var '_allowedCharacters' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate '_allowedCharacters' 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
79 |     var allowed = CharacterSet.urlQueryAllowed
80 |     allowed.remove(charactersIn: "?&=[];+")
[144/150] Compiling URLEncodedForm URLEncodedFormParser.swift
/Users/admin/builder/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: annotate 'default' 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
  7 |
  8 |     /// Create a new form-urlencoded data parser.
[145/150] Compiling URLEncodedForm URLEncodedFormError.swift
[146/150] Compiling URLEncodedForm URLEncodedFormEncoder.swift
[147/150] Compiling URLEncodedForm URLEncodedFormDataConvertible.swift
[148/150] Emitting module URLEncodedForm
/Users/admin/builder/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: annotate 'default' 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
  7 |
  8 |     /// Create a new form-urlencoded data parser.
/Users/admin/builder/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: annotate 'default' 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
 7 |
 8 |     /// Create a new form-urlencoded data serializer.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:78:13: warning: var '_allowedCharacters' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate '_allowedCharacters' 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
79 |     var allowed = CharacterSet.urlQueryAllowed
80 |     allowed.remove(charactersIn: "?&=[];+")
[149/150] Compiling URLEncodedForm URLEncodedFormDecoder.swift
[150/150] Compiling URLEncodedForm URLEncodedFormData.swift
Build complete! (30.79s)
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.70s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.69s)
Fetching https://github.com/apple/swift-nio.git
[1/65610] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.70s)
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.63s)
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.64s)
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/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/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
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
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" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.