Build Information
Successful build of swift-loggable, reference main (773a9d
), with Swift 6.0 for macOS (SPM) on 25 Jul 2025 19:04:45 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/23122K/swift-loggable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/23122K/swift-loggable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 773a9d0 Add Loggable target documentation, minor fixes (#14)
Cloned https://github.com/23122K/swift-loggable.git
Revision (git rev-parse @):
773a9d085cb13246bbf7f9227349aa13752d717c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/23122K/swift-loggable.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/23122K/swift-loggable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/22] Write sources
[18/22] Compiling _SwiftSyntaxCShims dummy.c
[19/22] Write swift-version-5BDAB9E9C0126B9D.txt
[21/28] Emitting module SwiftSyntax510
[22/28] Compiling SwiftSyntax510 Empty.swift
[23/28] Emitting module SwiftSyntax509
[24/28] Compiling SwiftSyntax600 Empty.swift
[25/28] Emitting module SwiftSyntax600
[26/28] Compiling SwiftSyntax509 Empty.swift
[27/93] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[28/93] Compiling SwiftSyntax SyntaxChildren.swift
[29/93] Compiling SwiftSyntax SyntaxCollection.swift
[30/93] Compiling SwiftSyntax SyntaxHashable.swift
[31/93] Compiling SwiftSyntax SyntaxIdentifier.swift
[32/93] Compiling SwiftSyntax SyntaxNodeFactory.swift
[33/93] Compiling SwiftSyntax SyntaxNodeStructure.swift
[34/100] Compiling SwiftSyntax Identifier.swift
[35/100] Compiling SwiftSyntax MemoryLayout.swift
[36/100] Compiling SwiftSyntax MissingNodeInitializers.swift
[37/100] Compiling SwiftSyntax RawSyntax.swift
[38/100] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[39/100] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[40/100] Compiling SwiftSyntax RawSyntaxTokenView.swift
[41/100] Compiling SwiftSyntax AbsolutePosition.swift
[42/100] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[43/100] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[44/100] Compiling SwiftSyntax Assert.swift
[45/100] Compiling SwiftSyntax BumpPtrAllocator.swift
[46/100] Compiling SwiftSyntax CommonAncestor.swift
[47/100] Compiling SwiftSyntax Convenience.swift
[48/100] Compiling SwiftSyntax CustomTraits.swift
[49/100] Compiling SwiftSyntax SyntaxProtocol.swift
[50/100] Compiling SwiftSyntax SyntaxText.swift
[51/100] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[52/100] Compiling SwiftSyntax TokenDiagnostic.swift
[53/100] Compiling SwiftSyntax TokenSequence.swift
[54/100] Compiling SwiftSyntax TokenSyntax.swift
[55/100] Compiling SwiftSyntax Trivia.swift
[56/100] Emitting module SwiftSyntax
[57/100] Compiling SwiftSyntax SourceEdit.swift
[58/100] Compiling SwiftSyntax SourceLength.swift
[59/100] Compiling SwiftSyntax SourceLocation.swift
[60/100] Compiling SwiftSyntax SourcePresence.swift
[61/100] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[62/100] Compiling SwiftSyntax Syntax.swift
[63/100] Compiling SwiftSyntax SyntaxArena.swift
[64/100] Compiling SwiftSyntax Tokens.swift
[65/100] Compiling SwiftSyntax TriviaPieces.swift
[66/100] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[67/100] Compiling SwiftSyntax RawSyntaxNodesC.swift
[68/100] Compiling SwiftSyntax RawSyntaxNodesD.swift
[69/100] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[70/100] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[71/100] Compiling SwiftSyntax SyntaxCollections.swift
[72/100] Compiling SwiftSyntax SyntaxEnum.swift
[73/100] Compiling SwiftSyntax SyntaxKind.swift
[74/100] Compiling SwiftSyntax SyntaxRewriter.swift
[75/100] Compiling SwiftSyntax SyntaxTraits.swift
[76/100] Compiling SwiftSyntax SyntaxVisitor.swift
[77/100] Compiling SwiftSyntax TokenKind.swift
[78/100] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[79/100] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[80/100] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[81/100] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[82/100] Compiling SwiftSyntax RawSyntaxValidation.swift
[83/100] Compiling SwiftSyntax SyntaxNodesAB.swift
[84/100] Compiling SwiftSyntax SyntaxNodesC.swift
[85/100] Compiling SwiftSyntax Utils.swift
[86/100] Compiling SwiftSyntax ChildNameForKeyPath.swift
[87/100] Compiling SwiftSyntax Keyword.swift
[88/100] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[89/100] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[90/100] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[91/100] Compiling SwiftSyntax SyntaxBaseNodes.swift
[92/100] Compiling SwiftSyntax SyntaxNodesD.swift
[93/100] Compiling SwiftSyntax SyntaxNodesEF.swift
[94/100] Compiling SwiftSyntax SyntaxNodesGHI.swift
[95/100] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[96/100] Compiling SwiftSyntax SyntaxNodesOP.swift
[97/100] Compiling SwiftSyntax SyntaxNodesQRS.swift
[98/100] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[99/158] Compiling SwiftDiagnostics Message.swift
[100/159] Emitting module SwiftBasicFormat
[101/159] Compiling SwiftDiagnostics Diagnostic.swift
[102/159] Compiling SwiftDiagnostics Note.swift
[103/159] Compiling SwiftDiagnostics FixIt.swift
[104/159] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[105/159] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[106/159] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[107/159] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[108/159] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[109/159] Compiling SwiftDiagnostics Convenience.swift
[110/159] Emitting module SwiftDiagnostics
[111/159] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[112/159] Compiling SwiftBasicFormat Syntax+Extensions.swift
[113/159] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[114/159] Compiling SwiftBasicFormat InferIndentation.swift
[115/159] Compiling SwiftBasicFormat BasicFormat.swift
[116/159] Compiling SwiftParser TopLevel.swift
[117/159] Compiling SwiftParser TriviaParser.swift
[118/159] Compiling SwiftParser Types.swift
[119/159] Compiling SwiftParser ExperimentalFeatures.swift
[120/163] Compiling SwiftParser UnicodeScalarExtensions.swift
[121/163] Compiling SwiftParser Lookahead.swift
[122/163] Compiling SwiftParser LoopProgressCondition.swift
[123/163] Compiling SwiftParser Modifiers.swift
[124/163] Compiling SwiftParser Names.swift
[125/163] Emitting module SwiftParser
[126/163] Compiling SwiftParser StringLiterals.swift
[127/163] Compiling SwiftParser SwiftParserCompatibility.swift
[128/163] Compiling SwiftParser SwiftVersion.swift
[129/163] Compiling SwiftParser SyntaxUtils.swift
[130/163] Compiling SwiftParser TokenConsumer.swift
[131/163] Compiling SwiftParser TokenPrecedence.swift
[132/163] Compiling SwiftParser TokenSpec.swift
[133/163] Compiling SwiftParser TokenSpecSet.swift
[134/163] Compiling SwiftParser Nominals.swift
[135/163] Compiling SwiftParser Parameters.swift
[136/163] Compiling SwiftParser ParseSourceFile.swift
[137/163] Compiling SwiftParser Parser.swift
[138/163] Compiling SwiftParser Patterns.swift
[139/163] Compiling SwiftParser Recovery.swift
[140/163] Compiling SwiftParser Specifiers.swift
[141/163] Compiling SwiftParser Statements.swift
[142/163] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[143/163] Compiling SwiftParser Directives.swift
[144/163] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[145/163] Compiling SwiftParser Expressions.swift
[146/163] Compiling SwiftParser IncrementalParseTransition.swift
[147/163] Compiling SwiftParser IsValidIdentifier.swift
[148/163] Compiling SwiftParser Attributes.swift
[149/163] Compiling SwiftParser Availability.swift
[150/163] Compiling SwiftParser CharacterInfo.swift
[151/163] Compiling SwiftParser CollectionNodes+Parsable.swift
[152/163] Compiling SwiftParser Declarations.swift
[153/163] Compiling SwiftParser Cursor.swift
[154/163] Compiling SwiftParser Lexeme.swift
[155/163] Compiling SwiftParser LexemeSequence.swift
[156/163] Compiling SwiftParser Lexer.swift
[157/163] Compiling SwiftParser RegexLiteralLexer.swift
[158/163] Compiling SwiftParser IsLexerClassified.swift
[159/163] Compiling SwiftParser LayoutNodes+Parsable.swift
[160/163] Compiling SwiftParser Parser+TokenSpecSet.swift
[161/163] Compiling SwiftParser TokenSpecStaticMembers.swift
[162/186] Compiling SwiftOperators PrecedenceGroup.swift
[163/186] Compiling SwiftOperators PrecedenceGraph.swift
[164/187] Compiling SwiftOperators OperatorTable+Defaults.swift
[165/187] Compiling SwiftOperators OperatorTable.swift
[166/187] Compiling SwiftOperators OperatorTable+Semantics.swift
[167/187] Compiling SwiftOperators OperatorError.swift
[168/187] Compiling SwiftOperators OperatorError+Diagnostics.swift
[169/187] Compiling SwiftOperators Operator.swift
[170/187] Emitting module SwiftOperators
[171/187] Compiling SwiftOperators OperatorTable+Folding.swift
[172/187] Compiling SwiftOperators SyntaxSynthesis.swift
[173/187] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[174/187] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[175/187] Compiling SwiftParserDiagnostics Utils.swift
[176/187] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[177/188] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[178/188] Compiling SwiftParserDiagnostics PresenceUtils.swift
[179/188] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[180/188] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[181/188] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[182/188] Compiling SwiftParserDiagnostics MissingNodesError.swift
[183/188] Compiling SwiftParserDiagnostics MissingTokenError.swift
[184/188] Emitting module SwiftParserDiagnostics
[185/188] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[186/188] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[187/203] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[188/203] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[189/204] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[190/204] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[191/204] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[192/204] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[193/204] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[194/204] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[195/204] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[196/204] Compiling SwiftSyntaxBuilder Indenter.swift
[197/204] Compiling SwiftSyntaxBuilder ListBuilder.swift
[198/204] Emitting module SwiftSyntaxBuilder
[199/204] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[200/204] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[201/204] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[202/204] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[203/222] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[204/222] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[205/222] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[206/222] Compiling SwiftSyntaxMacros Macro+Format.swift
[207/223] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[208/223] Compiling SwiftSyntaxMacros AccessorMacro.swift
[209/223] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[210/223] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[211/223] Compiling SwiftSyntaxMacros PreambleMacro.swift
[212/223] Compiling SwiftSyntaxMacros AttachedMacro.swift
[213/223] Compiling SwiftSyntaxMacros BodyMacro.swift
[214/223] Compiling SwiftSyntaxMacros Macro.swift
[215/223] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[216/223] Compiling SwiftSyntaxMacros MemberMacro.swift
[217/223] Compiling SwiftSyntaxMacros PeerMacro.swift
[218/223] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[219/223] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[220/223] Emitting module SwiftSyntaxMacros
[221/223] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[222/233] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[223/233] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[224/233] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[225/233] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[226/233] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[227/233] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[228/233] Emitting module SwiftSyntaxMacroExpansion
[229/233] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[230/233] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[231/233] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[232/245] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[233/246] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[234/246] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[235/246] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[236/246] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[237/246] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[238/246] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[239/246] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[240/246] Emitting module SwiftCompilerPluginMessageHandling
[241/246] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[242/246] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[243/246] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[244/246] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[245/248] Emitting module SwiftCompilerPlugin
[246/248] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[247/273] Emitting module LoggableMacro
[248/275] Compiling LoggableMacro DiagnosticMessage.swift
[249/275] Compiling LoggableMacro FreestandingMacroExpansionSyntax.swift
[250/275] Compiling LoggableMacro StringLiteralExprSyntax.swift
[251/275] Compiling LoggableMacro TagMacro.swift
[252/275] Compiling LoggableMacro TraitMacro.swift
[253/275] Compiling LoggableMacro TokenKind.swift
[254/275] Compiling LoggableMacro TokenSyntax.swift
[255/275] Compiling LoggableMacro TryExprSyntax.swift
[256/275] Compiling LoggableMacro LoggableAttributeMacro.swift
[257/275] Compiling LoggableMacro LoggableMacro.swift
[258/275] Compiling LoggableMacro LoggedMacro.swift
[259/275] Compiling LoggableMacro Plugin.swift
[260/275] Compiling LoggableMacro ResultBuilder.swift
[261/275] Compiling LoggableMacro FunctionSyntax.swift
[262/275] Compiling LoggableMacro LevelMacro.swift
[263/275] Compiling LoggableMacro LogMacro.swift
[264/275] Compiling LoggableMacro OSLogMacro.swift
[265/275] Compiling LoggableMacro OSLoggedMacro.swift
[266/275] Compiling LoggableMacro AwaitExprSyntax.swift
[267/275] Compiling LoggableMacro CodeBlockItemSyntax.swift
[268/275] Compiling LoggableMacro DeclGroupSyntax.swift
[269/275] Compiling LoggableMacro OSLoggerMacro.swift
[270/275] Compiling LoggableMacro OmitMacro.swift
[271/275] Compiling LoggableMacro AbstractSourceLocation.swift
[272/275] Compiling LoggableMacro AttributeListSyntaxElement.swift
[273/275] Compiling LoggableMacro AttributeSyntax.swift
[273/275] Write Objects.LinkFileList
[274/275] Linking LoggableMacro-tool
[276/285] Compiling Loggable Trait.swift
[277/285] Compiling Loggable Taggable.swift
[278/285] Compiling Loggable Omittable.swift
[279/285] Compiling Loggable Loggable.swift
[280/285] Compiling Loggable Levelable.swift
[281/285] Compiling Loggable OSLogType+Levelable.swift
[282/285] Compiling Loggable Macros.swift
[283/285] Compiling Loggable OSLogger.swift
[284/285] Emitting module Loggable
[285/285] Compiling Loggable AccessLevel+Taggable.swift
Build complete! (59.57s)
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
[1/908] Fetching swift-macro-testing
[174/3002] Fetching swift-macro-testing, swift-docc-plugin
[3003/74365] Fetching swift-macro-testing, swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.54s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (3.55s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (3.55s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.3 (0.46s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15333] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.90s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3434] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.15s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.6 (0.47s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.88s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.45s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5482] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.32s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.6
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0-latest",
"upper_bound" : "601.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-loggable",
"name" : "swift-loggable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "Loggable",
"targets" : [
"Loggable"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LoggableMacro",
"targets" : [
"LoggableMacro"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "LoggableTests",
"module_type" : "SwiftTarget",
"name" : "LoggableTests",
"path" : "Tests/LoggableTests",
"sources" : [
"LoggableTests.swift",
"Mocks/Levelable+Mock.swift",
"Mocks/Loggable+Mock.swift",
"Mocks/Omittable+Mock.swift",
"Mocks/Taggable+Mock.swift",
"Mocks/Testcase.swift"
],
"target_dependencies" : [
"Loggable"
],
"type" : "test"
},
{
"c99name" : "LoggableMacroTests",
"module_type" : "SwiftTarget",
"name" : "LoggableMacroTests",
"path" : "Tests/LoggableMacroTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport",
"MacroTesting"
],
"sources" : [
"LogMacroTests.swift",
"LoggedMacroTests.swift",
"OSLogMacroTests.swift",
"OSLoggedMacroTests.swift",
"OSLoggerTests.swift"
],
"target_dependencies" : [
"LoggableMacro"
],
"type" : "test"
},
{
"c99name" : "LoggableMacro",
"module_type" : "SwiftTarget",
"name" : "LoggableMacro",
"path" : "Sources/LoggableMacro",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Loggable",
"LoggableMacro"
],
"sources" : [
"Extensions/AbstractSourceLocation.swift",
"Extensions/AttributeListSyntaxElement.swift",
"Extensions/AttributeSyntax.swift",
"Extensions/AwaitExprSyntax.swift",
"Extensions/CodeBlockItemSyntax.swift",
"Extensions/DeclGroupSyntax.swift",
"Extensions/DiagnosticMessage.swift",
"Extensions/FreestandingMacroExpansionSyntax.swift",
"Extensions/StringLiteralExprSyntax.swift",
"Extensions/TokenKind.swift",
"Extensions/TokenSyntax.swift",
"Extensions/TryExprSyntax.swift",
"FunctionSyntax.swift",
"Macros/LevelMacro.swift",
"Macros/LogMacro.swift",
"Macros/LoggableAttributeMacro.swift",
"Macros/LoggableMacro.swift",
"Macros/LoggedMacro.swift",
"Macros/OSLogMacro.swift",
"Macros/OSLoggedMacro.swift",
"Macros/OSLoggerMacro.swift",
"Macros/OmitMacro.swift",
"Macros/TagMacro.swift",
"Macros/TraitMacro.swift",
"Plugin.swift",
"ResultBuilder.swift"
],
"type" : "macro"
},
{
"c99name" : "Loggable",
"module_type" : "SwiftTarget",
"name" : "Loggable",
"path" : "Sources/Loggable",
"product_memberships" : [
"Loggable"
],
"sources" : [
"AccessLevel+Taggable.swift",
"Levelable.swift",
"Loggable.swift",
"Macros.swift",
"OSLogType+Levelable.swift",
"OSLogger.swift",
"Omittable.swift",
"Taggable.swift",
"Trait.swift"
],
"target_dependencies" : [
"LoggableMacro"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/23122k/swift-loggable/main
Repository: 23122K/swift-loggable
Swift version used: 6.0
url: "https://github.com/swiftlang/swift-docc-plugin",
Target: Loggable
Extracting symbol information for 'Loggable'...
Finished extracting symbol information for 'Loggable'. (2.47s)
Building documentation for 'Loggable'...
warning: The 'Comment' directive is not supported in symbol source documentation
Found 'Comment' in 'AccessLevelModifier'
--> ../AccessLevel+Taggable.swift:3:5-6:6
1 | /// An enumeration that defines access levels.
2 | ///
3 + /// @Comment {
4 + /// See https://docs.swift.org/swift-book/documentation/the-swift-programming-language/accesscontrol/
5 + /// for additional information.
6 + /// }
7 | public enum AccessLevelModifier: Taggable {
8 | /// A string literal representation of access level keyword.
warning: 'ExpressibleByStringLiteral' doesn't exist at '/Loggable/CreatingCustomLoggableInstance'
--> CreatingCustomLoggableInstance.md:138:72-138:98
136 | ```
137 |
138 + Now, we must fulfill the requirements of both the ``Levelable`` and ``ExpressibleByStringLiteral`` protocols.
139 |
140 | To satisfy `Levelable` protocol, define the required static function where the `RawValue` type matches the underlying type of the extended logging level, in case of `SentryLevel` it is `UInt`. Provide a fallback level of your choice for values that don’t match predefined cases.
warning: 'ExpressibleByStringLiteral' doesn't exist at '/Loggable/CreatingCustomLoggableInstance'
--> CreatingCustomLoggableInstance.md:142:31-142:57
140 | To satisfy `Levelable` protocol, define the required static function where the `RawValue` type matches the underlying type of the extended logging level, in case of `SentryLevel` it is `UInt`. Provide a fallback level of your choice for values that don’t match predefined cases.
141 |
142 + Additionally, implement the ``ExpressibleByStringLiteral`` initializer. This is necessary because the `@Level` macro allows you to pass either a string literal (e.g. `@Level("fatal")`) or `any Levelable` type (e.g. `@Level(.sentryFatal)`), both of which should result in the same `SentryLevel.fatal` value.
143 |
144 | ```swift
warning: 'Ommitable' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:22:18-22:27
20 | * ``Omit(_:)``
21 |
22 + Omits specific ``Ommitable`` traits from being captured, such as individual parameters, all parameters, or the function's result metadata. In the last case, thrown errors are still captured.
23 |
24 | * ``Tag(_:)``
warning: '.error' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:30:134-30:140
28 | * ``Level(_:)``
29 |
30 + Sets a logging level for the event, providing a clearer description of its severity or importance. By default, the level is set to ``.error`` if the function throws, and ``.info`` on success.
31 |
32 | ### Logging levels
warning: '.info' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:30:173-30:178
28 | * ``Level(_:)``
29 |
30 + Sets a logging level for the event, providing a clearer description of its severity or importance. By default, the level is set to ``.error`` if the function throws, and ``.info`` on success.
31 |
32 | ### Logging levels
warning: 'result' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:180:5-180:11
178 | Loggable includes two predefined cases in the ``Omit`` enum:
179 |
180 + * ``result``
181 | Strips the result metadata from the log. On success, the function is treated as returning `Void`.
182 |
warning: 'parameters' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:183:5-183:15
181 | Strips the result metadata from the log. On success, the function is treated as returning `Void`.
182 |
183 + * ``parameters``
184 | Omits all parameters passed to the logged function, preventing any argument data from being captured.
185 |
warning: 'result' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:211:98-211:104
209 | ```
210 |
211 + To omit the result or all arguments passed to a logged function, use ``Omit(_:)`` and pass the ``result`` and ``parameters`` traits accordingly.
212 |
213 | ```swift
warning: 'parameters' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:211:113-211:123
209 | ```
210 |
211 + To omit the result or all arguments passed to a logged function, use ``Omit(_:)`` and pass the ``result`` and ``parameters`` traits accordingly.
212 |
213 | ```swift
warning: 'model' doesn't exist at '/Loggable/CustomizingMacroBehavior'
--> CustomizingMacroBehavior.md:259:51-259:56
257 | ```
258 |
259 + Then, you can simply refactor your code to pass ``model`` as an argument to ``Omit(_:)``.
260 |
261 | ```swift
warning: '@OSLogged()' doesn't exist at '/Loggable/LeverageOSLog'
--> LeverageOSLog.md:39:100-39:111
37 | ### Capturing Events into Logger
38 |
39 + Now that we conform to the ``OSLogger`` protocol, we can simply mark either the type itself with ``@OSLogged()`` or, for example, an extension containing its methods. This way, all functions within that extension are automatically logged. You can learn more about customizing their behavior in <doc:CustomizingMacroBehavior>.
40 |
41 | ```swift
warning: '@OSLogged()' doesn't exist at '/Loggable/LeverageOSLog'
--> LeverageOSLog.md:62:96-62:107
60 | ### Logging a Single Function
61 |
62 + If you only want to log a single method, there’s no need to mark the entire extension with ``@OSLogged()``. Instead, you can use ``@OSLog(level:omit:tag:)`` directly on that method. This way, events will be captured only for that specific function.
63 |
64 | ```swift
warning: '@OSLog(level:omit:tag:)' doesn't exist at '/Loggable/LeverageOSLog'
--> LeverageOSLog.md:62:134-62:157
60 | ### Logging a Single Function
61 |
62 + If you only want to log a single method, there’s no need to mark the entire extension with ``@OSLogged()``. Instead, you can use ``@OSLog(level:omit:tag:)`` directly on that method. This way, events will be captured only for that specific function.
63 |
64 | ```swift
warning: The 'Comment' directive is not supported in symbol source documentation
Found 'Comment' in 'Levelable'
--> ../Levelable.swift:5:5-8:6
3 | /// A type should confrom to this protocol if it represents logging level.
4 | ///
5 + /// @Comment {
6 + /// The most common way to express a logging level is by using an enumeration.
7 + /// Therefore, the recommended way to conform to `Levelable` is by using one.
8 + /// }
9 | public protocol Levelable: __Trait {
10 | /// The type of the associated value used to represent a logging level.
warning: 'Logger' doesn't exist at '/Loggable/LoggableLogger'
--> ../Loggable.swift:90:14-90:20
88 | // TODO: 23122K - Consider using swift-log as a fallback when not running on Apple platforms
89 | /// A default `Loggable` implementation that
90 + /// uses a ``Logger`` instance to log to the default subsystem.
91 | public struct LoggableLogger: Loggable {
92 | /// The logger instance used for logging.
warning: 'OSLogType.info' doesn't exist at '/Loggable/LoggableLogger/emit(event:)'
--> ../Loggable.swift:98:11-98:25
96 | ///
97 | /// The event’s logging level is inherited from the function result unless explicitly specified:
98 + /// - ``OSLogType.info`` for successful function executions.
99 | /// - ``OSLogType.error`` for functions that throw errors.
100 | public func emit(event: LoggableEvent) {
warning: 'OSLogType.error' doesn't exist at '/Loggable/LoggableLogger/emit(event:)'
--> ../Loggable.swift:99:11-99:26
97 | /// The event’s logging level is inherited from the function result unless explicitly specified:
98 | /// - ``OSLogType.info`` for successful function executions.
99 + /// - ``OSLogType.error`` for functions that throw errors.
100 | public func emit(event: LoggableEvent) {
101 | self.logger.emit(event: event)
warning: 'OSLog(level:omit:tag:) to all methods within attached context. Mark method with ' doesn't exist at '/Loggable/Omit()'
--> ../Macros.swift:209:40-209:120
207 | ///
208 | /// ``Logged(using:)`` and ``OSLogged()`` implicitly introduces
209 + /// respectively ``Log(using:)`` and ``OSLog(level:omit:tag:)
210 | /// to all methods within attached context. Mark method with ``Omit()``
211 | /// to skip it.
warning: 'Logger' doesn't exist at '/Loggable/OSLogger'
--> ../OSLogger.swift:5:69-5:75
3 | #endif
4 |
5 + /// A protocol that defines a type providing a static instance of ``Logger``.
| ╰─suggestion: Replace 'Logger' with 'logger'
6 | ///
7 | /// Type annotated with the `OSLogger` macro implicitly conform to this protocol.
warning: The 'Comment' directive is not supported in symbol source documentation
Found 'Comment' in 'Omit/parameter(_:)'
--> ../Omittable.swift:22:7-25:8
20 | ///
21 | /// - Parameter name: Represents **parameter name** not argument label.
22 + /// @Comment {
23 + /// See https://docs.swift.org/swift-book/documentation/the-swift-programming-language/functions/#Function-Argument-Labels-and-Parameter-Names
24 + /// for more information.
25 + /// }
26 | ///
27 | /// - Warning: Upon expansion, logged functions are stripped of their argument labels.Finished building documentation for 'Loggable' (0.17s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/23122k/swift-loggable/main
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Symbol.swift
[11/57] Compiling SymbolKit SymbolKind.swift
[12/57] Compiling SymbolKit SymbolGraph.swift
[13/57] Compiling SymbolKit GraphCollector.swift
[14/57] Compiling SymbolKit GenericConstraint.swift
[15/57] Compiling SymbolKit GenericParameter.swift
[16/57] Compiling SymbolKit Generics.swift
[17/57] Compiling SymbolKit Namespace.swift
[18/57] Compiling SymbolKit Relationship.swift
[19/57] Compiling SymbolKit RelationshipKind.swift
[20/57] Compiling SymbolKit SourceOrigin.swift
[21/57] Compiling SymbolKit GenericConstraints.swift
[22/57] Compiling SymbolKit Swift.swift
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit SourceRange.swift
[29/57] Compiling SymbolKit Metadata.swift
[30/57] Compiling SymbolKit Module.swift
[31/57] Compiling SymbolKit OperatingSystem.swift
[32/57] Compiling SymbolKit Platform.swift
[33/57] Compiling SymbolKit DeclarationFragments.swift
[34/57] Compiling SymbolKit Fragment.swift
[35/57] Compiling SymbolKit FragmentKind.swift
[36/57] Compiling SymbolKit FunctionParameter.swift
[37/57] Compiling SymbolKit FunctionSignature.swift
[38/57] Compiling SymbolKit SemanticVersion.swift
[39/57] Compiling SymbolKit AccessControl.swift
[40/57] Compiling SymbolKit Availability.swift
[41/57] Compiling SymbolKit AvailabilityItem.swift
[42/57] Compiling SymbolKit Domain.swift
[43/57] Compiling SymbolKit Identifier.swift
[44/57] Compiling SymbolKit KindIdentifier.swift
[45/57] Compiling SymbolKit Location.swift
[46/57] Compiling SymbolKit Mutability.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SnippetBuildCommand.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.13s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
Build of target: 'Loggable' complete! (0.29s)
258
4 /Users/admin/builder/spi-builder-workspace/.docs/23122k/swift-loggable/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/23122k/swift-loggable/main
File count: 258
Doc size: 4.0MB
Preparing doc bundle ...
Uploading prod-23122k-swift-loggable-main-cbde6b26.zip to s3://spi-docs-inbox/prod-23122k-swift-loggable-main-cbde6b26.zip
Copying... [15%]
Copying... [24%]
Copying... [34%]
Copying... [44%]
Copying... [53%]
Copying... [63%]
Copying... [73%]
Copying... [83%]
Copying... [92%]
Copying... [100%]
Done.