Build Information
Successful build of swift-openapi-runtime with Swift 6.0 for Linux.
Swift 6 data race errors: 8
Build Command
bash -c docker run --rm -v "checkouts-4609320-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-runtime.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-runtime
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e37d38d Improved Encoding/Decoding error descriptions (#28)
Cloned https://github.com/tuist/swift-openapi-runtime.git
Revision (git rev-parse @):
e37d38d05c9d3cb8b8fe0cc5bc4b37099c980013
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/tuist/swift-openapi-runtime.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/tuist/swift-openapi-runtime.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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-docc-plugin
[1/1458] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.38s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2858] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.57s)
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
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
/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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/29] Emitting module OpenAPIRuntime
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[6/32] Compiling OpenAPIRuntime ServerTransport.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[7/32] Compiling OpenAPIRuntime UniversalClient.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[8/32] Compiling OpenAPIRuntime UniversalServer.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[9/32] Compiling OpenAPIRuntime FoundationExtensions.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[10/32] Compiling OpenAPIRuntime URLExtensions.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[11/32] Compiling OpenAPIRuntime Deprecated.swift
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:20:23: warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| `- warning: static property 'defaultOpenAPIServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/OpenAPIRuntime/Conversion/URLExtensions.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | //
13 | //===----------------------------------------------------------------------===//
14 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
15 |
16 | extension URL {
:
18 | ///
19 | /// Specification: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#fixed-fields
20 | public static let defaultOpenAPIServerURL: Self = {
| |- note: annotate 'defaultOpenAPIServerURL' 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
21 | guard let url = URL(string: "/") else {
22 | fatalError("Failed to create an URL with the string '/'.")
[12/32] Compiling OpenAPIRuntime CommonOutputPayloads.swift
[13/32] Compiling OpenAPIRuntime EncodableBodyContent.swift
[14/32] Compiling OpenAPIRuntime OpenAPIValue.swift
[15/32] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[16/32] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[17/32] Compiling OpenAPIRuntime _AutoLosslessStringConvertible.swift
[18/32] Compiling OpenAPIRuntime _StringConvertible.swift
[19/32] Compiling OpenAPIRuntime CodableExtensions.swift
[20/32] Compiling OpenAPIRuntime ServerError.swift
[21/32] Compiling OpenAPIRuntime ClientTransport.swift
[22/32] Compiling OpenAPIRuntime CurrencyTypes.swift
[23/32] Compiling OpenAPIRuntime Configuration.swift
[24/32] Compiling OpenAPIRuntime Converter+Client.swift
[25/32] Compiling OpenAPIRuntime Converter+Common.swift
[26/32] Compiling OpenAPIRuntime Converter+Server.swift
[27/32] Compiling OpenAPIRuntime ClientError.swift
[28/32] Compiling OpenAPIRuntime CodingErrors.swift
[29/32] Compiling OpenAPIRuntime RuntimeError.swift
[30/32] Compiling OpenAPIRuntime Converter.swift
[31/32] Compiling OpenAPIRuntime CurrencyExtensions.swift
[32/32] Compiling OpenAPIRuntime ErrorExtensions.swift
Build complete! (35.06s)
Build complete.
{
"dependencies" : [
{
"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-runtime",
"name" : "swift-openapi-runtime",
"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" : "OpenAPIRuntime",
"targets" : [
"OpenAPIRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenAPIRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "OpenAPIRuntimeTests",
"path" : "Tests/OpenAPIRuntimeTests",
"sources" : [
"Base/Test_OpenAPIValue.swift",
"Base/Test_StringConvertible.swift",
"Conversion/Test_CodableExtensions.swift",
"Conversion/Test_Converter+Client.swift",
"Conversion/Test_Converter+Common.swift",
"Conversion/Test_Converter+Server.swift",
"Conversion/Test_CurrencyExtensions.swift",
"Conversion/Test_FoundationExtensions.swift",
"Interface/Test_CurrencyTypes.swift",
"Interface/Test_UniversalServer.swift",
"Test_Runtime.swift"
],
"target_dependencies" : [
"OpenAPIRuntime"
],
"type" : "test"
},
{
"c99name" : "OpenAPIRuntime",
"module_type" : "SwiftTarget",
"name" : "OpenAPIRuntime",
"path" : "Sources/OpenAPIRuntime",
"product_memberships" : [
"OpenAPIRuntime"
],
"sources" : [
"Base/CommonOutputPayloads.swift",
"Base/EncodableBodyContent.swift",
"Base/OpenAPIValue.swift",
"Base/PrettyStringConvertible.swift",
"Base/WarningSuppressingAnnotations.swift",
"Base/_AutoLosslessStringConvertible.swift",
"Base/_StringConvertible.swift",
"Conversion/CodableExtensions.swift",
"Conversion/Configuration.swift",
"Conversion/Converter+Client.swift",
"Conversion/Converter+Common.swift",
"Conversion/Converter+Server.swift",
"Conversion/Converter.swift",
"Conversion/CurrencyExtensions.swift",
"Conversion/ErrorExtensions.swift",
"Conversion/FoundationExtensions.swift",
"Conversion/URLExtensions.swift",
"Deprecated/Deprecated.swift",
"Errors/ClientError.swift",
"Errors/CodingErrors.swift",
"Errors/RuntimeError.swift",
"Errors/ServerError.swift",
"Interface/ClientTransport.swift",
"Interface/CurrencyTypes.swift",
"Interface/ServerTransport.swift",
"Interface/UniversalClient.swift",
"Interface/UniversalServer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.