Build Information
Successful build of swift-math-parser, reference 3.7.3 (5729cd
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:42:37 UTC.
Swift 6 data race errors: 4
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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/swift-math-parser.git
Reference: 3.7.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/swift-math-parser
* tag 3.7.3 -> FETCH_HEAD
HEAD is now at 5729cd0 Additional tests and doc
Cloned https://github.com/bradhowes/swift-math-parser.git
Revision (git rev-parse @):
5729cd0d70f0c1a2f9e1551fd0914e22a0c6fa7c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bradhowes/swift-math-parser.git at 3.7.3
Fetching https://github.com/pointfreeco/swift-case-paths from cache
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/pointfreeco/swift-parsing from cache
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.21s)
Fetched https://github.com/pointfreeco/swift-parsing from cache (1.21s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.22s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.22s)
[1/70245] Fetching swift-syntax
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.81s)
Fetched https://github.com/apple/swift-syntax from cache (3.27s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.27s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.13.0 (2.05s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.62s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.4.2 (0.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.2 (0.58s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 510.0.2 (0.66s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.4.2
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 510.0.2
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.2
========================================
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-math-parser",
"name": "swift-math-parser",
"url": "https://github.com/bradhowes/swift-math-parser.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-math-parser",
"dependencies": [
{
"identity": "swift-parsing",
"name": "swift-parsing",
"url": "https://github.com/pointfreeco/swift-parsing",
"version": "0.14.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-parsing",
"dependencies": [
{
"identity": "swift-case-paths",
"name": "swift-case-paths",
"url": "https://github.com/pointfreeco/swift-case-paths",
"version": "1.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-case-paths",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "601.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
},
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "1.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/bradhowes/swift-math-parser.git
[1/1449] Fetching swift-math-parser
Fetched https://github.com/bradhowes/swift-math-parser.git from cache (1.00s)
Fetching https://github.com/pointfreeco/swift-parsing from cache
Fetched https://github.com/pointfreeco/swift-parsing from cache (0.48s)
Computing version for https://github.com/pointfreeco/swift-parsing
Computed https://github.com/pointfreeco/swift-parsing at 0.14.1 (0.96s)
Fetching https://github.com/pointfreeco/swift-case-paths from cache
Fetched https://github.com/pointfreeco/swift-case-paths from cache (0.47s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.0 (1.21s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.40s)
Fetched https://github.com/swiftlang/swift-syntax from cache (0.95s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.46s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.63s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/bradhowes/swift-math-parser.git
Working copy of https://github.com/bradhowes/swift-math-parser.git resolved at 3.7.3 (5729cd0)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-parsing
Working copy of https://github.com/pointfreeco/swift-parsing resolved at 0.14.1
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.7.0
warning: '.resolve-product-dependencies': dependency 'swift-math-parser' is not used by any target
Found 1 product dependencies
- swift-parsing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bradhowes/swift-math-parser.git
https://github.com/bradhowes/swift-math-parser.git
{
"dependencies" : [
{
"identity" : "swift-parsing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-math-parser",
"name" : "swift-math-parser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MathParser",
"targets" : [
"MathParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathParserTests",
"module_type" : "SwiftTarget",
"name" : "MathParserTests",
"path" : "Tests/MathParserTests",
"product_dependencies" : [
"Parsing"
],
"sources" : [
"MathParserTests.swift",
"TestWolfram.swift",
"TokenTests.swift",
"UtilsTests.swift"
],
"target_dependencies" : [
"MathParser"
],
"type" : "test"
},
{
"c99name" : "MathParser",
"module_type" : "SwiftTarget",
"name" : "MathParser",
"path" : "Sources/MathParser",
"product_dependencies" : [
"Parsing"
],
"product_memberships" : [
"MathParser"
],
"sources" : [
"Dictionary-extension.swift",
"Double-extension.swift",
"Evaluator.swift",
"InfixOperation.swift",
"MathParser.swift",
"MathParserError.swift",
"Token.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/23] Write sources
[20/23] Write swift-version-2F0A5646E1D333AE.txt
[22/37] Emitting module SwiftSyntax509
[23/37] Emitting module SwiftSyntax510
[24/37] Compiling SwiftSyntax510 Empty.swift
[25/37] Compiling SwiftSyntax509 Empty.swift
[26/99] Compiling SwiftSyntax AbsolutePosition.swift
[27/99] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[28/99] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[29/99] Compiling SwiftSyntax Assert.swift
[30/99] Compiling SwiftSyntax BumpPtrAllocator.swift
[31/99] Compiling SwiftSyntax CommonAncestor.swift
[32/99] Compiling SwiftSyntax Convenience.swift
[33/105] Compiling SwiftSyntax SyntaxHashable.swift
[34/105] Compiling SwiftSyntax SyntaxIdentifier.swift
[35/105] Compiling SwiftSyntax SyntaxNodeStructure.swift
[36/105] Compiling SwiftSyntax SyntaxProtocol.swift
[37/105] Compiling SwiftSyntax SyntaxText.swift
[38/105] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[39/105] Compiling SwiftSyntax TokenDiagnostic.swift
[40/105] Compiling SwiftSyntax SourceLocation.swift
[41/105] Compiling SwiftSyntax SourcePresence.swift
[42/105] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[43/105] Compiling SwiftSyntax Syntax.swift
[44/105] Compiling SwiftSyntax SyntaxArena.swift
[45/105] Compiling SwiftSyntax SyntaxChildren.swift
[46/105] Compiling SwiftSyntax SyntaxCollection.swift
[47/105] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[48/105] Compiling XCTestDynamicOverlay XCTExpectFailure.swift
[49/105] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[50/105] Compiling XCTestDynamicOverlay Unimplemented.swift
[51/105] Compiling XCTestDynamicOverlay XCTFail.swift
[52/105] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[53/105] Compiling XCTestDynamicOverlay Deprecations.swift
[54/105] Emitting module XCTestDynamicOverlay
[55/105] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[56/105] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[57/105] Emitting module SwiftSyntax
[58/105] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[59/105] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[60/105] Compiling SwiftSyntax SyntaxBaseNodes.swift
[61/105] Compiling SwiftSyntax SyntaxCollections.swift
[62/105] Compiling SwiftSyntax SyntaxEnum.swift
[63/105] Compiling SwiftSyntax SyntaxKind.swift
[64/105] Compiling SwiftSyntax SyntaxRewriter.swift
[65/105] Compiling SwiftSyntax MemoryLayout.swift
[66/105] Compiling SwiftSyntax MissingNodeInitializers.swift
[67/105] Compiling SwiftSyntax RawSyntax.swift
[68/105] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[69/105] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[70/105] Compiling SwiftSyntax RawSyntaxTokenView.swift
[71/105] Compiling SwiftSyntax SourceLength.swift
[72/105] Compiling SwiftSyntax RawSyntaxNodesC.swift
[73/105] Compiling SwiftSyntax RawSyntaxNodesD.swift
[74/105] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[75/105] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[76/105] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[77/105] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[78/105] Compiling SwiftSyntax TokenSequence.swift
[79/105] Compiling SwiftSyntax TokenSyntax.swift
[80/105] Compiling SwiftSyntax Trivia.swift
[81/105] Compiling SwiftSyntax Utils.swift
[82/105] Compiling SwiftSyntax ChildNameForKeyPath.swift
[83/105] Compiling SwiftSyntax Keyword.swift
[84/105] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[85/105] Compiling SwiftSyntax SyntaxTraits.swift
[86/105] Compiling SwiftSyntax SyntaxTransform.swift
[87/105] Compiling SwiftSyntax SyntaxVisitor.swift
[88/105] Compiling SwiftSyntax TokenKind.swift
[89/105] Compiling SwiftSyntax Tokens.swift
[90/105] Compiling SwiftSyntax TriviaPieces.swift
[91/105] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[92/105] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[93/105] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[94/105] Compiling SwiftSyntax RawSyntaxValidation.swift
[95/105] Compiling SwiftSyntax SyntaxNodesAB.swift
[96/105] Compiling SwiftSyntax SyntaxNodesC.swift
[97/105] Compiling SwiftSyntax SyntaxNodesD.swift
[98/105] Compiling SwiftSyntax SyntaxNodesEF.swift
[99/105] Compiling SwiftSyntax SyntaxNodesGHI.swift
[100/105] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[101/105] Compiling SwiftSyntax SyntaxNodesOP.swift
[102/105] Compiling SwiftSyntax SyntaxNodesQRS.swift
[103/105] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[104/157] Compiling SwiftDiagnostics Note.swift
[105/157] Compiling SwiftBasicFormat Syntax+Extensions.swift
[106/157] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[107/157] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[108/157] Emitting module SwiftDiagnostics
[109/157] Compiling SwiftDiagnostics Message.swift
[110/157] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[111/157] Compiling SwiftDiagnostics FixIt.swift
[112/157] Compiling SwiftDiagnostics Convenience.swift
[113/157] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[114/157] Compiling SwiftDiagnostics Diagnostic.swift
[115/157] Emitting module SwiftBasicFormat
[116/157] Compiling SwiftBasicFormat BasicFormat.swift
[117/157] Compiling SwiftParser UnicodeScalarExtensions.swift
[118/157] Compiling SwiftParser Lookahead.swift
[119/157] Compiling SwiftParser LoopProgressCondition.swift
[120/157] Compiling SwiftParser Modifiers.swift
[121/157] Compiling SwiftParser Lexeme.swift
[122/157] Compiling SwiftParser LexemeSequence.swift
[123/157] Compiling SwiftParser Lexer.swift
[124/157] Compiling SwiftParser RegexLiteralLexer.swift
[125/161] Compiling SwiftParser Statements.swift
[126/161] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[127/161] Compiling SwiftParser StringLiterals.swift
[128/161] Compiling SwiftParser SwiftParserCompatibility.swift
[129/161] Compiling SwiftParser Parser.swift
[130/161] Compiling SwiftParser Patterns.swift
[131/161] Compiling SwiftParser Recovery.swift
[132/161] Compiling SwiftParser Specifiers.swift
[133/161] Compiling SwiftParser Names.swift
[134/161] Compiling SwiftParser Nominals.swift
[135/161] Compiling SwiftParser Parameters.swift
[136/161] Compiling SwiftParser ParseSourceFile.swift
[137/161] Compiling SwiftParser SyntaxUtils.swift
[138/161] Compiling SwiftParser TokenConsumer.swift
[139/161] Compiling SwiftParser TokenPrecedence.swift
[140/161] Compiling SwiftParser TokenSpec.swift
[141/161] Compiling SwiftParser TokenSpecSet.swift
[142/161] Compiling SwiftParser TopLevel.swift
[143/161] Compiling SwiftParser TriviaParser.swift
[144/161] Compiling SwiftParser Types.swift
[145/161] Emitting module SwiftParser
[146/161] Compiling SwiftParser IsLexerClassified.swift
[147/161] Compiling SwiftParser LayoutNodes+Parsable.swift
[148/161] Compiling SwiftParser Parser+TokenSpecSet.swift
[149/161] Compiling SwiftParser TokenSpecStaticMembers.swift
[150/161] Compiling SwiftParser Directives.swift
[151/161] Compiling SwiftParser ExperimentalFeatures.swift
[152/161] Compiling SwiftParser Expressions.swift
[153/161] Compiling SwiftParser IncrementalParseTransition.swift
[154/161] Compiling SwiftParser Cursor.swift
[155/161] Compiling SwiftParser Attributes.swift
[156/161] Compiling SwiftParser Availability.swift
[157/161] Compiling SwiftParser CharacterInfo.swift
[158/161] Compiling SwiftParser CollectionNodes+Parsable.swift
[159/161] Compiling SwiftParser Declarations.swift
[160/184] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[161/185] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[162/185] Compiling SwiftParserDiagnostics Utils.swift
[163/185] Compiling SwiftOperators PrecedenceGroup.swift
[164/185] Compiling SwiftOperators PrecedenceGraph.swift
[165/186] Compiling SwiftOperators OperatorTable+Semantics.swift
[166/186] Compiling SwiftOperators OperatorTable.swift
[167/186] Compiling SwiftOperators OperatorTable+Defaults.swift
[168/186] Emitting module SwiftOperators
[169/186] Compiling SwiftOperators OperatorError.swift
[170/186] Compiling SwiftOperators OperatorError+Diagnostics.swift
[171/186] Compiling SwiftOperators OperatorTable+Folding.swift
[172/186] Compiling SwiftOperators Operator.swift
[173/186] Compiling SwiftOperators SyntaxSynthesis.swift
[174/186] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[175/186] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[176/186] Compiling SwiftParserDiagnostics PresenceUtils.swift
[177/186] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[178/186] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[179/186] Emitting module SwiftParserDiagnostics
[180/186] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[181/186] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[182/186] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[183/186] Compiling SwiftParserDiagnostics MissingNodesError.swift
[184/186] Compiling SwiftParserDiagnostics MissingTokenError.swift
[185/200] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[186/201] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[187/201] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[188/201] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[189/201] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[190/201] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[191/201] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[192/201] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[193/201] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[194/201] Compiling SwiftSyntaxBuilder Indenter.swift
[195/201] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[196/201] Emitting module SwiftSyntaxBuilder
[197/201] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[198/201] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[199/201] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[200/215] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[201/215] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[202/215] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[203/215] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[204/215] Compiling SwiftSyntaxMacros Macro.swift
[205/215] Compiling SwiftSyntaxMacros AccessorMacro.swift
[206/215] Compiling SwiftSyntaxMacros AttachedMacro.swift
[207/215] Emitting module SwiftSyntaxMacros
[208/215] Compiling SwiftSyntaxMacros MemberMacro.swift
[209/215] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[210/215] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[211/215] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[212/215] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[213/215] Compiling SwiftSyntaxMacros Macro+Format.swift
[214/216] Compiling SwiftSyntaxMacros PeerMacro.swift
[215/224] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[216/224] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[217/224] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[218/224] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[219/224] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[220/224] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[221/224] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[222/224] Emitting module SwiftSyntaxMacroExpansion
[223/231] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[224/231] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[225/231] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[226/231] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[227/231] Emitting module SwiftCompilerPluginMessageHandling
[228/231] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[229/231] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[230/233] Emitting module SwiftCompilerPlugin
[231/233] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[232/236] Compiling CasePathsMacros Plugin.swift
[233/236] Emitting module CasePathsMacros
[234/236] Compiling CasePathsMacros CasePathableMacro.swift
[234/236] Write Objects.LinkFileList
[235/236] Linking CasePathsMacros-tool
[237/249] Compiling CasePaths Never+CasePathable.swift
[238/250] Compiling CasePaths Deprecations.swift
[239/250] Compiling CasePaths OpenExistential.swift
[240/250] Compiling CasePaths Result+CasePathable.swift
[241/250] Compiling CasePaths Optional+CasePathable.swift
[242/250] Compiling CasePaths CustomCasePaths.swift
[243/250] Compiling CasePaths EnumReflection.swift
[244/250] Compiling CasePaths XCTestSupport.swift
[245/250] Compiling CasePaths Operators.swift
[246/250] Compiling CasePaths TypeName.swift
[247/250] Compiling CasePaths Macros.swift
[248/250] Compiling CasePaths AnyCasePath.swift
[249/250] Compiling CasePaths CasePathable.swift
[250/250] Emitting module CasePaths
[251/319] Compiling Parsing Parser.swift
[252/319] Compiling Parsing ParserPrinter.swift
[253/319] Compiling Parsing Always.swift
[254/319] Compiling Parsing AnyParserPrinter.swift
[255/319] Compiling Parsing Backtracking.swift
[256/319] Compiling Parsing Bool.swift
[257/319] Compiling Parsing CaseIterableRawRepresentable.swift
[258/319] Compiling Parsing CharacterSet.swift
[259/326] Compiling Parsing Enum.swift
[260/326] Compiling Parsing FixedWidthInteger.swift
[261/326] Compiling Parsing Identity.swift
[262/326] Compiling Parsing JSON.swift
[263/326] Compiling Parsing LosslessStringConvertible.swift
[264/326] Compiling Parsing Memberwise.swift
[265/326] Compiling Parsing ParseableFormatStyleConversion.swift
[266/326] Compiling Parsing RawRepresentable.swift
[267/326] Compiling Parsing OneOfBuilder.swift
[268/326] Compiling Parsing ParserBuilder.swift
[269/326] Compiling Parsing Conversion.swift
[270/326] Compiling Parsing AnyConversion.swift
[271/326] Compiling Parsing BinaryFloatingPoint.swift
[272/326] Compiling Parsing ConversionMap.swift
[273/326] Compiling Parsing Conversions.swift
[274/326] Compiling Parsing Data.swift
[275/326] Compiling Parsing Peek.swift
[276/326] Compiling Parsing Pipe.swift
[277/326] Compiling Parsing Prefix.swift
[278/326] Compiling Parsing PrefixThrough.swift
[279/326] Compiling Parsing PrefixUpTo.swift
[280/326] Compiling Parsing Printing.swift
[281/326] Compiling Parsing Pullback.swift
[282/326] Compiling Parsing Not.swift
[283/326] Compiling Parsing OneOf.swift
[284/326] Compiling Parsing OneOfMany.swift
[285/326] Compiling Parsing Optional.swift
[286/326] Compiling Parsing Optionally.swift
[287/326] Compiling Parsing Parse.swift
[288/326] Compiling Parsing ParseableFormatStyle.swift
[289/326] Compiling Parsing String.swift
[290/326] Compiling Parsing Substring.swift
[291/326] Compiling Parsing UTF8View.swift
[292/326] Compiling Parsing ConvertingError.swift
[293/326] Compiling Parsing CountingRange.swift
[294/326] Compiling Parsing EmptyInitializable.swift
[295/326] Compiling Parsing AnyEquatable.swift
[296/326] Compiling Parsing Deprecations.swift
[297/326] Compiling Parsing Conditional.swift
[298/326] Compiling Parsing Consumed.swift
[299/326] Compiling Parsing Digits.swift
[300/326] Compiling Parsing End.swift
[301/326] Compiling Parsing Fail.swift
[302/326] Compiling Parsing Filter.swift
[303/326] Compiling Parsing First.swift
[304/326] Compiling Parsing Float.swift
[305/326] Compiling Parsing From.swift
[306/326] Compiling Parsing Int.swift
[307/326] Compiling Parsing Lazy.swift
[308/326] Compiling Parsing Literal.swift
[309/326] Compiling Parsing Many.swift
[310/326] Compiling Parsing Map.swift
[311/326] Compiling Parsing Newline.swift
[312/326] Compiling Parsing ReplaceError.swift
[313/326] Compiling Parsing Rest.swift
[314/326] Compiling Parsing Skip.swift
[315/326] Compiling Parsing StartsWith.swift
[316/326] Compiling Parsing UUID.swift
[317/326] Compiling Parsing Whitespace.swift
[318/326] Compiling Parsing AnyParser.swift
[319/326] Emitting module Parsing
[320/326] Compiling Parsing CompactMap.swift
[321/326] Compiling Parsing FlatMap.swift
[322/326] Compiling Parsing Parsers.swift
[323/326] Compiling Parsing Stream.swift
[324/326] Compiling Parsing ParsingError.swift
[325/326] Compiling Parsing PrependableCollection.swift
[326/326] Compiling Parsing PrintingError.swift
[327/335] Compiling MathParser Utils.swift
[328/335] Compiling MathParser InfixOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/InfixOperation.swift:105:14: warning: static property 'logSink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | // Default action is to print log messages. Test case adapts to check logging is working.
105 | static var logSink: (String) -> Void = { print($0) }
| |- warning: static property 'logSink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logSink' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logSink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | private func log(_ msg: String, lhs: Token? = nil, rhs: Token? = nil, rest: Substring? = nil) {
[329/335] Compiling MathParser MathParserError.swift
[330/335] Compiling MathParser Double-extension.swift
[331/335] Compiling MathParser Token.swift
[332/335] Compiling MathParser Dictionary-extension.swift
[333/335] Emitting module MathParser
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/InfixOperation.swift:105:14: warning: static property 'logSink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | // Default action is to print log messages. Test case adapts to check logging is working.
105 | static var logSink: (String) -> Void = { print($0) }
| |- warning: static property 'logSink' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logSink' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logSink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | private func log(_ msg: String, lhs: Token? = nil, rhs: Token? = nil, rest: Substring? = nil) {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:85:21: warning: static property 'defaultUnaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.UnaryFunctionDict' (aka 'Dictionary<String, (Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
83 | - `sgn` -- return -1 if the given value is negative and 1 if it is positive. If zero, return 0.
84 | */
85 | public static let defaultUnaryFunctions: UnaryFunctionDict = [
| |- warning: static property 'defaultUnaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.UnaryFunctionDict' (aka 'Dictionary<String, (Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultUnaryFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | "sin": sin, "asin": asin, "cos": cos, "acos": acos, "tan": tan, "atan": atan,
87 | "sinh": sinh, "asinh": asinh, "cosh": cosh, "acosh": acosh, "tanh": tanh, "atanh": atanh,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:110:21: warning: static property 'defaultBinaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.BinaryFunctionDict' (aka 'Dictionary<String, (Double, Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
108 | same as writing `x ^ y`.
109 | */
110 | public static let defaultBinaryFunctions: BinaryFunctionDict = [
| |- warning: static property 'defaultBinaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.BinaryFunctionDict' (aka 'Dictionary<String, (Double, Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBinaryFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | "atan2": atan2,
112 | "hypot": hypot,
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:402:13: warning: let 'ignoreSpaces' is not concurrency-safe because non-'Sendable' type 'Skip<Substring, Optionally<Substring, Prefix<Substring>>>' may have shared mutable state; this is an error in the Swift 6 language mode
400 |
401 | /// Common expression for ignoring spaces in other parsers
402 | private let ignoreSpaces = Skip { Optionally { Prefix<Substring> { $0.isWhitespace } } }
| `- warning: let 'ignoreSpaces' is not concurrency-safe because non-'Sendable' type 'Skip<Substring, Optionally<Substring, Prefix<Substring>>>' may have shared mutable state; this is an error in the Swift 6 language mode
403 |
404 | typealias TokenParser = Parser<Substring, Token>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | // Copyright © 2023 Brad Howes. All rights reserved.
2 |
3 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
4 | import Foundation
5 |
:
400 |
401 | /// Common expression for ignoring spaces in other parsers
402 | private let ignoreSpaces = Skip { Optionally { Prefix<Substring> { $0.isWhitespace } } }
| |- note: add '@MainActor' to make let 'ignoreSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |
404 | typealias TokenParser = Parser<Substring, Token>
[334/335] Compiling MathParser Evaluator.swift
[335/335] Compiling MathParser MathParser.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:85:21: warning: static property 'defaultUnaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.UnaryFunctionDict' (aka 'Dictionary<String, (Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
83 | - `sgn` -- return -1 if the given value is negative and 1 if it is positive. If zero, return 0.
84 | */
85 | public static let defaultUnaryFunctions: UnaryFunctionDict = [
| |- warning: static property 'defaultUnaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.UnaryFunctionDict' (aka 'Dictionary<String, (Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultUnaryFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | "sin": sin, "asin": asin, "cos": cos, "acos": acos, "tan": tan, "atan": atan,
87 | "sinh": sinh, "asinh": asinh, "cosh": cosh, "acosh": acosh, "tanh": tanh, "atanh": atanh,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:110:21: warning: static property 'defaultBinaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.BinaryFunctionDict' (aka 'Dictionary<String, (Double, Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
108 | same as writing `x ^ y`.
109 | */
110 | public static let defaultBinaryFunctions: BinaryFunctionDict = [
| |- warning: static property 'defaultBinaryFunctions' is not concurrency-safe because non-'Sendable' type 'MathParser.BinaryFunctionDict' (aka 'Dictionary<String, (Double, Double) -> Double>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultBinaryFunctions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | "atan2": atan2,
112 | "hypot": hypot,
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:402:13: warning: let 'ignoreSpaces' is not concurrency-safe because non-'Sendable' type 'Skip<Substring, Optionally<Substring, Prefix<Substring>>>' may have shared mutable state; this is an error in the Swift 6 language mode
400 |
401 | /// Common expression for ignoring spaces in other parsers
402 | private let ignoreSpaces = Skip { Optionally { Prefix<Substring> { $0.isWhitespace } } }
| `- warning: let 'ignoreSpaces' is not concurrency-safe because non-'Sendable' type 'Skip<Substring, Optionally<Substring, Prefix<Substring>>>' may have shared mutable state; this is an error in the Swift 6 language mode
403 |
404 | typealias TokenParser = Parser<Substring, Token>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-parsing/Sources/Parsing/ParserPrinters/Skip.swift:2:15: note: generic struct 'Skip' does not conform to the 'Sendable' protocol
1 | /// A parser that discards the output of another parser.
2 | public struct Skip<Input, Parsers: Parser>: Parser where Parsers.Input == Input {
| `- note: generic struct 'Skip' does not conform to the 'Sendable' protocol
3 | /// The parser from which this parser receives output.
4 | public let parsers: Parsers
/Users/admin/builder/spi-builder-workspace/Sources/MathParser/MathParser.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
1 | // Copyright © 2023 Brad Howes. All rights reserved.
2 |
3 | import Parsing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parsing'
4 | import Foundation
5 |
:
400 |
401 | /// Common expression for ignoring spaces in other parsers
402 | private let ignoreSpaces = Skip { Optionally { Prefix<Substring> { $0.isWhitespace } } }
| |- note: add '@MainActor' to make let 'ignoreSpaces' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |
404 | typealias TokenParser = Parser<Substring, Token>
Build complete! (35.34s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-parsing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-math-parser",
"name" : "swift-math-parser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MathParser",
"targets" : [
"MathParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathParserTests",
"module_type" : "SwiftTarget",
"name" : "MathParserTests",
"path" : "Tests/MathParserTests",
"product_dependencies" : [
"Parsing"
],
"sources" : [
"MathParserTests.swift",
"TestWolfram.swift",
"TokenTests.swift",
"UtilsTests.swift"
],
"target_dependencies" : [
"MathParser"
],
"type" : "test"
},
{
"c99name" : "MathParser",
"module_type" : "SwiftTarget",
"name" : "MathParser",
"path" : "Sources/MathParser",
"product_dependencies" : [
"Parsing"
],
"product_memberships" : [
"MathParser"
],
"sources" : [
"Dictionary-extension.swift",
"Double-extension.swift",
"Evaluator.swift",
"InfixOperation.swift",
"MathParser.swift",
"MathParserError.swift",
"Token.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.