Build Information
Successful build of SwiftDocCPlugin, reference main (d8c85d
), with Swift 5.10 for macOS (SPM) on 29 Jun 2024 15:59:06 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockmagma02/swift-docc-plugin.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rockmagma02/swift-docc-plugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d8c85d9 feat: add multi targets documentation generation supporting
Cloned https://github.com/rockmagma02/swift-docc-plugin.git
Revision (git rev-parse @):
d8c85d959b9c5f755e835e44302fde5d214bec42
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/rockmagma02/swift-docc-plugin.git at main
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.57s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.03s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-docc-plugin",
"name": "SwiftDocCPlugin",
"url": "https://github.com/rockmagma02/swift-docc-plugin.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-docc-plugin",
"dependencies": [
{
"identity": "swift-docc-symbolkit",
"name": "SymbolKit",
"url": "https://github.com/apple/swift-docc-symbolkit",
"version": "1.0.0",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-docc-symbolkit",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/rockmagma02/swift-docc-plugin.git from cache
Fetched https://github.com/rockmagma02/swift-docc-plugin.git from cache (0.13s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.02s)
warning: /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/swift-docc-plugin-8a98c7bc is not valid git repository for 'https://github.com/rockmagma02/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/rockmagma02/swift-docc-plugin.git from cache
Fetched https://github.com/rockmagma02/swift-docc-plugin.git from cache (0.01s)
warning: /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/swift-docc-plugin-8a98c7bc is not valid git repository for 'https://github.com/rockmagma02/swift-docc-plugin.git', will fetch again.
Fetching https://github.com/rockmagma02/swift-docc-plugin.git from cache
Fetched https://github.com/rockmagma02/swift-docc-plugin.git from cache (0.01s)
Creating working copy for https://github.com/rockmagma02/swift-docc-plugin.git
Working copy of https://github.com/rockmagma02/swift-docc-plugin.git resolved at main (d8c85d9)
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
Found 1 product dependencies
- SymbolKit
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/rockmagma02/swift-docc-plugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:19:13: warning: initialization of immutable value 'doccExecutableURL' was never used; consider replacing with assignment to '_' or removing it
let doccExecutableURL = try context.doccExecutable
~~~~^~~~~~~~~~~~~~~~~
_
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:136:22: warning: variable 'language' was never mutated; consider changing to 'let' constant
for var (language, value) in targetInterfaceLanguages {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:26: warning: variable 'i' was never mutated; consider changing to 'let' constant
for var (i, subValue) in value.enumerated() {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Plugins/Swift-DocC MultiTargets/SwiftDocCMultiTargets.swift:137:29: warning: variable 'subValue' was never mutated; consider changing to 'let' constant
for var (i, subValue) in value.enumerated() {
^
[2/2] Compiling plugin Swift-DocC MultiTargets
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/13] Write sources
[8/13] Write snippet-extract-entitlement.plist
[9/13] Write swift-version-33747A42983211AE.txt
[11/75] Emitting module SwiftDocCPlugin
[12/75] Compiling SwiftDocCPlugin EmptyFile.swift
[13/75] Emitting module Snippets
[14/75] Compiling SymbolKit Platform.swift
[15/75] Compiling SymbolKit Relationship.swift
[16/75] Compiling SymbolKit RelationshipKind.swift
[17/75] Compiling SymbolKit SourceOrigin.swift
[18/75] Compiling SymbolKit GenericConstraints.swift
[19/75] Compiling SymbolKit Swift.swift
[20/77] Emitting module SymbolKit
[21/82] Compiling SymbolKit Module.swift
[22/82] Compiling SymbolKit OperatingSystem.swift
[23/82] Compiling SymbolKit SourceRange.swift
[24/82] Compiling SymbolKit Metadata.swift
[25/82] Compiling SymbolKit Mixin+Equals.swift
[26/82] Compiling SymbolKit Mixin+Hash.swift
[27/82] Compiling Snippets Snippet.swift
[28/82] Emitting module SwiftDocCPluginUtilities
[29/82] Compiling SymbolKit Mixin.swift
[30/82] Compiling SymbolKit LineList.swift
[31/82] Compiling SymbolKit Position.swift
[32/82] Compiling SwiftDocCPluginUtilities SkipSynthesizedSymbolsFlag.swift
[33/82] Compiling SwiftDocCPluginUtilities SnippetExtractor.swift
[34/82] Compiling Snippets SnippetParser.swift
[41/82] Compiling SymbolKit AvailabilityItem.swift
[42/82] Compiling SymbolKit Domain.swift
[43/82] Compiling SymbolKit DeclarationFragments.swift
[44/82] Compiling SymbolKit Fragment.swift
[45/82] Compiling SymbolKit FragmentKind.swift
[46/82] Compiling SymbolKit FunctionParameter.swift
[47/82] Compiling SymbolKit FunctionSignature.swift
[48/82] Compiling SymbolKit Identifier.swift
[49/82] Compiling SymbolKit KindIdentifier.swift
[50/82] Compiling SymbolKit Location.swift
[51/82] Compiling SymbolKit Mutability.swift
[52/82] Compiling SymbolKit Names.swift
[58/82] Compiling SymbolKit Availability.swift
[59/82] Compiling SymbolKit Generics.swift
[60/82] Compiling SymbolKit Namespace.swift
[61/82] Compiling SymbolKit Symbol.swift
[62/82] Compiling SymbolKit SymbolKind.swift
[63/82] Compiling SymbolKit SymbolGraph.swift
[70/82] Compiling SymbolKit SPI.swift
[71/82] Compiling SymbolKit Snippet.swift
[72/82] Compiling SymbolKit Extension.swift
[73/82] Compiling SymbolKit GenericConstraint.swift
[74/82] Compiling SymbolKit GenericParameter.swift
[75/82] Compiling SymbolKit GraphCollector.swift
[76/82] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[77/82] Compiling SymbolKit UnifiedSymbol.swift
[78/82] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[79/82] Compiling SymbolKit UnifiedSymbolGraph.swift
[80/86] Compiling snippet_extract SymbolGraph+Snippet.swift
[81/86] Compiling snippet_extract SnippetBuildCommand.swift
[82/86] Emitting module snippet_extract
[83/86] Compiling snippet_extract URL+Status.swift
[83/86] Write Objects.LinkFileList
[84/86] Linking snippet-extract
[85/86] Applying snippet-extract
Build complete! (18.00s)
Build complete.
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $workDir/.docs/rockmagma02/swift-docc-plugin/main
Repository: rockmagma02/swift-docc-plugin
Swift version used: 5.10
Target: SwiftDocCPlugin
Fetching https://github.com/apple/swift-docc-plugin from cache
Updating https://github.com/apple/swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (0.22s)
Updated https://github.com/apple/swift-docc-symbolkit (0.26s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.03s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.02s)
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
error: unable to override package 'SwiftDocCPlugin' because its identity 'swift-docc-plugin' doesn't match override's identity (directory name) 'spi-builder-workspace'
error: fatalError
error: unable to override package 'SwiftDocCPlugin' because its identity 'swift-docc-plugin' doesn't match override's identity (directory name) 'spi-builder-workspace'
error: multiple similar targets 'Snippets', 'Swift-DocC', 'Swift-DocC Preview' and 1 others appear in package 'spi-builder-workspace' and 'swift-docc-plugin', this may indicate that the two packages are the same and can be de-duplicated by using mirrors. if they are not duplicate consider using the `moduleAliases` parameter in manifest to provide unique names
Error while generating docs: retryLimitExceeded(lastError: Optional("Shell command failed:\n env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift package --allow-writing-to-directory .docs/rockmagma02/swift-docc-plugin/main generate-documentation --emit-digest --disable-indexing --output-path .docs/rockmagma02/swift-docc-plugin/main --hosting-base-path rockmagma02/swift-docc-plugin/main --source-service github --source-service-base-url https://github.com/rockmagma02/swift-docc-plugin/blob/main --checkout-path $workDir --target SwiftDocCPlugin"))
✅ Doc result (failed) reported
Done.