Build Information
Successful build of swift-log-loki, reference v1.1.0 (fb800a
), with Swift 6.1 for Linux on 28 Apr 2025 16:53:32 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/lovetodream/swift-log-loki.git
Reference: v1.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/lovetodream/swift-log-loki
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at fb800a4 feat: add support for additional platforms
Cloned https://github.com/lovetodream/swift-log-loki.git
Revision (git rev-parse @):
fb800a495f8ee7d46796333d956dd4d92c14da40
SUCCESS checkout https://github.com/lovetodream/swift-log-loki.git at v1.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/lovetodream/swift-log-loki.git
https://github.com/lovetodream/swift-log-loki.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"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.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-snappy",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/lovetodream/swift-snappy"
}
],
"manifest_display_name" : "swift-log-loki",
"name" : "swift-log-loki",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "LoggingLoki",
"targets" : [
"LoggingLoki"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggingLokiTests",
"module_type" : "SwiftTarget",
"name" : "LoggingLokiTests",
"path" : "Tests/LoggingLokiTests",
"sources" : [
"LoggingLokiTests.swift"
],
"target_dependencies" : [
"LoggingLoki"
],
"type" : "test"
},
{
"c99name" : "LoggingLoki",
"module_type" : "SwiftTarget",
"name" : "LoggingLoki",
"path" : "Sources/LoggingLoki",
"product_dependencies" : [
"Logging",
"SwiftProtobuf",
"Snappy"
],
"product_memberships" : [
"LoggingLoki"
],
"sources" : [
"Batch.swift",
"BatchEntry.swift",
"Batcher.swift",
"LokiError.swift",
"LokiLogHandler.swift",
"LokiRequest.swift",
"LokiSession.swift",
"LokiStream.swift",
"NIOLock.swift",
"NIOLockedValueBox.swift",
"Proto/gen/swift/descriptor.pb.swift",
"Proto/gen/swift/gogo.pb.swift",
"Proto/gen/swift/logproto.pb.swift",
"Proto/gen/swift/stats.pb.swift",
"Proto/gen/swift/timestamp.pb.swift",
"TypeAliases.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/lovetodream/swift-snappy
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/194] Fetching swift-snappy
[168/4030] Fetching swift-snappy, swift-log
[1116/6079] Fetching swift-snappy, swift-log, swift-docc-plugin
[6080/44583] Fetching swift-snappy, swift-log, swift-docc-plugin, swift-protobuf
Fetched https://github.com/lovetodream/swift-snappy from cache (1.94s)
[38229/44389] Fetching swift-log, swift-docc-plugin, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (6.27s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (6.28s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.36s)
Computing version for https://github.com/lovetodream/swift-snappy
Computed https://github.com/lovetodream/swift-snappy at 1.0.0 (7.06s)
Fetching https://github.com/apple/swift-system
[1/4353] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (1.06s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.83s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3377] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.71s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.31s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (0.61s)
Creating working copy for https://github.com/lovetodream/swift-snappy
Working copy of https://github.com/lovetodream/swift-snappy resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gogo.proto
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/logproto.proto
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/stats.proto
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/descriptor.proto
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/timestamp.proto
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/13] Write sources
[8/13] Copying PrivacyInfo.xcprivacy
[9/13] Compiling SnappyC map.c
[10/13] Compiling CSystem shims.c
[11/13] Compiling SnappyC snappy.c
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/129] Compiling Logging LogHandler.swift
[15/129] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[16/129] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[17/129] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[18/132] Compiling SwiftProtobuf AnyMessageStorage.swift
[19/132] Compiling SwiftProtobuf AnyUnpackError.swift
[20/132] Compiling SwiftProtobuf AsyncMessageSequence.swift
[21/132] Compiling SwiftProtobuf BinaryDecoder.swift
[22/132] Compiling SystemPackage Util+StringArray.swift
[23/132] Compiling SystemPackage Util.swift
[24/132] Compiling SystemPackage UtilConsumers.swift
[25/132] Compiling SwiftProtobuf CustomJSONCodable.swift
[26/132] Compiling SwiftProtobuf Decoder.swift
[27/132] Compiling SwiftProtobuf DoubleParser.swift
[28/132] Compiling SwiftProtobuf Enum.swift
[29/132] Compiling Logging Locks.swift
[30/132] Compiling SwiftProtobuf ExtensibleMessage.swift
[31/132] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[32/132] Compiling SwiftProtobuf ExtensionFields.swift
[33/132] Compiling SwiftProtobuf ExtensionMap.swift
[34/132] Compiling SwiftProtobuf BinaryDecodingError.swift
[35/132] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[36/132] Compiling SwiftProtobuf BinaryDelimited.swift
[37/132] Compiling SwiftProtobuf BinaryEncoder.swift
[38/132] Compiling SwiftProtobuf BinaryEncodingError.swift
[39/132] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[40/132] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[41/132] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[42/132] Emitting module SystemPackage
[43/132] Emitting module Logging
[44/132] Compiling Logging MetadataProvider.swift
[45/132] Emitting module SwiftProtobuf
[46/143] Compiling SwiftProtobuf FieldTag.swift
[47/143] Compiling SwiftProtobuf FieldTypes.swift
[48/143] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[49/143] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[50/144] Compiling Logging Logging.swift
[53/147] Emitting module Snappy
[54/147] Compiling Snappy Snappy.swift
[61/148] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[62/148] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[63/148] Compiling SwiftProtobuf HashVisitor.swift
[64/148] Compiling SwiftProtobuf Internal.swift
[65/148] Compiling SwiftProtobuf JSONDecoder.swift
[66/148] Compiling SwiftProtobuf JSONDecodingError.swift
[80/148] Compiling SwiftProtobuf JSONDecodingOptions.swift
[81/148] Compiling SwiftProtobuf JSONEncoder.swift
[82/148] Compiling SwiftProtobuf JSONEncodingError.swift
[83/148] Compiling SwiftProtobuf JSONEncodingOptions.swift
[84/148] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[85/148] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[86/148] Compiling SwiftProtobuf JSONScanner.swift
[87/148] Compiling SwiftProtobuf MathUtils.swift
[88/148] Compiling SwiftProtobuf Message+AnyAdditions.swift
[89/148] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[90/148] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[91/148] Compiling SwiftProtobuf Message+FieldMask.swift
[92/148] Compiling SwiftProtobuf Message+JSONAdditions.swift
[93/148] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[94/148] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[95/148] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[96/148] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[97/148] Compiling SwiftProtobuf Message.swift
[98/148] Compiling SwiftProtobuf MessageExtension.swift
[99/148] Compiling SwiftProtobuf NameMap.swift
[100/148] Compiling SwiftProtobuf PathDecoder.swift
[101/148] Compiling SwiftProtobuf PathVisitor.swift
[102/148] Compiling SwiftProtobuf ProtoNameProviding.swift
[103/148] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[104/148] Compiling SwiftProtobuf ProtobufMap.swift
[105/148] Compiling SwiftProtobuf SelectiveVisitor.swift
[106/148] Compiling SwiftProtobuf SimpleExtensionMap.swift
[107/148] Compiling SwiftProtobuf StringUtils.swift
[108/148] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[109/148] Compiling SwiftProtobuf SwiftProtobufError.swift
[110/148] Compiling SwiftProtobuf TextFormatDecoder.swift
[111/148] Compiling SwiftProtobuf TextFormatDecodingError.swift
[112/148] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[113/148] Compiling SwiftProtobuf TextFormatEncoder.swift
[114/148] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[115/148] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[116/148] Compiling SwiftProtobuf TextFormatScanner.swift
[117/148] Compiling SwiftProtobuf TimeUtils.swift
[118/148] Compiling SwiftProtobuf UnknownStorage.swift
[119/148] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[120/148] Compiling SwiftProtobuf Varint.swift
[121/148] Compiling SwiftProtobuf Version.swift
[122/148] Compiling SwiftProtobuf Visitor.swift
[123/148] Compiling SwiftProtobuf WireFormat.swift
[124/148] Compiling SwiftProtobuf ZigZag.swift
[125/148] Compiling SwiftProtobuf any.pb.swift
[138/148] Compiling SwiftProtobuf api.pb.swift
[139/148] Compiling SwiftProtobuf descriptor.pb.swift
[140/148] Compiling SwiftProtobuf duration.pb.swift
[141/148] Compiling SwiftProtobuf empty.pb.swift
[142/148] Compiling SwiftProtobuf field_mask.pb.swift
[143/148] Compiling SwiftProtobuf source_context.pb.swift
[144/148] Compiling SwiftProtobuf struct.pb.swift
[145/148] Compiling SwiftProtobuf timestamp.pb.swift
[146/148] Compiling SwiftProtobuf type.pb.swift
[147/148] Compiling SwiftProtobuf wrappers.pb.swift
[148/148] Compiling SwiftProtobuf resource_bundle_accessor.swift
[150/164] Compiling LoggingLoki Batcher.swift
[151/164] Compiling LoggingLoki LokiError.swift
[152/164] Compiling LoggingLoki LokiLogHandler.swift
[153/164] Compiling LoggingLoki LokiRequest.swift
[154/164] Compiling LoggingLoki LokiSession.swift
/host/spi-builder-workspace/Sources/LoggingLoki/LokiSession.swift:60:21: warning: capture of 'completion' with non-sendable type '(Result<StatusCode, any Error>) -> Void' (aka '(Result<Int, any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let task = dataTask(with: request) { data, response, error in
59 | if let error = error {
60 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<StatusCode, any Error>) -> Void' (aka '(Result<Int, any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | } else if let httpResponse = response as? HTTPURLResponse, (200..<300).contains(httpResponse.statusCode) {
62 | completion(.success(httpResponse.statusCode))
[155/164] Compiling LoggingLoki LokiStream.swift
/host/spi-builder-workspace/Sources/LoggingLoki/LokiSession.swift:60:21: warning: capture of 'completion' with non-sendable type '(Result<StatusCode, any Error>) -> Void' (aka '(Result<Int, any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
58 | let task = dataTask(with: request) { data, response, error in
59 | if let error = error {
60 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<StatusCode, any Error>) -> Void' (aka '(Result<Int, any Error>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 | } else if let httpResponse = response as? HTTPURLResponse, (200..<300).contains(httpResponse.statusCode) {
62 | completion(.success(httpResponse.statusCode))
[156/166] Compiling LoggingLoki timestamp.pb.swift
[157/166] Compiling LoggingLoki TypeAliases.swift
[158/166] Compiling LoggingLoki Batch.swift
[159/166] Compiling LoggingLoki BatchEntry.swift
[160/166] Emitting module LoggingLoki
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:2573:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
2558 | ]
2559 |
2560 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
2561 | var _name: String? = nil
2562 | var _number: Int32? = nil
:
2571 | var _proto3Optional: Bool? = nil
2572 |
2573 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2574 |
2575 | private init() {}
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:3112:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
3087 | ]
3088 |
3089 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
3090 | var _javaPackage: String? = nil
3091 | var _javaOuterClassname: String? = nil
:
3110 | var _uninterpretedOption: [Google_Protobuf_UninterpretedOption] = []
3111 |
3112 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3113 |
3114 | private init() {}
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/logproto.pb.swift:55:14: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | extension Logproto_Direction: CaseIterable {
54 | // The compiler won't synthesize support with the UNRECOGNIZED case.
55 | static var allCases: [Logproto_Direction] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | .forward,
57 | .backward,
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/stats.pb.swift:190:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
183 | ]
184 |
185 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
186 | var _summary: Stats_Summary? = nil
187 | var _store: Stats_Store? = nil
188 | var _ingester: Stats_Ingester? = nil
189 |
190 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | private init() {}
[161/166] Compiling LoggingLoki logproto.pb.swift
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/logproto.pb.swift:55:14: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | extension Logproto_Direction: CaseIterable {
54 | // The compiler won't synthesize support with the UNRECOGNIZED case.
55 | static var allCases: [Logproto_Direction] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | .forward,
57 | .backward,
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/stats.pb.swift:190:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
183 | ]
184 |
185 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
186 | var _summary: Stats_Summary? = nil
187 | var _store: Stats_Store? = nil
188 | var _ingester: Stats_Ingester? = nil
189 |
190 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | private init() {}
[162/166] Compiling LoggingLoki stats.pb.swift
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/logproto.pb.swift:55:14: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
53 | extension Logproto_Direction: CaseIterable {
54 | // The compiler won't synthesize support with the UNRECOGNIZED case.
55 | static var allCases: [Logproto_Direction] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | .forward,
57 | .backward,
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/stats.pb.swift:190:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
183 | ]
184 |
185 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
186 | var _summary: Stats_Summary? = nil
187 | var _store: Stats_Store? = nil
188 | var _ingester: Stats_Ingester? = nil
189 |
190 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Stats_Result._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | private init() {}
[163/166] Compiling LoggingLoki NIOLock.swift
[164/166] Compiling LoggingLoki NIOLockedValueBox.swift
[165/166] Compiling LoggingLoki descriptor.pb.swift
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:2573:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
2558 | ]
2559 |
2560 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
2561 | var _name: String? = nil
2562 | var _number: Int32? = nil
:
2571 | var _proto3Optional: Bool? = nil
2572 |
2573 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2574 |
2575 | private init() {}
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:3112:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
3087 | ]
3088 |
3089 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
3090 | var _javaPackage: String? = nil
3091 | var _javaOuterClassname: String? = nil
:
3110 | var _uninterpretedOption: [Google_Protobuf_UninterpretedOption] = []
3111 |
3112 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3113 |
3114 | private init() {}
[166/166] Compiling LoggingLoki gogo.pb.swift
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:2573:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
2558 | ]
2559 |
2560 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
2561 | var _name: String? = nil
2562 | var _number: Int32? = nil
:
2571 | var _proto3Optional: Bool? = nil
2572 |
2573 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FieldDescriptorProto._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2574 |
2575 | private init() {}
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gen/swift/descriptor.pb.swift:3112:16: warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
3087 | ]
3088 |
3089 | fileprivate class _StorageClass {
| `- note: class '_StorageClass' does not conform to the 'Sendable' protocol
3090 | var _javaPackage: String? = nil
3091 | var _javaOuterClassname: String? = nil
:
3110 | var _uninterpretedOption: [Google_Protobuf_UninterpretedOption] = []
3111 |
3112 | static let defaultInstance = _StorageClass()
| |- warning: static property 'defaultInstance' is not concurrency-safe because non-'Sendable' type 'Google_Protobuf_FileOptions._StorageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInstance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3113 |
3114 | private init() {}
Build complete! (76.63s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"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.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-snappy",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/lovetodream/swift-snappy"
}
],
"manifest_display_name" : "swift-log-loki",
"name" : "swift-log-loki",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "LoggingLoki",
"targets" : [
"LoggingLoki"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggingLokiTests",
"module_type" : "SwiftTarget",
"name" : "LoggingLokiTests",
"path" : "Tests/LoggingLokiTests",
"sources" : [
"LoggingLokiTests.swift"
],
"target_dependencies" : [
"LoggingLoki"
],
"type" : "test"
},
{
"c99name" : "LoggingLoki",
"module_type" : "SwiftTarget",
"name" : "LoggingLoki",
"path" : "Sources/LoggingLoki",
"product_dependencies" : [
"Logging",
"SwiftProtobuf",
"Snappy"
],
"product_memberships" : [
"LoggingLoki"
],
"sources" : [
"Batch.swift",
"BatchEntry.swift",
"Batcher.swift",
"LokiError.swift",
"LokiLogHandler.swift",
"LokiRequest.swift",
"LokiSession.swift",
"LokiStream.swift",
"NIOLock.swift",
"NIOLockedValueBox.swift",
"Proto/gen/swift/descriptor.pb.swift",
"Proto/gen/swift/gogo.pb.swift",
"Proto/gen/swift/logproto.pb.swift",
"Proto/gen/swift/stats.pb.swift",
"Proto/gen/swift/timestamp.pb.swift",
"TypeAliases.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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.