Build Information
Successful build of swift-log-loki, reference v1.1.0 (fb800a
), with Swift 6.0 for Linux on 4 Nov 2024 20:04:58 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.56.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.0
Building package at path: $PWD
https://github.com/lovetodream/swift-log-loki.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/lovetodream/swift-snappy
Fetching https://github.com/apple/swift-log.git
[1/2038] Fetching swift-docc-plugin
[226/5698] Fetching swift-docc-plugin, swift-log
[446/5892] Fetching swift-docc-plugin, swift-log, swift-snappy
[5893/43719] Fetching swift-docc-plugin, swift-log, swift-snappy, swift-protobuf
Fetched https://github.com/lovetodream/swift-snappy from cache (0.33s)
[6455/43525] Fetching swift-docc-plugin, swift-log, swift-protobuf
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.36s)
[6308/41487] Fetching swift-log, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (4.06s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.12s)
Computing version for https://github.com/lovetodream/swift-snappy
Computed https://github.com/lovetodream/swift-snappy at 1.0.0 (1.51s)
Fetching https://github.com/apple/swift-system
[1/3901] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (1.14s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.61s)
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.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.45s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.36s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.40s)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
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.1
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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.2
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/descriptor.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/timestamp.proto
/host/spi-builder-workspace/Sources/LoggingLoki/Proto/gogo.proto
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/13] Write sources
[8/13] Copying PrivacyInfo.xcprivacy
[9/13] Compiling CSystem shims.c
[10/13] Compiling SnappyC snappy.c
[11/13] Compiling SnappyC map.c
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/129] Emitting module SystemPackage
[15/132] Compiling SwiftProtobuf CustomJSONCodable.swift
[16/132] Compiling SwiftProtobuf Decoder.swift
[17/132] Compiling SwiftProtobuf DoubleParser.swift
[18/132] Compiling SwiftProtobuf Enum.swift
[19/132] Compiling SwiftProtobuf ExtensibleMessage.swift
[20/132] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[21/132] Compiling SwiftProtobuf ExtensionFields.swift
[22/132] Compiling SwiftProtobuf ExtensionMap.swift
[23/132] Compiling SystemPackage Util+StringArray.swift
[24/132] Compiling SystemPackage Util.swift
[25/132] Compiling SystemPackage UtilConsumers.swift
[26/132] Compiling SwiftProtobuf BinaryDecodingError.swift
[27/132] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[28/132] Compiling SwiftProtobuf BinaryDelimited.swift
[29/132] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[30/132] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[31/132] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[32/132] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[33/132] Compiling Logging MetadataProvider.swift
[34/132] Compiling Logging LogHandler.swift
[35/132] Emitting module Logging
[36/132] Compiling Logging Locks.swift
[37/132] Compiling Logging Logging.swift
[38/132] Compiling SwiftProtobuf AnyMessageStorage.swift
[39/132] Compiling SwiftProtobuf AnyUnpackError.swift
[40/132] Compiling SwiftProtobuf AsyncMessageSequence.swift
[41/132] Compiling SwiftProtobuf BinaryDecoder.swift
[42/132] Compiling SwiftProtobuf FieldTag.swift
[43/132] Compiling SwiftProtobuf FieldTypes.swift
[44/132] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[45/132] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[46/132] Compiling SwiftProtobuf BinaryEncoder.swift
[47/132] Compiling SwiftProtobuf BinaryEncodingError.swift
[48/132] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[49/132] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[52/136] Emitting module SwiftProtobuf
[65/147] Compiling SwiftProtobuf Message+JSONAdditions.swift
[66/147] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[67/147] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[68/147] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[69/147] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[70/147] Compiling SwiftProtobuf Message.swift
[71/147] Compiling SwiftProtobuf MessageExtension.swift
[72/147] Compiling SwiftProtobuf NameMap.swift
[73/147] Compiling SwiftProtobuf PathDecoder.swift
[74/147] Compiling SwiftProtobuf PathVisitor.swift
[75/147] Compiling SwiftProtobuf ProtoNameProviding.swift
[76/147] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[77/147] Compiling SwiftProtobuf ProtobufMap.swift
[78/147] Compiling SwiftProtobuf SelectiveVisitor.swift
[79/147] Compiling SwiftProtobuf SimpleExtensionMap.swift
[80/147] Compiling SwiftProtobuf StringUtils.swift
[81/147] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[82/147] Compiling SwiftProtobuf SwiftProtobufError.swift
[83/147] Compiling SwiftProtobuf TextFormatDecoder.swift
[84/147] Compiling SwiftProtobuf TextFormatDecodingError.swift
[85/147] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[86/147] Compiling SwiftProtobuf TextFormatEncoder.swift
[87/147] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[94/147] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[95/147] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[96/147] Compiling SwiftProtobuf HashVisitor.swift
[97/147] Compiling SwiftProtobuf Internal.swift
[98/147] Compiling SwiftProtobuf JSONDecoder.swift
[99/147] Compiling SwiftProtobuf JSONDecodingError.swift
[100/147] Compiling SwiftProtobuf JSONDecodingOptions.swift
[101/147] Compiling SwiftProtobuf JSONEncoder.swift
[102/147] Compiling SwiftProtobuf JSONEncodingError.swift
[103/147] Compiling SwiftProtobuf JSONEncodingOptions.swift
[104/147] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[105/147] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[106/147] Compiling SwiftProtobuf JSONScanner.swift
[107/147] Compiling SwiftProtobuf MathUtils.swift
[108/147] Compiling SwiftProtobuf Message+AnyAdditions.swift
[109/147] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[110/147] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[111/147] Compiling SwiftProtobuf Message+FieldMask.swift
[112/147] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[113/147] Compiling SwiftProtobuf TextFormatScanner.swift
[114/147] Compiling SwiftProtobuf TimeUtils.swift
[115/147] Compiling SwiftProtobuf UnknownStorage.swift
[116/147] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[117/147] Compiling SwiftProtobuf Varint.swift
[118/147] Compiling SwiftProtobuf Version.swift
[119/147] Compiling SwiftProtobuf Visitor.swift
[120/147] Compiling SwiftProtobuf WireFormat.swift
[121/147] Compiling SwiftProtobuf ZigZag.swift
[122/147] Compiling SwiftProtobuf any.pb.swift
[135/147] Emitting module Snappy
[136/147] Compiling Snappy Snappy.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 LokiLogHandler.swift
[151/164] Compiling LoggingLoki LokiRequest.swift
[152/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))
[153/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))
[154/166] Compiling LoggingLoki timestamp.pb.swift
[155/166] Compiling LoggingLoki TypeAliases.swift
[156/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: annotate 'defaultInstance' 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
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: annotate 'defaultInstance' 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
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: annotate 'allCases' 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
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: annotate 'defaultInstance' 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
191 |
192 | private init() {}
[157/166] Compiling LoggingLoki Batch.swift
[158/166] Compiling LoggingLoki BatchEntry.swift
[159/166] Compiling LoggingLoki Batcher.swift
[160/166] Compiling LoggingLoki LokiError.swift
[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: annotate 'allCases' 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
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: annotate 'defaultInstance' 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
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: annotate 'allCases' 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
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: annotate 'defaultInstance' 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
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: annotate 'defaultInstance' 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
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: annotate 'defaultInstance' 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
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: annotate 'defaultInstance' 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
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: annotate 'defaultInstance' 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
3113 |
3114 | private init() {}
Build complete! (52.27s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.