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 swift-openapi-urlsession with Swift 6.0 for Linux.

Swift 6 data race errors: 4

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tuist/swift-openapi-urlsession.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/tuist/swift-openapi-urlsession
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b08113 Enable strict concurrency checking in CI (#11)
Cloned https://github.com/tuist/swift-openapi-urlsession.git
Revision (git rev-parse @):
2b08113dab3356fbd2d9c87da50f4e4bb38933f8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/tuist/swift-openapi-urlsession.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tuist/swift-openapi-urlsession.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-docc-plugin
[1/1465] Fetching swift-docc-plugin
[573/5954] Fetching swift-docc-plugin, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.35s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.35s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.47s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2861] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.31s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.54s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 0.1.11 (0.40s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 0.1.11
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/48] Emitting module OpenAPIRuntime
[7/54] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[8/54] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[9/54] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[10/54] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[11/54] Compiling OpenAPIRuntime URIParser.swift
[12/54] Compiling OpenAPIRuntime URISerializer.swift
[13/54] Compiling OpenAPIRuntime ServerError.swift
[14/54] Compiling OpenAPIRuntime ClientTransport.swift
[15/54] Compiling OpenAPIRuntime CurrencyTypes.swift
[16/54] Compiling OpenAPIRuntime ServerTransport.swift
[17/54] Compiling OpenAPIRuntime UniversalClient.swift
[18/54] Compiling OpenAPIRuntime UniversalServer.swift
[19/54] Compiling OpenAPIRuntime URIDecoder.swift
[20/54] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[21/54] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[22/54] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[23/54] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[24/54] Compiling OpenAPIRuntime URIEncoder.swift
[25/54] Compiling OpenAPIRuntime Deprecated_AutoLosslessStringConvertible.swift
[26/54] Compiling OpenAPIRuntime Deprecated_RedactedHeaderFields.swift
[27/54] Compiling OpenAPIRuntime Deprecated_StringConvertible.swift
[28/54] Compiling OpenAPIRuntime ClientError.swift
[29/54] Compiling OpenAPIRuntime CodingErrors.swift
[30/54] Compiling OpenAPIRuntime RuntimeError.swift
[31/54] Compiling OpenAPIRuntime CurrencyExtensions.swift
[32/54] Compiling OpenAPIRuntime ErrorExtensions.swift
[33/54] Compiling OpenAPIRuntime FoundationExtensions.swift
[34/54] Compiling OpenAPIRuntime ParameterStyles.swift
[35/54] Compiling OpenAPIRuntime URLExtensions.swift
[36/54] Compiling OpenAPIRuntime Deprecated.swift
[37/54] Compiling OpenAPIRuntime Acceptable.swift
[38/54] Compiling OpenAPIRuntime CommonOutputPayloads.swift
[39/54] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[40/54] Compiling OpenAPIRuntime OpenAPIValue.swift
[41/54] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[42/54] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[43/54] Compiling OpenAPIRuntime CodableExtensions.swift
[44/54] Compiling OpenAPIRuntime Configuration.swift
[45/54] Compiling OpenAPIRuntime Converter+Client.swift
[46/54] Compiling OpenAPIRuntime Converter+Common.swift
[47/54] Compiling OpenAPIRuntime Converter+Server.swift
[48/54] Compiling OpenAPIRuntime Converter.swift
[49/54] Compiling OpenAPIRuntime StringDecoder.swift
[50/54] Compiling OpenAPIRuntime StringEncoder.swift
[51/54] Compiling OpenAPIRuntime URICodeCodingKey.swift
[52/54] Compiling OpenAPIRuntime URICoderConfiguration.swift
[53/54] Compiling OpenAPIRuntime URIEncodedNode.swift
[54/54] Compiling OpenAPIRuntime URIParsedNode.swift
[56/57] Compiling OpenAPIURLSession URLSessionTransport.swift
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:19:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 17 | #else
 18 | @preconcurrency import struct Foundation.URL
 19 | @preconcurrency import struct Foundation.URLComponents
    |                 `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 20 | @preconcurrency import struct Foundation.Data
 21 | @preconcurrency import protocol Foundation.LocalizedError
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:20:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 18 | @preconcurrency import struct Foundation.URL
 19 | @preconcurrency import struct Foundation.URLComponents
 20 | @preconcurrency import struct Foundation.Data
    |                 `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 21 | @preconcurrency import protocol Foundation.LocalizedError
 22 | #endif
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:21:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 19 | @preconcurrency import struct Foundation.URLComponents
 20 | @preconcurrency import struct Foundation.Data
 21 | @preconcurrency import protocol Foundation.LocalizedError
    |                 `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
 22 | #endif
 23 | #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:25:17: warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 23 | #if canImport(FoundationNetworking)
 24 | @preconcurrency import struct FoundationNetworking.URLRequest
 25 | @preconcurrency import class FoundationNetworking.URLSession
    |                 `- warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 26 | @preconcurrency import class FoundationNetworking.URLResponse
 27 | @preconcurrency import class FoundationNetworking.HTTPURLResponse
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:26:17: warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 24 | @preconcurrency import struct FoundationNetworking.URLRequest
 25 | @preconcurrency import class FoundationNetworking.URLSession
 26 | @preconcurrency import class FoundationNetworking.URLResponse
    |                 `- warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 27 | @preconcurrency import class FoundationNetworking.HTTPURLResponse
 28 | #endif
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:27:17: warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 25 | @preconcurrency import class FoundationNetworking.URLSession
 26 | @preconcurrency import class FoundationNetworking.URLResponse
 27 | @preconcurrency import class FoundationNetworking.HTTPURLResponse
    |                 `- warning: '@preconcurrency' attribute on module 'FoundationNetworking' has no effect
 28 | #endif
 29 |
[57/57] Emitting module OpenAPIURLSession
Build complete! (28.67s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.3",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-openapi-urlsession",
  "name" : "swift-openapi-urlsession",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAPIURLSession",
      "targets" : [
        "OpenAPIURLSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAPIURLSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIURLSessionTests",
      "path" : "Tests/OpenAPIURLSessionTests",
      "sources" : [
        "Locking.swift",
        "URLSessionTransportTests.swift"
      ],
      "target_dependencies" : [
        "OpenAPIURLSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAPIURLSession",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIURLSession",
      "path" : "Sources/OpenAPIURLSession",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "OpenAPIURLSession"
      ],
      "sources" : [
        "URLSessionTransport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.