Build Information
Successful build of AviaryInsights with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/brightdigit/AviaryInsights.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/brightdigit/AviaryInsights
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6dcd80a fixed postEvent response
Cloned https://github.com/brightdigit/AviaryInsights.git
Revision (git rev-parse @):
6dcd80af858d8f0da2142d8df0e8e689e260a44b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/brightdigit/AviaryInsights.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/brightdigit/AviaryInsights.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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-http-types
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-collections
[1/677] Fetching swift-openapi-urlsession
[550/5166] Fetching swift-openapi-urlsession, swift-openapi-runtime
[3058/5580] Fetching swift-openapi-urlsession, swift-openapi-runtime, swift-http-types
[4903/4903] Fetching swift-openapi-runtime, swift-http-types
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.26s)
[4904/18932] Fetching swift-openapi-runtime, swift-http-types, swift-collections
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.33s)
Computing version for https://github.com/apple/swift-openapi-urlsession
[1256/14443] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.09s)
Fetched https://github.com/apple/swift-collections from cache (1.12s)
Computed https://github.com/apple/swift-openapi-urlsession at 1.0.1 (1.52s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.0 (0.88s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.0.3 (0.54s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.0.1
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/31] Emitting module _CollectionsUtilities
[9/33] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[10/33] Compiling _CollectionsUtilities Specialize.swift
[11/33] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/33] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[13/33] Compiling _CollectionsUtilities _SortedCollection.swift
[14/33] Compiling _CollectionsUtilities _UniqueCollection.swift
[15/33] Compiling _CollectionsUtilities Debugging.swift
[16/33] Compiling _CollectionsUtilities Descriptions.swift
[17/33] Compiling HTTPTypes ISOLatin1String.swift
[18/33] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/33] Compiling _CollectionsUtilities Integer rank.swift
[20/33] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[21/33] Compiling HTTPTypes HTTPResponse.swift
[22/33] Compiling HTTPTypes HTTPRequest.swift
[23/33] Compiling _CollectionsUtilities UInt+reversed.swift
[24/33] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[25/33] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[26/33] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[27/33] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[28/33] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[29/33] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[31/50] Compiling HTTPTypes HTTPFieldName.swift
[32/50] Compiling HTTPTypes HTTPField.swift
[33/50] Emitting module HTTPTypes
[34/50] Compiling HTTPTypes HTTPFields.swift
[36/111] Compiling OpenAPIRuntime URIEncodedNode.swift
[37/111] Compiling OpenAPIRuntime URIParsedNode.swift
[38/111] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[39/111] Compiling OpenAPIRuntime OpenAPIValue.swift
[40/111] Compiling OpenAPIRuntime URIDecoder.swift
[41/111] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[42/111] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[43/111] Compiling OpenAPIRuntime UndocumentedPayload.swift
[44/111] Compiling OpenAPIRuntime ContentDisposition.swift
[45/111] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[46/111] Compiling OpenAPIRuntime URICodeCodingKey.swift
[47/111] Compiling OpenAPIRuntime URICoderConfiguration.swift
[48/113] Compiling OpenAPIRuntime Acceptable.swift
[49/113] Compiling OpenAPIRuntime Base64EncodedData.swift
[50/113] Compiling OpenAPIRuntime ByteUtilities.swift
[51/113] Compiling DequeModule _DequeSlot.swift
[52/113] Compiling DequeModule _UnsafeWrappedBuffer.swift
[53/113] Emitting module DequeModule
[55/114] Emitting module OpenAPIRuntime
[64/122] Compiling OpenAPIRuntime FoundationExtensions.swift
[65/122] Compiling OpenAPIRuntime ParameterStyles.swift
[66/122] Compiling OpenAPIRuntime ServerVariable.swift
[67/122] Compiling OpenAPIRuntime URLExtensions.swift
[68/122] Compiling OpenAPIRuntime Deprecated.swift
[69/122] Compiling OpenAPIRuntime ClientError.swift
[70/122] Compiling OpenAPIRuntime CodingErrors.swift
[71/122] Compiling OpenAPIRuntime RuntimeError.swift
[72/122] Compiling OpenAPIRuntime ServerError.swift
[73/122] Compiling OpenAPIRuntime ClientTransport.swift
[74/122] Compiling OpenAPIRuntime CurrencyTypes.swift
[75/122] Compiling OpenAPIRuntime HTTPBody.swift
[76/122] Compiling OpenAPIRuntime ServerTransport.swift
[77/122] Compiling OpenAPIRuntime UniversalClient.swift
[78/122] Compiling OpenAPIRuntime UniversalServer.swift
[79/122] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[80/122] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[90/122] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[91/122] Compiling OpenAPIRuntime CodableExtensions.swift
[92/122] Compiling OpenAPIRuntime Configuration.swift
[93/122] Compiling OpenAPIRuntime Converter+Client.swift
[94/122] Compiling OpenAPIRuntime Converter+Common.swift
[95/122] Compiling OpenAPIRuntime Converter+Server.swift
[96/122] Compiling OpenAPIRuntime Converter.swift
[97/122] Compiling OpenAPIRuntime CurrencyExtensions.swift
[98/122] Compiling OpenAPIRuntime ErrorExtensions.swift
[99/122] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[100/122] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[101/122] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[102/122] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[103/122] Compiling OpenAPIRuntime ServerSentEvents.swift
[104/122] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[105/122] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[106/122] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[107/122] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[108/122] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[109/122] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[110/122] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[111/122] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[112/122] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[113/122] Compiling OpenAPIRuntime MultipartValidation.swift
[114/122] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[115/122] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[116/122] Compiling OpenAPIRuntime URIEncoder.swift
[117/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[118/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[119/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[120/122] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[121/122] Compiling OpenAPIRuntime URIParser.swift
[122/122] Compiling OpenAPIRuntime URISerializer.swift
[124/130] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[125/130] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[126/130] Compiling OpenAPIURLSession URLSession+Extensions.swift
[127/130] Compiling OpenAPIURLSession URLSessionTransport.swift
[128/130] Compiling OpenAPIURLSession Lock.swift
[129/130] Emitting module OpenAPIURLSession
[130/130] Compiling OpenAPIURLSession BufferedStream.swift
[132/138] Compiling AviaryInsights Revenue.swift
[133/138] Compiling AviaryInsights Operations.swift
[134/138] Compiling AviaryInsights Plausible.swift
/host/spi-builder-workspace/Sources/AviaryInsights/Plausible.swift:84:21: warning: static property 'defaultServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // swiftlint:disable force_try
83 | /// Default server URL for the Plausible API.
84 | public static let defaultServerURL = try! Servers.server1()
| `- warning: static property 'defaultServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
85 | // swiftlint:enable force_try
86 |
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/AviaryInsights/Plausible.swift:30:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
28 | //
29 |
30 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
31 | import OpenAPIRuntime
32 | import OpenAPIURLSession
:
82 | // swiftlint:disable force_try
83 | /// Default server URL for the Plausible API.
84 | public static let defaultServerURL = try! Servers.server1()
| |- note: annotate 'defaultServerURL' 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
85 | // swiftlint:enable force_try
86 |
[135/138] Emitting module AviaryInsights
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:67:13: warning: @frozen has no effect on non-public enums
65 | internal struct Input: Sendable, Hashable {
66 | /// - Remark: Generated from `#/paths/event/POST/requestBody`.
67 | @frozen internal enum Body: Sendable, Hashable {
| `- warning: @frozen has no effect on non-public enums
68 | /// - Remark: Generated from `#/paths/event/POST/requestBody/json`.
69 | internal struct jsonPayload: Codable, Hashable, Sendable {
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:168:9: warning: @frozen has no effect on non-public enums
166 | }
167 | }
168 | @frozen internal enum Output: Sendable, Hashable {
| `- warning: @frozen has no effect on non-public enums
169 | internal struct Accepted: Sendable, Hashable {
170 | /// Creates a new `Accepted`.
/host/spi-builder-workspace/Sources/AviaryInsights/Plausible.swift:84:21: warning: static property 'defaultServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
82 | // swiftlint:disable force_try
83 | /// Default server URL for the Plausible API.
84 | public static let defaultServerURL = try! Servers.server1()
| `- warning: static property 'defaultServerURL' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
85 | // swiftlint:enable force_try
86 |
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/AviaryInsights/Plausible.swift:30:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
28 | //
29 |
30 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
31 | import OpenAPIRuntime
32 | import OpenAPIURLSession
:
82 | // swiftlint:disable force_try
83 | /// Default server URL for the Plausible API.
84 | public static let defaultServerURL = try! Servers.server1()
| |- note: annotate 'defaultServerURL' 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
85 | // swiftlint:enable force_try
86 |
[136/138] Compiling AviaryInsights Client.swift
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Client.swift:4:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
2 | @_spi(Generated) import OpenAPIRuntime
3 | #if os(Linux)
4 | @preconcurrency import struct Foundation.URL
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
5 | @preconcurrency import struct Foundation.Data
6 | @preconcurrency import struct Foundation.Date
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Client.swift:5:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
3 | #if os(Linux)
4 | @preconcurrency import struct Foundation.URL
5 | @preconcurrency import struct Foundation.Data
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
6 | @preconcurrency import struct Foundation.Date
7 | #else
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Client.swift:6:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
4 | @preconcurrency import struct Foundation.URL
5 | @preconcurrency import struct Foundation.Data
6 | @preconcurrency import struct Foundation.Date
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
7 | #else
8 | import struct Foundation.URL
[137/138] Compiling AviaryInsights Event.swift
[138/138] Compiling AviaryInsights Types.swift
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:67:13: warning: @frozen has no effect on non-public enums
65 | internal struct Input: Sendable, Hashable {
66 | /// - Remark: Generated from `#/paths/event/POST/requestBody`.
67 | @frozen internal enum Body: Sendable, Hashable {
| `- warning: @frozen has no effect on non-public enums
68 | /// - Remark: Generated from `#/paths/event/POST/requestBody/json`.
69 | internal struct jsonPayload: Codable, Hashable, Sendable {
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:168:9: warning: @frozen has no effect on non-public enums
166 | }
167 | }
168 | @frozen internal enum Output: Sendable, Hashable {
| `- warning: @frozen has no effect on non-public enums
169 | internal struct Accepted: Sendable, Hashable {
170 | /// Creates a new `Accepted`.
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:4:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
2 | @_spi(Generated) import OpenAPIRuntime
3 | #if os(Linux)
4 | @preconcurrency import struct Foundation.URL
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
5 | @preconcurrency import struct Foundation.Data
6 | @preconcurrency import struct Foundation.Date
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:5:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
3 | #if os(Linux)
4 | @preconcurrency import struct Foundation.URL
5 | @preconcurrency import struct Foundation.Data
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
6 | @preconcurrency import struct Foundation.Date
7 | #else
/host/spi-builder-workspace/Sources/AviaryInsights/Generated/Types.swift:6:17: warning: '@preconcurrency' attribute on module 'Foundation' has no effect
4 | @preconcurrency import struct Foundation.URL
5 | @preconcurrency import struct Foundation.Data
6 | @preconcurrency import struct Foundation.Date
| `- warning: '@preconcurrency' attribute on module 'Foundation' has no effect
7 | #else
8 | import struct Foundation.URL
Build complete! (34.72s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime"
},
{
"identity" : "swift-openapi-urlsession",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-urlsession"
}
],
"manifest_display_name" : "AviaryInsights",
"name" : "AviaryInsights",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AviaryInsights",
"targets" : [
"AviaryInsights"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AviaryInsightsTests",
"module_type" : "SwiftTarget",
"name" : "AviaryInsightsTests",
"path" : "Tests/AviaryInsightsTests",
"product_dependencies" : [
"OpenAPIRuntime"
],
"sources" : [
"AviaryInsightsTests.swift",
"Event.swift",
"MockTransport.swift",
"Revenue.swift"
],
"target_dependencies" : [
"AviaryInsights"
],
"type" : "test"
},
{
"c99name" : "AviaryInsights",
"module_type" : "SwiftTarget",
"name" : "AviaryInsights",
"path" : "Sources/AviaryInsights",
"product_dependencies" : [
"OpenAPIURLSession",
"OpenAPIRuntime"
],
"product_memberships" : [
"AviaryInsights"
],
"sources" : [
"Event.swift",
"Generated/Client.swift",
"Generated/Types.swift",
"Operations.swift",
"Plausible.swift",
"Revenue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.