Build Information
Successful build of SwiftProtoParser, reference master (6e26c7
), with Swift 6.1 for macOS (SPM) on 24 Jun 2025 14:05:32 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/truewebber/swift-protoparser.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/truewebber/swift-protoparser
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6e26c71 fix README
Cloned https://github.com/truewebber/swift-protoparser.git
Revision (git rev-parse @):
6e26c716453285130fbea1913e25de443a958f0e
SUCCESS checkout https://github.com/truewebber/swift-protoparser.git at master
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/apple/swift-protobuf.git from cache (2.12s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (2.64s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-protoparser",
"name": "SwiftProtoParser",
"url": "https://github.com/truewebber/swift-protoparser.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protoparser",
"dependencies": [
{
"identity": "swift-protobuf",
"name": "SwiftProtobuf",
"url": "https://github.com/apple/swift-protobuf.git",
"version": "1.30.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-protobuf",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/truewebber/swift-protoparser.git
[1/1737] Fetching swift-protoparser
Fetched https://github.com/truewebber/swift-protoparser.git from cache (1.10s)
Fetching https://github.com/apple/swift-protobuf.git from cache
Fetched https://github.com/apple/swift-protobuf.git from cache (0.60s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.66s)
Creating working copy for https://github.com/truewebber/swift-protoparser.git
Working copy of https://github.com/truewebber/swift-protoparser.git resolved at master (6e26c71)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
warning: '.resolve-product-dependencies': dependency 'swift-protoparser' is not used by any target
Found 1 product dependencies
- SwiftProtobuf
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/truewebber/swift-protoparser.git
https://github.com/truewebber/swift-protoparser.git
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.29.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
}
],
"manifest_display_name" : "SwiftProtoParser",
"name" : "SwiftProtoParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftProtoParser",
"targets" : [
"SwiftProtoParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftProtoParserTests",
"module_type" : "SwiftTarget",
"name" : "SwiftProtoParserTests",
"path" : "Tests/SwiftProtoParserTests",
"product_dependencies" : [
"SwiftProtobuf"
],
"sources" : [
"Core/ProtoParseErrorTests.swift",
"Core/ProtoVersionTests.swift",
"DependencyResolver/BasicDependencyResolverTests.swift",
"DependencyResolver/ComprehensiveDependencyResolverTests.swift",
"DependencyResolver/DependencyResolverAdvancedTests.swift",
"DependencyResolver/FileSystemScannerDetailedTests.swift",
"DependencyResolver/ImportResolverDetailed.swift",
"DependencyResolver/ResolverErrorTests.swift",
"DescriptorBuilder/DescriptorBuilderComprehensiveTests.swift",
"DescriptorBuilder/DescriptorBuilderTests.swift",
"DescriptorBuilder/DescriptorErrorTests.swift",
"DescriptorBuilder/EnumDescriptorBuilderTests.swift",
"DescriptorBuilder/FieldDescriptorBuilderTests.swift",
"DescriptorBuilder/MessageDescriptorBuilderTests.swift",
"DescriptorBuilder/ServiceDescriptorBuilderTests.swift",
"Lexer/KeywordRecognizerTests.swift",
"Lexer/LexerErrorTests.swift",
"Lexer/LexerTests.swift",
"Lexer/TokenTests.swift",
"Parser/ASTCoverageBoostTests.swift",
"Parser/ASTTests.swift",
"Parser/ExtendNodeTests.swift",
"Parser/MessageNodeTests.swift",
"Parser/ParserAdvancedTests.swift",
"Parser/ParserCoverageEnhancementTests.swift",
"Parser/ParserErrorPathTests.swift",
"Parser/ParserErrorTests.swift",
"Parser/ParserSpecificCoverageTests.swift",
"Parser/ParserStateTests.swift",
"Parser/ParserTests.swift",
"Performance/IncrementalParserComprehensiveTests.swift",
"Performance/PerformanceAPITests.swift",
"Performance/PerformanceBenchmarkComprehensiveTests.swift",
"Performance/PerformanceBenchmarkTests.swift",
"Performance/PerformanceCacheComprehensiveTests.swift",
"Performance/PerformanceCacheTests.swift",
"ProductTests/ComplexProtoTests.swift",
"ProductTests/MediumProtoTests.swift",
"ProductTests/SimpleProtoProductTestsFixed.swift",
"Public/SwiftProtoParserAdvancedCoverageTests.swift",
"Public/SwiftProtoParserDependencyTests.swift",
"Public/SwiftProtoParserExtensionTests.swift",
"Public/SwiftProtoParserTests.swift"
],
"target_dependencies" : [
"SwiftProtoParser"
],
"type" : "test"
},
{
"c99name" : "SwiftProtoParser",
"module_type" : "SwiftTarget",
"name" : "SwiftProtoParser",
"path" : "Sources/SwiftProtoParser",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"SwiftProtoParser"
],
"sources" : [
"Core/ProtoParseError.swift",
"Core/ProtoVersion.swift",
"DependencyResolver/DependencyResolver.swift",
"DependencyResolver/FileSystemScanner.swift",
"DependencyResolver/ImportResolver.swift",
"DependencyResolver/ResolvedProtoFile.swift",
"DependencyResolver/ResolverError.swift",
"DescriptorBuilder/DescriptorBuilder.swift",
"DescriptorBuilder/DescriptorError.swift",
"DescriptorBuilder/EnumDescriptorBuilder.swift",
"DescriptorBuilder/FieldDescriptorBuilder.swift",
"DescriptorBuilder/MessageDescriptorBuilder.swift",
"DescriptorBuilder/ServiceDescriptorBuilder.swift",
"Lexer/KeywordRecognizer.swift",
"Lexer/Lexer.swift",
"Lexer/LexerError.swift",
"Lexer/Token.swift",
"Parser/AST/EnumNode.swift",
"Parser/AST/ExtendNode.swift",
"Parser/AST/FieldLabel.swift",
"Parser/AST/FieldNode.swift",
"Parser/AST/FieldType.swift",
"Parser/AST/MessageNode.swift",
"Parser/AST/OptionNode.swift",
"Parser/AST/ProtoAST.swift",
"Parser/AST/ServiceNode.swift",
"Parser/Parser.swift",
"Parser/ParserError.swift",
"Parser/ParserState.swift",
"Performance/IncrementalParser.swift",
"Performance/PerformanceBenchmark.swift",
"Performance/PerformanceCache.swift",
"Public/SwiftProtoParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/90] Emitting module SwiftProtobuf
[7/99] Compiling SwiftProtobuf duration.pb.swift
[8/99] Compiling SwiftProtobuf empty.pb.swift
[9/99] Compiling SwiftProtobuf field_mask.pb.swift
[10/99] Compiling SwiftProtobuf source_context.pb.swift
[11/99] Compiling SwiftProtobuf struct.pb.swift
[12/99] Compiling SwiftProtobuf timestamp.pb.swift
[13/99] Compiling SwiftProtobuf type.pb.swift
[14/99] Compiling SwiftProtobuf wrappers.pb.swift
[15/99] Compiling SwiftProtobuf resource_bundle_accessor.swift
[16/99] Compiling SwiftProtobuf JSONEncodingOptions.swift
[17/99] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[18/99] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[19/99] Compiling SwiftProtobuf JSONScanner.swift
[20/99] Compiling SwiftProtobuf MathUtils.swift
[21/99] Compiling SwiftProtobuf Message+AnyAdditions.swift
[22/99] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[23/99] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[24/99] Compiling SwiftProtobuf Message+FieldMask.swift
[25/99] Compiling SwiftProtobuf AnyMessageStorage.swift
[26/99] Compiling SwiftProtobuf AnyUnpackError.swift
[27/99] Compiling SwiftProtobuf AsyncMessageSequence.swift
[28/99] Compiling SwiftProtobuf BinaryDecoder.swift
[29/99] Compiling SwiftProtobuf BinaryDecodingError.swift
[30/99] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[31/99] Compiling SwiftProtobuf BinaryDelimited.swift
[32/99] Compiling SwiftProtobuf BinaryEncoder.swift
[33/99] Compiling SwiftProtobuf BinaryEncodingError.swift
[34/99] Compiling SwiftProtobuf BinaryEncodingOptions.swift
[35/99] Compiling SwiftProtobuf PathVisitor.swift
[36/99] Compiling SwiftProtobuf ProtoNameProviding.swift
[37/99] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[38/99] Compiling SwiftProtobuf ProtobufMap.swift
[39/99] Compiling SwiftProtobuf SelectiveVisitor.swift
[40/99] Compiling SwiftProtobuf SimpleExtensionMap.swift
[41/99] Compiling SwiftProtobuf StringUtils.swift
[42/99] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[43/99] Compiling SwiftProtobuf SwiftProtobufError.swift
[44/99] Compiling SwiftProtobuf TextFormatDecoder.swift
[45/99] Compiling SwiftProtobuf TextFormatDecodingError.swift
[46/99] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[47/99] Compiling SwiftProtobuf TextFormatEncoder.swift
[48/99] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[49/99] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[50/99] Compiling SwiftProtobuf TextFormatScanner.swift
[51/99] Compiling SwiftProtobuf TimeUtils.swift
[52/99] Compiling SwiftProtobuf UnknownStorage.swift
[53/99] Compiling SwiftProtobuf FieldTag.swift
[54/99] Compiling SwiftProtobuf FieldTypes.swift
[55/99] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[56/99] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[57/99] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[58/99] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[59/99] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[60/99] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[61/99] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[62/99] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[63/99] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[64/99] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[65/99] Compiling SwiftProtobuf HashVisitor.swift
[66/99] Compiling SwiftProtobuf Internal.swift
[67/99] Compiling SwiftProtobuf JSONDecoder.swift
[68/99] Compiling SwiftProtobuf JSONDecodingError.swift
[69/99] Compiling SwiftProtobuf JSONDecodingOptions.swift
[70/99] Compiling SwiftProtobuf JSONEncoder.swift
[71/99] Compiling SwiftProtobuf JSONEncodingError.swift
[72/99] Compiling SwiftProtobuf Message+JSONAdditions.swift
[73/99] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[74/99] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[75/99] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[76/99] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[77/99] Compiling SwiftProtobuf Message.swift
[78/99] Compiling SwiftProtobuf MessageExtension.swift
[79/99] Compiling SwiftProtobuf NameMap.swift
[80/99] Compiling SwiftProtobuf PathDecoder.swift
[81/99] Compiling SwiftProtobuf BinaryEncodingSizeVisitor.swift
[82/99] Compiling SwiftProtobuf BinaryEncodingVisitor.swift
[83/99] Compiling SwiftProtobuf CustomJSONCodable.swift
[84/99] Compiling SwiftProtobuf Decoder.swift
[85/99] Compiling SwiftProtobuf DoubleParser.swift
[86/99] Compiling SwiftProtobuf Enum.swift
[87/99] Compiling SwiftProtobuf ExtensibleMessage.swift
[88/99] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[89/99] Compiling SwiftProtobuf ExtensionFields.swift
[90/99] Compiling SwiftProtobuf ExtensionMap.swift
[91/99] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[92/99] Compiling SwiftProtobuf Varint.swift
[93/99] Compiling SwiftProtobuf Version.swift
[94/99] Compiling SwiftProtobuf Visitor.swift
[95/99] Compiling SwiftProtobuf WireFormat.swift
[96/99] Compiling SwiftProtobuf ZigZag.swift
[97/99] Compiling SwiftProtobuf any.pb.swift
[98/99] Compiling SwiftProtobuf api.pb.swift
[99/99] Compiling SwiftProtobuf descriptor.pb.swift
[100/130] Emitting module SwiftProtoParser
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Core/ProtoVersion.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// SwiftProtoParser focuses on Protocol Buffers 3 (proto3) syntax only.
6 | /// Proto2 is explicitly not supported to keep the implementation simple and focused.
7 | public enum ProtoVersion: String, CaseIterable {
| `- note: consider making enum 'ProtoVersion' conform to the 'Sendable' protocol
8 | /// Protocol Buffers version 3 (proto3).
9 | case proto3 = "proto3"
:
12 |
13 | /// The default version used when no version is explicitly specified.
14 | public static let `default`: ProtoVersion = .proto3
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The syntax string as it appears in .proto files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Configuration options for dependency resolution.
9 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
10 | /// Whether to allow missing imports (skip them instead of failing).
11 | public let allowMissingImports: Bool
:
24 |
25 | /// Default options.
26 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | allowMissingImports: false,
28 | recursive: true,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/ParserError.swift:6:8: warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
4 | public enum ParserError: Error, Equatable {
5 | /// Unexpected token encountered.
6 | case unexpectedToken(Token, expected: String, line: Int, column: Int)
| `- warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
7 |
8 | /// Missing required element.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Lexer/Token.swift:8:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
6 | ///
7 | /// This struct contains the token type and position information for error reporting.
8 | public struct Token {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
9 | /// The type of the token.
10 | public let type: TokenType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxInMemorySize: 50 * 1024 * 1024, // 50MB
72 | streamingChunkSize: 64 * 1024, // 64KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:79:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
77 |
78 | /// High-performance configuration for large projects.
79 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | maxInMemorySize: 200 * 1024 * 1024, // 200MB
81 | streamingChunkSize: 256 * 1024, // 256KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:88:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
86 |
87 | /// Memory-constrained configuration.
88 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | maxInMemorySize: 10 * 1024 * 1024, // 10MB
90 | streamingChunkSize: 16 * 1024, // 16KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
32 |
33 | /// Default configuration.
34 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | iterations: 10,
36 | warmupIterations: 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:43:23: warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
41 |
42 | /// Quick benchmark configuration.
43 | public static let quick = Configuration(
| |- warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | iterations: 3,
45 | warmupIterations: 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:52:23: warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
50 |
51 | /// Comprehensive benchmark configuration.
52 | public static let comprehensive = Configuration(
| |- warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comprehensive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | iterations: 50,
54 | warmupIterations: 10,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxASTEntries: 1000,
72 | maxDescriptorEntries: 500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:80:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
78 |
79 | /// High-performance configuration for large projects.
80 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | maxASTEntries: 5000,
82 | maxDescriptorEntries: 2500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:90:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
88 |
89 | /// Memory-constrained configuration.
90 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | maxASTEntries: 100,
92 | maxDescriptorEntries: 50,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:398:21: warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | /// Shared performance cache instance for optimized parsing.
398 | public static let sharedCache = PerformanceCache(configuration: .default)
| |- warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |
400 | /// Shared incremental parser instance for large projects.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:12:20: note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:401:21: warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | /// Shared incremental parser instance for large projects.
401 | public static let sharedIncrementalParser = IncrementalParser(
| |- warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedIncrementalParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | configuration: .default,
403 | cache: sharedCache
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:11:20: note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
[101/133] Compiling SwiftProtoParser LexerError.swift
[102/133] Compiling SwiftProtoParser Token.swift
[103/133] Compiling SwiftProtoParser EnumNode.swift
[104/133] Compiling SwiftProtoParser ImportResolver.swift
[105/133] Compiling SwiftProtoParser ResolvedProtoFile.swift
[106/133] Compiling SwiftProtoParser ResolverError.swift
[107/133] Compiling SwiftProtoParser DescriptorBuilder.swift
[108/133] Compiling SwiftProtoParser DescriptorError.swift
[109/133] Compiling SwiftProtoParser EnumDescriptorBuilder.swift
[110/133] Compiling SwiftProtoParser FieldDescriptorBuilder.swift
[111/133] Compiling SwiftProtoParser MessageDescriptorBuilder.swift
[112/133] Compiling SwiftProtoParser ServiceDescriptorBuilder.swift
[113/133] Compiling SwiftProtoParser KeywordRecognizer.swift
[114/133] Compiling SwiftProtoParser Lexer.swift
[115/133] Compiling SwiftProtoParser ExtendNode.swift
[116/133] Compiling SwiftProtoParser FieldLabel.swift
[117/133] Compiling SwiftProtoParser FieldNode.swift
[118/133] Compiling SwiftProtoParser ParserError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/ParserError.swift:6:8: warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
4 | public enum ParserError: Error, Equatable {
5 | /// Unexpected token encountered.
6 | case unexpectedToken(Token, expected: String, line: Int, column: Int)
| `- warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
7 |
8 | /// Missing required element.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Lexer/Token.swift:8:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
6 | ///
7 | /// This struct contains the token type and position information for error reporting.
8 | public struct Token {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
9 | /// The type of the token.
10 | public let type: TokenType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxInMemorySize: 50 * 1024 * 1024, // 50MB
72 | streamingChunkSize: 64 * 1024, // 64KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:79:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
77 |
78 | /// High-performance configuration for large projects.
79 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | maxInMemorySize: 200 * 1024 * 1024, // 200MB
81 | streamingChunkSize: 256 * 1024, // 256KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:88:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
86 |
87 | /// Memory-constrained configuration.
88 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | maxInMemorySize: 10 * 1024 * 1024, // 10MB
90 | streamingChunkSize: 16 * 1024, // 16KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:281:7: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
279 | public func reset() {
280 | queue.async(flags: .barrier) {
281 | self.fileMetadata.removeAll()
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
282 | self.resetStatistics()
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:474:9: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
472 | // Synchronize access to fileMetadata dictionary
473 | queue.async(flags: .barrier) {
474 | self.fileMetadata[filePath] = metadata
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
475 | }
476 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:549:22: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
547 | private func updateStats(_ update: @escaping (inout Statistics) -> Void) {
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
550 | update(&newStats)
551 | self.stats = newStats
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:550:7: warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
550 | update(&newStats)
| |- warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
551 | self.stats = newStats
552 | }
[119/133] Compiling SwiftProtoParser ParserState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/ParserError.swift:6:8: warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
4 | public enum ParserError: Error, Equatable {
5 | /// Unexpected token encountered.
6 | case unexpectedToken(Token, expected: String, line: Int, column: Int)
| `- warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
7 |
8 | /// Missing required element.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Lexer/Token.swift:8:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
6 | ///
7 | /// This struct contains the token type and position information for error reporting.
8 | public struct Token {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
9 | /// The type of the token.
10 | public let type: TokenType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxInMemorySize: 50 * 1024 * 1024, // 50MB
72 | streamingChunkSize: 64 * 1024, // 64KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:79:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
77 |
78 | /// High-performance configuration for large projects.
79 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | maxInMemorySize: 200 * 1024 * 1024, // 200MB
81 | streamingChunkSize: 256 * 1024, // 256KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:88:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
86 |
87 | /// Memory-constrained configuration.
88 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | maxInMemorySize: 10 * 1024 * 1024, // 10MB
90 | streamingChunkSize: 16 * 1024, // 16KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:281:7: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
279 | public func reset() {
280 | queue.async(flags: .barrier) {
281 | self.fileMetadata.removeAll()
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
282 | self.resetStatistics()
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:474:9: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
472 | // Synchronize access to fileMetadata dictionary
473 | queue.async(flags: .barrier) {
474 | self.fileMetadata[filePath] = metadata
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
475 | }
476 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:549:22: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
547 | private func updateStats(_ update: @escaping (inout Statistics) -> Void) {
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
550 | update(&newStats)
551 | self.stats = newStats
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:550:7: warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
550 | update(&newStats)
| |- warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
551 | self.stats = newStats
552 | }
[120/133] Compiling SwiftProtoParser IncrementalParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/ParserError.swift:6:8: warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
4 | public enum ParserError: Error, Equatable {
5 | /// Unexpected token encountered.
6 | case unexpectedToken(Token, expected: String, line: Int, column: Int)
| `- warning: associated value 'unexpectedToken(_:expected:line:column:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
7 |
8 | /// Missing required element.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Lexer/Token.swift:8:15: note: consider making struct 'Token' conform to the 'Sendable' protocol
6 | ///
7 | /// This struct contains the token type and position information for error reporting.
8 | public struct Token {
| `- note: consider making struct 'Token' conform to the 'Sendable' protocol
9 | /// The type of the token.
10 | public let type: TokenType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxInMemorySize: 50 * 1024 * 1024, // 50MB
72 | streamingChunkSize: 64 * 1024, // 64KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:79:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
77 |
78 | /// High-performance configuration for large projects.
79 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | maxInMemorySize: 200 * 1024 * 1024, // 200MB
81 | streamingChunkSize: 256 * 1024, // 256KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:88:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration for incremental parsing.
53 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
54 | /// Maximum file size for in-memory processing (bytes).
55 | public let maxInMemorySize: Int64
:
86 |
87 | /// Memory-constrained configuration.
88 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'IncrementalParser.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | maxInMemorySize: 10 * 1024 * 1024, // 10MB
90 | streamingChunkSize: 16 * 1024, // 16KB
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:281:7: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
279 | public func reset() {
280 | queue.async(flags: .barrier) {
281 | self.fileMetadata.removeAll()
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
282 | self.resetStatistics()
283 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:474:9: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
472 | // Synchronize access to fileMetadata dictionary
473 | queue.async(flags: .barrier) {
474 | self.fileMetadata[filePath] = metadata
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
475 | }
476 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:549:22: warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
:
547 | private func updateStats(_ update: @escaping (inout Statistics) -> Void) {
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
| `- warning: capture of 'self' with non-sendable type 'IncrementalParser' in a '@Sendable' closure
550 | update(&newStats)
551 | self.stats = newStats
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:550:7: warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
548 | queue.async(flags: .barrier) {
549 | var newStats = self.stats
550 | update(&newStats)
| |- warning: capture of 'update' with non-sendable type '(inout IncrementalParser.Statistics) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
551 | self.stats = newStats
552 | }
[121/133] Compiling SwiftProtoParser ProtoAST.swift
[122/133] Compiling SwiftProtoParser ServiceNode.swift
[123/133] Compiling SwiftProtoParser Parser.swift
[124/133] Compiling SwiftProtoParser FieldType.swift
[125/133] Compiling SwiftProtoParser MessageNode.swift
[126/133] Compiling SwiftProtoParser OptionNode.swift
[127/133] Compiling SwiftProtoParser ProtoParseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Core/ProtoVersion.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// SwiftProtoParser focuses on Protocol Buffers 3 (proto3) syntax only.
6 | /// Proto2 is explicitly not supported to keep the implementation simple and focused.
7 | public enum ProtoVersion: String, CaseIterable {
| `- note: consider making enum 'ProtoVersion' conform to the 'Sendable' protocol
8 | /// Protocol Buffers version 3 (proto3).
9 | case proto3 = "proto3"
:
12 |
13 | /// The default version used when no version is explicitly specified.
14 | public static let `default`: ProtoVersion = .proto3
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The syntax string as it appears in .proto files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Configuration options for dependency resolution.
9 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
10 | /// Whether to allow missing imports (skip them instead of failing).
11 | public let allowMissingImports: Bool
:
24 |
25 | /// Default options.
26 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | allowMissingImports: false,
28 | recursive: true,
[128/133] Compiling SwiftProtoParser ProtoVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Core/ProtoVersion.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// SwiftProtoParser focuses on Protocol Buffers 3 (proto3) syntax only.
6 | /// Proto2 is explicitly not supported to keep the implementation simple and focused.
7 | public enum ProtoVersion: String, CaseIterable {
| `- note: consider making enum 'ProtoVersion' conform to the 'Sendable' protocol
8 | /// Protocol Buffers version 3 (proto3).
9 | case proto3 = "proto3"
:
12 |
13 | /// The default version used when no version is explicitly specified.
14 | public static let `default`: ProtoVersion = .proto3
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The syntax string as it appears in .proto files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Configuration options for dependency resolution.
9 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
10 | /// Whether to allow missing imports (skip them instead of failing).
11 | public let allowMissingImports: Bool
:
24 |
25 | /// Default options.
26 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | allowMissingImports: false,
28 | recursive: true,
[129/133] Compiling SwiftProtoParser DependencyResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Core/ProtoVersion.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// SwiftProtoParser focuses on Protocol Buffers 3 (proto3) syntax only.
6 | /// Proto2 is explicitly not supported to keep the implementation simple and focused.
7 | public enum ProtoVersion: String, CaseIterable {
| `- note: consider making enum 'ProtoVersion' conform to the 'Sendable' protocol
8 | /// Protocol Buffers version 3 (proto3).
9 | case proto3 = "proto3"
:
12 |
13 | /// The default version used when no version is explicitly specified.
14 | public static let `default`: ProtoVersion = .proto3
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The syntax string as it appears in .proto files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Configuration options for dependency resolution.
9 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
10 | /// Whether to allow missing imports (skip them instead of failing).
11 | public let allowMissingImports: Bool
:
24 |
25 | /// Default options.
26 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | allowMissingImports: false,
28 | recursive: true,
[130/133] Compiling SwiftProtoParser FileSystemScanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Core/ProtoVersion.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// SwiftProtoParser focuses on Protocol Buffers 3 (proto3) syntax only.
6 | /// Proto2 is explicitly not supported to keep the implementation simple and focused.
7 | public enum ProtoVersion: String, CaseIterable {
| `- note: consider making enum 'ProtoVersion' conform to the 'Sendable' protocol
8 | /// Protocol Buffers version 3 (proto3).
9 | case proto3 = "proto3"
:
12 |
13 | /// The default version used when no version is explicitly specified.
14 | public static let `default`: ProtoVersion = .proto3
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ProtoVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// The syntax string as it appears in .proto files.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Configuration options for dependency resolution.
9 | public struct Options {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
10 | /// Whether to allow missing imports (skip them instead of failing).
11 | public let allowMissingImports: Bool
:
24 |
25 | /// Default options.
26 | public static let `default` = Options(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DependencyResolver.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | allowMissingImports: false,
28 | recursive: true,
[131/133] Compiling SwiftProtoParser PerformanceBenchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
32 |
33 | /// Default configuration.
34 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | iterations: 10,
36 | warmupIterations: 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:43:23: warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
41 |
42 | /// Quick benchmark configuration.
43 | public static let quick = Configuration(
| |- warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | iterations: 3,
45 | warmupIterations: 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:52:23: warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
50 |
51 | /// Comprehensive benchmark configuration.
52 | public static let comprehensive = Configuration(
| |- warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comprehensive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | iterations: 50,
54 | warmupIterations: 10,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxASTEntries: 1000,
72 | maxDescriptorEntries: 500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:80:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
78 |
79 | /// High-performance configuration for large projects.
80 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | maxASTEntries: 5000,
82 | maxDescriptorEntries: 2500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:90:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
88 |
89 | /// Memory-constrained configuration.
90 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | maxASTEntries: 100,
92 | maxDescriptorEntries: 50,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:243:14: warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
241 | queue.async(flags: .barrier) {
242 | let entry = ASTCacheEntry(
243 | ast: ast,
| `- warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
244 | contentHash: contentHash,
245 | fileSize: fileSize,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/AST/ProtoAST.swift:4:15: note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
2 |
3 | /// Root AST node representing a complete .proto file.
4 | public struct ProtoAST {
| `- note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
5 | /// Protocol Buffer syntax version (proto3 only supported).
6 | public let syntax: ProtoVersion
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:252:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
250 | )
251 |
252 | self.astCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
253 | self.enforceASTCacheLimits()
254 | self.updateAverageParseTime(parseTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:344:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
342 | )
343 |
344 | self.descriptorCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
345 | self.enforceDescriptorCacheLimits()
346 | self.updateAverageBuildTime(buildTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:423:17: warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
421 | queue.async(flags: .barrier) {
422 | let entry = DependencyCacheEntry(
423 | result: result,
| `- warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
424 | contentHash: contentHash,
425 | createdAt: Date(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:51:17: note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
49 |
50 | /// Result of dependency resolution.
51 | public struct ResolutionResult {
| `- note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
52 | /// The main file that was resolved.
53 | public let mainFile: ResolvedProtoFile
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:430:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
428 | )
429 |
430 | self.dependencyCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
431 | self.enforceDependencyCacheLimits()
432 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:440:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
438 | public func clearAll() {
439 | queue.async(flags: .barrier) {
440 | self.astCache.removeAll()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
441 | self.descriptorCache.removeAll()
442 | self.dependencyCache.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:47: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:453:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:454:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
455 | }
456 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:599:7: warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
597 | // Start a timer to periodically clear expired entries
598 | monitoringTimer = Timer.scheduledTimer(withTimeInterval: 300, repeats: true) { [weak self] _ in
599 | self?.clearExpired()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
600 | }
601 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:398:21: warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | /// Shared performance cache instance for optimized parsing.
398 | public static let sharedCache = PerformanceCache(configuration: .default)
| |- warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |
400 | /// Shared incremental parser instance for large projects.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:12:20: note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:401:21: warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | /// Shared incremental parser instance for large projects.
401 | public static let sharedIncrementalParser = IncrementalParser(
| |- warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedIncrementalParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | configuration: .default,
403 | cache: sharedCache
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:11:20: note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
[132/133] Compiling SwiftProtoParser PerformanceCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
32 |
33 | /// Default configuration.
34 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | iterations: 10,
36 | warmupIterations: 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:43:23: warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
41 |
42 | /// Quick benchmark configuration.
43 | public static let quick = Configuration(
| |- warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | iterations: 3,
45 | warmupIterations: 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:52:23: warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
50 |
51 | /// Comprehensive benchmark configuration.
52 | public static let comprehensive = Configuration(
| |- warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comprehensive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | iterations: 50,
54 | warmupIterations: 10,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxASTEntries: 1000,
72 | maxDescriptorEntries: 500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:80:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
78 |
79 | /// High-performance configuration for large projects.
80 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | maxASTEntries: 5000,
82 | maxDescriptorEntries: 2500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:90:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
88 |
89 | /// Memory-constrained configuration.
90 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | maxASTEntries: 100,
92 | maxDescriptorEntries: 50,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:243:14: warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
241 | queue.async(flags: .barrier) {
242 | let entry = ASTCacheEntry(
243 | ast: ast,
| `- warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
244 | contentHash: contentHash,
245 | fileSize: fileSize,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/AST/ProtoAST.swift:4:15: note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
2 |
3 | /// Root AST node representing a complete .proto file.
4 | public struct ProtoAST {
| `- note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
5 | /// Protocol Buffer syntax version (proto3 only supported).
6 | public let syntax: ProtoVersion
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:252:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
250 | )
251 |
252 | self.astCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
253 | self.enforceASTCacheLimits()
254 | self.updateAverageParseTime(parseTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:344:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
342 | )
343 |
344 | self.descriptorCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
345 | self.enforceDescriptorCacheLimits()
346 | self.updateAverageBuildTime(buildTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:423:17: warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
421 | queue.async(flags: .barrier) {
422 | let entry = DependencyCacheEntry(
423 | result: result,
| `- warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
424 | contentHash: contentHash,
425 | createdAt: Date(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:51:17: note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
49 |
50 | /// Result of dependency resolution.
51 | public struct ResolutionResult {
| `- note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
52 | /// The main file that was resolved.
53 | public let mainFile: ResolvedProtoFile
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:430:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
428 | )
429 |
430 | self.dependencyCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
431 | self.enforceDependencyCacheLimits()
432 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:440:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
438 | public func clearAll() {
439 | queue.async(flags: .barrier) {
440 | self.astCache.removeAll()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
441 | self.descriptorCache.removeAll()
442 | self.dependencyCache.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:47: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:453:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:454:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
455 | }
456 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:599:7: warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
597 | // Start a timer to periodically clear expired entries
598 | monitoringTimer = Timer.scheduledTimer(withTimeInterval: 300, repeats: true) { [weak self] _ in
599 | self?.clearExpired()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
600 | }
601 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:398:21: warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | /// Shared performance cache instance for optimized parsing.
398 | public static let sharedCache = PerformanceCache(configuration: .default)
| |- warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |
400 | /// Shared incremental parser instance for large projects.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:12:20: note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:401:21: warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | /// Shared incremental parser instance for large projects.
401 | public static let sharedIncrementalParser = IncrementalParser(
| |- warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedIncrementalParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | configuration: .default,
403 | cache: sharedCache
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:11:20: note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
[133/133] Compiling SwiftProtoParser SwiftProtoParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
32 |
33 | /// Default configuration.
34 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | iterations: 10,
36 | warmupIterations: 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:43:23: warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
41 |
42 | /// Quick benchmark configuration.
43 | public static let quick = Configuration(
| |- warning: static property 'quick' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quick' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | iterations: 3,
45 | warmupIterations: 1,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceBenchmark.swift:52:23: warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Benchmark configuration settings.
17 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
18 | /// Number of iterations for each benchmark.
19 | public let iterations: Int
:
50 |
51 | /// Comprehensive benchmark configuration.
52 | public static let comprehensive = Configuration(
| |- warning: static property 'comprehensive' is not concurrency-safe because non-'Sendable' type 'PerformanceBenchmark.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comprehensive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | iterations: 50,
54 | warmupIterations: 10,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:70:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
68 |
69 | /// Default configuration.
70 | public static let `default` = Configuration(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | maxASTEntries: 1000,
72 | maxDescriptorEntries: 500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:80:23: warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
78 |
79 | /// High-performance configuration for large projects.
80 | public static let highPerformance = Configuration(
| |- warning: static property 'highPerformance' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highPerformance' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | maxASTEntries: 5000,
82 | maxDescriptorEntries: 2500,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:90:23: warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// Cache configuration settings.
50 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
51 | /// Maximum number of AST entries to cache.
52 | public let maxASTEntries: Int
:
88 |
89 | /// Memory-constrained configuration.
90 | public static let memoryConstrained = Configuration(
| |- warning: static property 'memoryConstrained' is not concurrency-safe because non-'Sendable' type 'PerformanceCache.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memoryConstrained' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | maxASTEntries: 100,
92 | maxDescriptorEntries: 50,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:243:14: warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
241 | queue.async(flags: .barrier) {
242 | let entry = ASTCacheEntry(
243 | ast: ast,
| `- warning: capture of 'ast' with non-sendable type 'ProtoAST' in a '@Sendable' closure
244 | contentHash: contentHash,
245 | fileSize: fileSize,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Parser/AST/ProtoAST.swift:4:15: note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
2 |
3 | /// Root AST node representing a complete .proto file.
4 | public struct ProtoAST {
| `- note: consider making struct 'ProtoAST' conform to the 'Sendable' protocol
5 | /// Protocol Buffer syntax version (proto3 only supported).
6 | public let syntax: ProtoVersion
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:252:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
250 | )
251 |
252 | self.astCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
253 | self.enforceASTCacheLimits()
254 | self.updateAverageParseTime(parseTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:344:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
342 | )
343 |
344 | self.descriptorCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
345 | self.enforceDescriptorCacheLimits()
346 | self.updateAverageBuildTime(buildTime)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:423:17: warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
421 | queue.async(flags: .barrier) {
422 | let entry = DependencyCacheEntry(
423 | result: result,
| `- warning: capture of 'result' with non-sendable type 'DependencyResolver.ResolutionResult' in a '@Sendable' closure
424 | contentHash: contentHash,
425 | createdAt: Date(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/DependencyResolver/DependencyResolver.swift:51:17: note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
49 |
50 | /// Result of dependency resolution.
51 | public struct ResolutionResult {
| `- note: consider making struct 'ResolutionResult' conform to the 'Sendable' protocol
52 | /// The main file that was resolved.
53 | public let mainFile: ResolvedProtoFile
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:430:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
428 | )
429 |
430 | self.dependencyCache[filePath] = entry
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
431 | self.enforceDependencyCacheLimits()
432 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:440:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
438 | public func clearAll() {
439 | queue.async(flags: .barrier) {
440 | self.astCache.removeAll()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
441 | self.descriptorCache.removeAll()
442 | self.dependencyCache.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:7: warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in a '@Sendable' closure
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:452:47: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
450 | let now = Date()
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:453:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
451 |
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
455 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:454:61: warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
452 | self.astCache = self.astCache.filter { !self.isExpired($0.value.createdAt, at: now) }
453 | self.descriptorCache = self.descriptorCache.filter { !self.isExpired($0.value.createdAt, at: now) }
454 | self.dependencyCache = self.dependencyCache.filter { !self.isExpired($0.value.createdAt, at: now) }
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache' in an isolated closure; this is an error in the Swift 6 language mode
455 | }
456 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:599:7: warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
:
597 | // Start a timer to periodically clear expired entries
598 | monitoringTimer = Timer.scheduledTimer(withTimeInterval: 300, repeats: true) { [weak self] _ in
599 | self?.clearExpired()
| `- warning: capture of 'self' with non-sendable type 'PerformanceCache?' in a '@Sendable' closure
600 | }
601 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:398:21: warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
396 |
397 | /// Shared performance cache instance for optimized parsing.
398 | public static let sharedCache = PerformanceCache(configuration: .default)
| |- warning: static property 'sharedCache' is not concurrency-safe because non-'Sendable' type 'PerformanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
399 |
400 | /// Shared incremental parser instance for large projects.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/PerformanceCache.swift:12:20: note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
10 | /// - Memory-aware cache eviction policies
11 | /// - Performance metrics and monitoring
12 | public final class PerformanceCache {
| `- note: class 'PerformanceCache' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Cache Entry Types
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Public/SwiftProtoParser.swift:401:21: warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | /// Shared incremental parser instance for large projects.
401 | public static let sharedIncrementalParser = IncrementalParser(
| |- warning: static property 'sharedIncrementalParser' is not concurrency-safe because non-'Sendable' type 'IncrementalParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharedIncrementalParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | configuration: .default,
403 | cache: sharedCache
/Users/admin/builder/spi-builder-workspace/Sources/SwiftProtoParser/Performance/IncrementalParser.swift:11:20: note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
9 | /// - Batch processing optimization
10 | /// - Memory-efficient streaming for large files
11 | public final class IncrementalParser {
| `- note: class 'IncrementalParser' does not conform to the 'Sendable' protocol
12 |
13 | // MARK: - File Change Tracking
Build complete! (13.26s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.29.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
}
],
"manifest_display_name" : "SwiftProtoParser",
"name" : "SwiftProtoParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftProtoParser",
"targets" : [
"SwiftProtoParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftProtoParserTests",
"module_type" : "SwiftTarget",
"name" : "SwiftProtoParserTests",
"path" : "Tests/SwiftProtoParserTests",
"product_dependencies" : [
"SwiftProtobuf"
],
"sources" : [
"Core/ProtoParseErrorTests.swift",
"Core/ProtoVersionTests.swift",
"DependencyResolver/BasicDependencyResolverTests.swift",
"DependencyResolver/ComprehensiveDependencyResolverTests.swift",
"DependencyResolver/DependencyResolverAdvancedTests.swift",
"DependencyResolver/FileSystemScannerDetailedTests.swift",
"DependencyResolver/ImportResolverDetailed.swift",
"DependencyResolver/ResolverErrorTests.swift",
"DescriptorBuilder/DescriptorBuilderComprehensiveTests.swift",
"DescriptorBuilder/DescriptorBuilderTests.swift",
"DescriptorBuilder/DescriptorErrorTests.swift",
"DescriptorBuilder/EnumDescriptorBuilderTests.swift",
"DescriptorBuilder/FieldDescriptorBuilderTests.swift",
"DescriptorBuilder/MessageDescriptorBuilderTests.swift",
"DescriptorBuilder/ServiceDescriptorBuilderTests.swift",
"Lexer/KeywordRecognizerTests.swift",
"Lexer/LexerErrorTests.swift",
"Lexer/LexerTests.swift",
"Lexer/TokenTests.swift",
"Parser/ASTCoverageBoostTests.swift",
"Parser/ASTTests.swift",
"Parser/ExtendNodeTests.swift",
"Parser/MessageNodeTests.swift",
"Parser/ParserAdvancedTests.swift",
"Parser/ParserCoverageEnhancementTests.swift",
"Parser/ParserErrorPathTests.swift",
"Parser/ParserErrorTests.swift",
"Parser/ParserSpecificCoverageTests.swift",
"Parser/ParserStateTests.swift",
"Parser/ParserTests.swift",
"Performance/IncrementalParserComprehensiveTests.swift",
"Performance/PerformanceAPITests.swift",
"Performance/PerformanceBenchmarkComprehensiveTests.swift",
"Performance/PerformanceBenchmarkTests.swift",
"Performance/PerformanceCacheComprehensiveTests.swift",
"Performance/PerformanceCacheTests.swift",
"ProductTests/ComplexProtoTests.swift",
"ProductTests/MediumProtoTests.swift",
"ProductTests/SimpleProtoProductTestsFixed.swift",
"Public/SwiftProtoParserAdvancedCoverageTests.swift",
"Public/SwiftProtoParserDependencyTests.swift",
"Public/SwiftProtoParserExtensionTests.swift",
"Public/SwiftProtoParserTests.swift"
],
"target_dependencies" : [
"SwiftProtoParser"
],
"type" : "test"
},
{
"c99name" : "SwiftProtoParser",
"module_type" : "SwiftTarget",
"name" : "SwiftProtoParser",
"path" : "Sources/SwiftProtoParser",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"SwiftProtoParser"
],
"sources" : [
"Core/ProtoParseError.swift",
"Core/ProtoVersion.swift",
"DependencyResolver/DependencyResolver.swift",
"DependencyResolver/FileSystemScanner.swift",
"DependencyResolver/ImportResolver.swift",
"DependencyResolver/ResolvedProtoFile.swift",
"DependencyResolver/ResolverError.swift",
"DescriptorBuilder/DescriptorBuilder.swift",
"DescriptorBuilder/DescriptorError.swift",
"DescriptorBuilder/EnumDescriptorBuilder.swift",
"DescriptorBuilder/FieldDescriptorBuilder.swift",
"DescriptorBuilder/MessageDescriptorBuilder.swift",
"DescriptorBuilder/ServiceDescriptorBuilder.swift",
"Lexer/KeywordRecognizer.swift",
"Lexer/Lexer.swift",
"Lexer/LexerError.swift",
"Lexer/Token.swift",
"Parser/AST/EnumNode.swift",
"Parser/AST/ExtendNode.swift",
"Parser/AST/FieldLabel.swift",
"Parser/AST/FieldNode.swift",
"Parser/AST/FieldType.swift",
"Parser/AST/MessageNode.swift",
"Parser/AST/OptionNode.swift",
"Parser/AST/ProtoAST.swift",
"Parser/AST/ServiceNode.swift",
"Parser/Parser.swift",
"Parser/ParserError.swift",
"Parser/ParserState.swift",
"Performance/IncrementalParser.swift",
"Performance/PerformanceBenchmark.swift",
"Performance/PerformanceCache.swift",
"Public/SwiftProtoParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.