Build Information
Failed to build SwiftText, reference main (080dbd), with Swift 6.1 for macOS (SPM) on 20 Apr 2026 12:46:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/SwiftText.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Cocoanetics/SwiftText
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 080dbd4 fix fenced code blocks #14
Cloned https://github.com/Cocoanetics/SwiftText.git
Revision (git rev-parse @):
080dbd4440b878de439fcc40c8b613683bf1afb2
SUCCESS checkout https://github.com/Cocoanetics/SwiftText.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Cocoanetics/SwiftText.git
https://github.com/Cocoanetics/SwiftText.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.12",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
}
],
"manifest_display_name" : "SwiftText",
"name" : "SwiftText",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftText",
"targets" : [
"SwiftText"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTextCore",
"targets" : [
"SwiftTextCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTextDOCX",
"targets" : [
"SwiftTextDOCX"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTextHTML",
"targets" : [
"SwiftTextHTML"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTextOCR",
"targets" : [
"SwiftTextOCR"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftTextPDF",
"targets" : [
"SwiftTextPDF"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swifttext",
"targets" : [
"SwiftTextCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "VersionGeneratorPlugin",
"module_type" : "PluginTarget",
"name" : "VersionGeneratorPlugin",
"path" : "Plugins/VersionGeneratorPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"swifttext"
],
"sources" : [
"VersionGeneratorPlugin.swift"
],
"type" : "plugin"
},
{
"c99name" : "SwiftTextPDF",
"module_type" : "SwiftTarget",
"name" : "SwiftTextPDF",
"path" : "Sources/SwiftTextPDF",
"product_memberships" : [
"SwiftText",
"SwiftTextPDF",
"swifttext"
],
"sources" : [
"PDFDocument+Text.swift",
"PDFPage+DocumentBlocks.swift",
"PDFPage+DocumentSemantics.swift",
"PDFPage+OCR.swift"
],
"target_dependencies" : [
"SwiftTextOCR"
],
"type" : "library"
},
{
"c99name" : "SwiftTextOCRTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTextOCRTests",
"path" : "Tests/SwiftTextOCRTests",
"sources" : [
"SwiftTextOCRTests.swift"
],
"target_dependencies" : [
"SwiftTextOCR",
"SwiftTextPDF"
],
"type" : "test"
},
{
"c99name" : "SwiftTextOCR",
"module_type" : "SwiftTarget",
"name" : "SwiftTextOCR",
"path" : "Sources/SwiftTextOCR",
"product_memberships" : [
"SwiftText",
"SwiftTextOCR",
"SwiftTextPDF",
"swifttext"
],
"sources" : [
"CGImage+OCR.swift",
"DocumentBlock.swift",
"DocumentBlockExtraction.swift",
"DocumentBlockMarkdown.swift",
"DocumentBlockTranscript.swift",
"DocumentImage.swift",
"DocumentSemantics.swift",
"OCRError.swift",
"TextLine.swift",
"TextLineSemanticComposer.swift",
"UIImage+OCR.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftTextHTMLTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTextHTMLTests",
"path" : "Tests/SwiftTextHTMLTests",
"sources" : [
"HTMLBlockquoteConversionTests.swift",
"HTMLDeepWrapperTests.swift",
"HTMLDocumentTests.swift",
"HTMLMalformedTrailingContentTests.swift",
"HTMLParserEventStreamTests.swift",
"HTMLTableConversionTests.swift",
"MarkdownToHTMLTests.swift"
],
"target_dependencies" : [
"SwiftTextHTML",
"SwiftTextCore"
],
"type" : "test"
},
{
"c99name" : "SwiftTextHTML",
"module_type" : "SwiftTarget",
"name" : "SwiftTextHTML",
"path" : "Sources/SwiftTextHTML",
"product_memberships" : [
"SwiftText",
"SwiftTextHTML",
"swifttext"
],
"sources" : [
"DOMElement.swift",
"DOMNode.swift",
"DOMText.swift",
"DomBuilder.swift",
"Exports.swift",
"HTMLDocument.swift",
"HTMLToMarkdown.swift",
"MarkdownToHTML.swift",
"String+Charset.swift",
"String+Markdown.swift",
"WebKitBrowser.swift"
],
"target_dependencies" : [
"HTMLParser",
"CHTMLParser"
],
"type" : "library"
},
{
"c99name" : "SwiftTextDOCXTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTextDOCXTests",
"path" : "Tests/SwiftTextDOCXTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftTextDOCXTests/Resources/Styles.docx",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DocxParsingTests.swift",
"DocxWriterTests.swift"
],
"target_dependencies" : [
"SwiftTextDOCX"
],
"type" : "test"
},
{
"c99name" : "SwiftTextDOCX",
"module_type" : "SwiftTarget",
"name" : "SwiftTextDOCX",
"path" : "Sources/SwiftTextDOCX",
"product_dependencies" : [
"ZIPFoundation"
],
"product_memberships" : [
"SwiftText",
"SwiftTextDOCX",
"swifttext"
],
"sources" : [
"DocxDocument.swift",
"DocxFile.swift",
"DocxParser.swift",
"DocxWriter.swift",
"MarkdownToDocx.swift",
"ZipUtilities.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftTextCoreTests",
"module_type" : "SwiftTarget",
"name" : "SwiftTextCoreTests",
"path" : "Tests/SwiftTextCoreTests",
"sources" : [
"UnicodeAbuseSanitizerTests.swift"
],
"target_dependencies" : [
"SwiftTextCore"
],
"type" : "test"
},
{
"c99name" : "SwiftTextCore",
"module_type" : "SwiftTarget",
"name" : "SwiftTextCore",
"path" : "Sources/SwiftTextCore",
"product_memberships" : [
"SwiftTextCore"
],
"sources" : [
"UnicodeAbuseSanitizer.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftTextCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftTextCLI",
"path" : "Sources/SwiftTextCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"swifttext"
],
"sources" : [
"OverlayRenderer.swift",
"PDFCommand.swift",
"RenderCommand.swift",
"SwiftTextCLI.swift"
],
"target_dependencies" : [
"SwiftTextHTML",
"SwiftTextOCR",
"SwiftTextPDF",
"SwiftTextDOCX",
"VersionGeneratorPlugin"
],
"type" : "executable"
},
{
"c99name" : "SwiftText",
"module_type" : "SwiftTarget",
"name" : "SwiftText",
"path" : "Sources/SwiftText",
"product_memberships" : [
"SwiftText"
],
"sources" : [
"SwiftText.swift"
],
"target_dependencies" : [
"SwiftTextDOCX",
"SwiftTextHTML",
"SwiftTextOCR",
"SwiftTextPDF"
],
"type" : "library"
},
{
"c99name" : "HTMLParser",
"module_type" : "SwiftTarget",
"name" : "HTMLParser",
"path" : "Sources/HTMLParser",
"product_memberships" : [
"SwiftText",
"SwiftTextHTML",
"swifttext"
],
"sources" : [
"HTMLParser.swift",
"HTMLParserDelegate.swift",
"HTMLParserDelegateAdapter.swift",
"HTMLParserEvent.swift"
],
"target_dependencies" : [
"CHTMLParser"
],
"type" : "library"
},
{
"c99name" : "CHTMLParser",
"module_type" : "ClangTarget",
"name" : "CHTMLParser",
"path" : "Sources/CHTMLParser",
"product_memberships" : [
"SwiftText",
"SwiftTextHTML",
"swifttext"
],
"sources" : [
"HTMLParserBridge.c"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
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 VersionGeneratorPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/21] Write sources
[14/21] Copying PrivacyInfo.xcprivacy
[15/21] Write swifttext-entitlement.plist
[16/21] Write swift-version-2F0A5646E1D333AE.txt
[17/57] Compiling CHTMLParser HTMLParserBridge.c
[19/62] Emitting module ArgumentParserToolInfo
[20/62] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/109] Emitting module SwiftTextCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/109] Compiling ArgumentParser ArgumentHelp.swift
[23/109] Compiling ArgumentParser ArgumentVisibility.swift
[24/109] Compiling ArgumentParser CompletionKind.swift
[25/109] Compiling ArgumentParser Errors.swift
[26/109] Compiling ArgumentParser Flag.swift
[27/114] Emitting module ArgumentParser
[28/114] Compiling ArgumentParser InputKey.swift
[29/114] Compiling ArgumentParser InputOrigin.swift
[30/114] Compiling ArgumentParser Name.swift
[31/114] Compiling ArgumentParser Parsed.swift
[32/114] Compiling ArgumentParser ParsedValues.swift
[33/114] Compiling ArgumentParser CodingKeyValidator.swift
[34/114] Compiling ArgumentParser NonsenseFlagsValidator.swift
[35/114] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/114] Compiling ArgumentParser PositionalArgumentsValidator.swift
[37/114] Compiling ArgumentParser UniqueNamesValidator.swift
[38/114] Compiling ArgumentParser NameSpecification.swift
[39/114] Compiling ArgumentParser Option.swift
[40/114] Compiling ArgumentParser OptionGroup.swift
[41/114] Compiling ArgumentParser ParentCommand.swift
[42/114] Compiling ArgumentParser AsyncParsableCommand.swift
[43/114] Compiling ArgumentParser Platform.swift
[44/114] Compiling ArgumentParser SequenceExtensions.swift
[45/114] Compiling ArgumentParser StringExtensions.swift
[46/114] Compiling ArgumentParser SwiftExtensions.swift
[47/114] Compiling ArgumentParser Tree.swift
[48/114] Compiling ArgumentParser ParserError.swift
[49/114] Compiling ArgumentParser SplitArguments.swift
[50/114] Compiling ArgumentParser DumpHelpGenerator.swift
[51/114] Compiling ArgumentParser HelpCommand.swift
[52/114] Compiling ArgumentParser HelpGenerator.swift
[53/114] Compiling ArgumentParser BashCompletionsGenerator.swift
[54/114] Compiling ArgumentParser CompletionsGenerator.swift
[55/114] Compiling ArgumentParser FishCompletionsGenerator.swift
[56/114] Compiling ArgumentParser ZshCompletionsGenerator.swift
[57/114] Compiling ArgumentParser Argument.swift
[58/114] Compiling ArgumentParser ArgumentDiscussion.swift
[59/114] Compiling SwiftTextCore UnicodeAbuseSanitizer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[60/114] Compiling ArgumentParser EnumerableFlag.swift
[61/114] Compiling ArgumentParser ExpressibleByArgument.swift
[67/116] Emitting module ZIPFoundation
[73/116] Compiling ArgumentParser CommandConfiguration.swift
[74/116] Compiling ArgumentParser CommandGroup.swift
[77/116] Compiling HTMLParser HTMLParserDelegateAdapter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[78/116] Compiling HTMLParser HTMLParserDelegate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[79/116] Compiling HTMLParser HTMLParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[80/116] Compiling HTMLParser HTMLParserEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[81/116] Emitting module HTMLParser
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[90/116] Compiling ZIPFoundation URL+ZIP.swift
[91/116] Compiling ArgumentParser MessageInfo.swift
[92/116] Compiling ArgumentParser UsageGenerator.swift
[93/116] Compiling ArgumentParser CollectionExtensions.swift
[94/116] Compiling ArgumentParser Foundation.swift
[95/116] Compiling ArgumentParser Mutex.swift
[96/116] Compiling ZIPFoundation resource_bundle_accessor.swift
[97/116] Compiling ArgumentParser ArgumentDecoder.swift
[98/116] Compiling ArgumentParser ArgumentDefinition.swift
[99/116] Compiling ArgumentParser ArgumentSet.swift
[100/116] Compiling ArgumentParser CommandParser.swift
[103/134] Compiling SwiftTextDOCX ZipUtilities.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[104/134] Compiling SwiftTextDOCX MarkdownToDocx.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[105/134] Compiling SwiftTextDOCX DocxParser.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/134] Compiling SwiftTextDOCX DocxFile.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/134] Compiling SwiftTextDOCX DocxDocument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/134] Emitting module SwiftTextDOCX
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/134] Compiling SwiftTextDOCX DocxWriter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[110/134] Compiling SwiftTextOCR TextLineSemanticComposer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/134] Compiling SwiftTextOCR TextLine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[112/134] Compiling SwiftTextOCR OCRError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[113/135] Compiling SwiftTextOCR UIImage+OCR.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/135] Compiling SwiftTextHTML String+Markdown.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[115/136] Compiling SwiftTextHTML String+Charset.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[116/136] Compiling SwiftTextHTML MarkdownToHTML.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[117/136] Compiling SwiftTextHTML DOMText.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[118/136] Compiling SwiftTextHTML DomBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/136] Compiling SwiftTextHTML HTMLDocument.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[120/136] Compiling SwiftTextOCR DocumentImage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[121/136] Compiling SwiftTextOCR DocumentBlockTranscript.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[122/136] Compiling SwiftTextOCR DocumentSemantics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentSemantics.swift:189:16: error: cannot find 'RecognizeDocumentsRequest' in scope
187 | public func documentSemantics(from cgImage: CGImage, applyPostProcessing: Bool = true) async throws -> DocumentSemantics {
188 | let referenceSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
189 | let request = RecognizeDocumentsRequest()
| `- error: cannot find 'RecognizeDocumentsRequest' in scope
190 | let observations = try await request.perform(on: cgImage, orientation: nil)
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentSemantics.swift:190:73: error: 'nil' requires a contextual type
188 | let referenceSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
189 | let request = RecognizeDocumentsRequest()
190 | let observations = try await request.perform(on: cgImage, orientation: nil)
| `- error: 'nil' requires a contextual type
191 |
192 | guard let document = observations.first?.document else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[123/136] Compiling SwiftTextOCR DocumentBlockMarkdown.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[124/136] Compiling SwiftTextHTML DOMElement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[125/136] Compiling SwiftTextHTML DOMNode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[126/136] Emitting module SwiftTextOCR
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:71:37: error: cannot find type 'DocumentObservation' in scope
69 | }
70 |
71 | func extractBlocks(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
72 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
73 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:110:54: error: cannot find type 'DocumentObservation' in scope
108 | }
109 |
110 | private func gatherStructuredBlocks(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
111 | var blocks = [DocumentBlock]()
112 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:147:40: error: cannot find type 'DocumentObservation' in scope
145 | }
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
| `- error: cannot find type 'DocumentObservation' in scope
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
149 | let rect = text.boundingRegion.rect(in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:175:35: error: cannot find type 'DocumentObservation' in scope
173 | }
174 |
175 | private func makeList(from list: DocumentObservation.Container.List, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.List {
| `- error: cannot find type 'DocumentObservation' in scope
176 | var items = [DocumentBlock.List.Item]()
177 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:226:37: error: cannot find type 'DocumentObservation' in scope
224 | }
225 |
226 | private func makeTable(from table: DocumentObservation.Container.Table, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Table {
| `- error: cannot find type 'DocumentObservation' in scope
227 | let rows: [[DocumentBlock.Table.Cell]] = table.rows.map { row in
228 | row.map { cell in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:246:42: error: cannot find type 'DocumentObservation' in scope
244 | }
245 |
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
| `- error: cannot find type 'DocumentObservation' in scope
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:257:46: error: cannot find type 'DocumentObservation' in scope
255 | }
256 |
257 | private func resolveMarker(from markerType: DocumentObservation.Container.List.Marker?, fallback: String) -> DocumentBlock.List.Marker {
| `- error: cannot find type 'DocumentObservation' in scope
258 | guard let markerType else {
259 | return .custom(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:866:26: error: no type named 'NormalizedRegion' in module 'Vision'
864 |
865 | @available(iOS 26.0, tvOS 26.0, macOS 26.0, visionOS 26.0, *)
866 | private extension Vision.NormalizedRegion {
| `- error: no type named 'NormalizedRegion' in module 'Vision'
867 | func rect(in pageSize: CGSize) -> CGRect {
868 | convertNormalizedBoundingBox(normalizedPath.boundingBox, in: pageSize)
[127/136] Compiling SwiftTextOCR DocumentBlockExtraction.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:71:37: error: cannot find type 'DocumentObservation' in scope
69 | }
70 |
71 | func extractBlocks(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
72 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
73 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:110:54: error: cannot find type 'DocumentObservation' in scope
108 | }
109 |
110 | private func gatherStructuredBlocks(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
111 | var blocks = [DocumentBlock]()
112 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:147:40: error: cannot find type 'DocumentObservation' in scope
145 | }
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
| `- error: cannot find type 'DocumentObservation' in scope
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
149 | let rect = text.boundingRegion.rect(in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:175:35: error: cannot find type 'DocumentObservation' in scope
173 | }
174 |
175 | private func makeList(from list: DocumentObservation.Container.List, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.List {
| `- error: cannot find type 'DocumentObservation' in scope
176 | var items = [DocumentBlock.List.Item]()
177 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:226:37: error: cannot find type 'DocumentObservation' in scope
224 | }
225 |
226 | private func makeTable(from table: DocumentObservation.Container.Table, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Table {
| `- error: cannot find type 'DocumentObservation' in scope
227 | let rows: [[DocumentBlock.Table.Cell]] = table.rows.map { row in
228 | row.map { cell in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:246:42: error: cannot find type 'DocumentObservation' in scope
244 | }
245 |
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
| `- error: cannot find type 'DocumentObservation' in scope
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:257:46: error: cannot find type 'DocumentObservation' in scope
255 | }
256 |
257 | private func resolveMarker(from markerType: DocumentObservation.Container.List.Marker?, fallback: String) -> DocumentBlock.List.Marker {
| `- error: cannot find type 'DocumentObservation' in scope
258 | guard let markerType else {
259 | return .custom(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:866:26: error: no type named 'NormalizedRegion' in module 'Vision'
864 |
865 | @available(iOS 26.0, tvOS 26.0, macOS 26.0, visionOS 26.0, *)
866 | private extension Vision.NormalizedRegion {
| `- error: no type named 'NormalizedRegion' in module 'Vision'
867 | func rect(in pageSize: CGSize) -> CGRect {
868 | convertNormalizedBoundingBox(normalizedPath.boundingBox, in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:37:25: error: cannot find 'RecognizeDocumentsRequest' in scope
35 | }
36 | let pageSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
37 | let recognizeRequest = RecognizeDocumentsRequest()
| `- error: cannot find 'RecognizeDocumentsRequest' in scope
38 | let observations = try await recognizeRequest.perform(on: cgImage, orientation: nil)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:38:82: error: 'nil' requires a contextual type
36 | let pageSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
37 | let recognizeRequest = RecognizeDocumentsRequest()
38 | let observations = try await recognizeRequest.perform(on: cgImage, orientation: nil)
| `- error: 'nil' requires a contextual type
39 |
40 | guard let document = observations.first?.document else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:148:57: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
149 | let rect = text.boundingRegion.rect(in: pageSize)
150 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:154:32: error: cannot infer key path type from context; consider explicitly specifying a root type
152 | if !paragraphLines.isEmpty {
153 | let docLines = paragraphLines.map { DocumentBlock.TextLine(text: $0.text, bounds: $0.bounds) }
154 | let combined = docLines.map(\.text).joined(separator: "\n")
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
155 | return DocumentBlock.Paragraph(text: combined, lines: docLines)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:248:68: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
249 | guard !trimmed.isEmpty else { return [] }
250 | guard let paragraph = makeParagraph(from: container.text, ocrLines: ocrLines, usedOCRLineIDs: &usedOCRLineIDs, usedOCRTexts: &usedOCRTexts) else { return [] }
[128/136] Compiling SwiftTextHTML Exports.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/5963] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.34s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.38s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.20 (2.00s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.57s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.20
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin VersionGeneratorPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/49] Emitting module ArgumentParserToolInfo
[8/96] Emitting module SwiftTextCore
[9/96] Compiling SwiftTextCore UnicodeAbuseSanitizer.swift
[10/96] Compiling HTMLParser HTMLParserDelegateAdapter.swift
[11/96] Compiling HTMLParser HTMLParserEvent.swift
[12/96] Compiling HTMLParser HTMLParser.swift
[13/96] Compiling HTMLParser HTMLParserDelegate.swift
[14/96] Emitting module HTMLParser
[15/107] Compiling SwiftTextOCR DocumentBlockTranscript.swift
[16/108] Compiling SwiftTextOCR OCRError.swift
[17/108] Compiling SwiftTextOCR DocumentImage.swift
[18/108] Compiling SwiftTextOCR DocumentSemantics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentSemantics.swift:189:16: error: cannot find 'RecognizeDocumentsRequest' in scope
187 | public func documentSemantics(from cgImage: CGImage, applyPostProcessing: Bool = true) async throws -> DocumentSemantics {
188 | let referenceSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
189 | let request = RecognizeDocumentsRequest()
| `- error: cannot find 'RecognizeDocumentsRequest' in scope
190 | let observations = try await request.perform(on: cgImage, orientation: nil)
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentSemantics.swift:190:73: error: 'nil' requires a contextual type
188 | let referenceSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
189 | let request = RecognizeDocumentsRequest()
190 | let observations = try await request.perform(on: cgImage, orientation: nil)
| `- error: 'nil' requires a contextual type
191 |
192 | guard let document = observations.first?.document else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
[19/108] Emitting module ZIPFoundation
[20/110] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/110] Compiling ArgumentParser Argument.swift
[22/110] Compiling ArgumentParser ArgumentDiscussion.swift
[23/110] Compiling SwiftTextHTML DOMElement.swift
[24/110] Compiling SwiftTextHTML DOMNode.swift
[25/110] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/110] Compiling ArgumentParser ArgumentHelp.swift
[27/110] Compiling ArgumentParser ArgumentVisibility.swift
[28/110] Compiling ArgumentParser Option.swift
[29/110] Compiling ArgumentParser OptionGroup.swift
[30/110] Compiling ArgumentParser ArgumentDefinition.swift
[31/110] Compiling ArgumentParser ArgumentSet.swift
[32/110] Compiling SwiftTextOCR TextLine.swift
[33/110] Compiling SwiftTextOCR TextLineSemanticComposer.swift
[34/110] Compiling SwiftTextOCR DocumentBlockMarkdown.swift
[35/110] Compiling ArgumentParser Flag.swift
[36/110] Compiling ArgumentParser NameSpecification.swift
[37/110] Compiling ArgumentParser CompletionKind.swift
[38/110] Compiling ArgumentParser Errors.swift
[39/110] Emitting module ArgumentParser
[40/115] Compiling ArgumentParser ParentCommand.swift
[41/115] Compiling ArgumentParser AsyncParsableCommand.swift
[42/115] Compiling ArgumentParser ParsableCommand.swift
[43/115] Compiling ArgumentParser ArgumentDecoder.swift
[44/115] Compiling ArgumentParser Platform.swift
[45/115] Compiling ArgumentParser SequenceExtensions.swift
[46/115] Compiling ArgumentParser StringExtensions.swift
[47/115] Compiling ArgumentParser SwiftExtensions.swift
[48/115] Compiling ArgumentParser Tree.swift
[49/115] Compiling SwiftTextOCR UIImage+OCR.swift
[50/115] Compiling SwiftTextOCR DocumentBlockExtraction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:71:37: error: cannot find type 'DocumentObservation' in scope
69 | }
70 |
71 | func extractBlocks(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
72 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
73 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:110:54: error: cannot find type 'DocumentObservation' in scope
108 | }
109 |
110 | private func gatherStructuredBlocks(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
111 | var blocks = [DocumentBlock]()
112 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:147:40: error: cannot find type 'DocumentObservation' in scope
145 | }
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
| `- error: cannot find type 'DocumentObservation' in scope
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
149 | let rect = text.boundingRegion.rect(in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:175:35: error: cannot find type 'DocumentObservation' in scope
173 | }
174 |
175 | private func makeList(from list: DocumentObservation.Container.List, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.List {
| `- error: cannot find type 'DocumentObservation' in scope
176 | var items = [DocumentBlock.List.Item]()
177 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:226:37: error: cannot find type 'DocumentObservation' in scope
224 | }
225 |
226 | private func makeTable(from table: DocumentObservation.Container.Table, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Table {
| `- error: cannot find type 'DocumentObservation' in scope
227 | let rows: [[DocumentBlock.Table.Cell]] = table.rows.map { row in
228 | row.map { cell in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:246:42: error: cannot find type 'DocumentObservation' in scope
244 | }
245 |
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
| `- error: cannot find type 'DocumentObservation' in scope
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:257:46: error: cannot find type 'DocumentObservation' in scope
255 | }
256 |
257 | private func resolveMarker(from markerType: DocumentObservation.Container.List.Marker?, fallback: String) -> DocumentBlock.List.Marker {
| `- error: cannot find type 'DocumentObservation' in scope
258 | guard let markerType else {
259 | return .custom(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:866:26: error: no type named 'NormalizedRegion' in module 'Vision'
864 |
865 | @available(iOS 26.0, tvOS 26.0, macOS 26.0, visionOS 26.0, *)
866 | private extension Vision.NormalizedRegion {
| `- error: no type named 'NormalizedRegion' in module 'Vision'
867 | func rect(in pageSize: CGSize) -> CGRect {
868 | convertNormalizedBoundingBox(normalizedPath.boundingBox, in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:37:25: error: cannot find 'RecognizeDocumentsRequest' in scope
35 | }
36 | let pageSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
37 | let recognizeRequest = RecognizeDocumentsRequest()
| `- error: cannot find 'RecognizeDocumentsRequest' in scope
38 | let observations = try await recognizeRequest.perform(on: cgImage, orientation: nil)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:38:82: error: 'nil' requires a contextual type
36 | let pageSize = CGSize(width: CGFloat(cgImage.width), height: CGFloat(cgImage.height))
37 | let recognizeRequest = RecognizeDocumentsRequest()
38 | let observations = try await recognizeRequest.perform(on: cgImage, orientation: nil)
| `- error: 'nil' requires a contextual type
39 |
40 | guard let document = observations.first?.document else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:148:57: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
149 | let rect = text.boundingRegion.rect(in: pageSize)
150 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:154:32: error: cannot infer key path type from context; consider explicitly specifying a root type
152 | if !paragraphLines.isEmpty {
153 | let docLines = paragraphLines.map { DocumentBlock.TextLine(text: $0.text, bounds: $0.bounds) }
154 | let combined = docLines.map(\.text).joined(separator: "\n")
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
155 | return DocumentBlock.Paragraph(text: combined, lines: docLines)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:248:68: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
| `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
249 | guard !trimmed.isEmpty else { return [] }
250 | guard let paragraph = makeParagraph(from: container.text, ocrLines: ocrLines, usedOCRLineIDs: &usedOCRLineIDs, usedOCRTexts: &usedOCRTexts) else { return [] }
[51/115] Compiling ArgumentParser CommandConfiguration.swift
[52/115] Compiling ArgumentParser CommandGroup.swift
[53/115] Compiling ArgumentParser EnumerableFlag.swift
[54/115] Compiling ArgumentParser ExpressibleByArgument.swift
[55/115] Compiling ArgumentParser ParsableArguments.swift
[56/115] Compiling ArgumentParser MessageInfo.swift
[57/115] Compiling ArgumentParser UsageGenerator.swift
[58/115] Compiling ArgumentParser CollectionExtensions.swift
[59/115] Compiling ArgumentParser Foundation.swift
[60/115] Compiling ArgumentParser Mutex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/115] Emitting module SwiftTextOCR
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:71:37: error: cannot find type 'DocumentObservation' in scope
69 | }
70 |
71 | func extractBlocks(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
72 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
73 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:90:47: error: cannot find type 'DocumentObservation' in scope
88 | }
89 |
90 | func extractBlocksWithImages(from container: DocumentObservation.Container, applyPostProcessing: Bool = true) throws -> (blocks: [DocumentBlock], images: [DocumentImage]) {
| `- error: cannot find type 'DocumentObservation' in scope
91 | let ocrLines = allowStandaloneSupplementation ? recognizeTextLines() : []
92 | var usedOCRLineIDs = Set<Int>()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:110:54: error: cannot find type 'DocumentObservation' in scope
108 | }
109 |
110 | private func gatherStructuredBlocks(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock] {
| `- error: cannot find type 'DocumentObservation' in scope
111 | var blocks = [DocumentBlock]()
112 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:147:40: error: cannot find type 'DocumentObservation' in scope
145 | }
146 |
147 | private func makeParagraph(from text: DocumentObservation.Container.Text, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Paragraph? {
| `- error: cannot find type 'DocumentObservation' in scope
148 | let trimmed = text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
149 | let rect = text.boundingRegion.rect(in: pageSize)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:175:35: error: cannot find type 'DocumentObservation' in scope
173 | }
174 |
175 | private func makeList(from list: DocumentObservation.Container.List, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.List {
| `- error: cannot find type 'DocumentObservation' in scope
176 | var items = [DocumentBlock.List.Item]()
177 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:226:37: error: cannot find type 'DocumentObservation' in scope
224 | }
225 |
226 | private func makeTable(from table: DocumentObservation.Container.Table, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> DocumentBlock.Table {
| `- error: cannot find type 'DocumentObservation' in scope
227 | let rows: [[DocumentBlock.Table.Cell]] = table.rows.map { row in
228 | row.map { cell in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:246:42: error: cannot find type 'DocumentObservation' in scope
244 | }
245 |
246 | private func paragraphs(from container: DocumentObservation.Container, ocrLines: [OCRLine], usedOCRLineIDs: inout Set<Int>, usedOCRTexts: inout Set<String>) -> [DocumentBlock.Paragraph] {
| `- error: cannot find type 'DocumentObservation' in scope
247 | if container.paragraphs.isEmpty {
248 | let trimmed = container.text.transcript.trimmingCharacters(in: .whitespacesAndNewlines)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:257:46: error: cannot find type 'DocumentObservation' in scope
255 | }
256 |
257 | private func resolveMarker(from markerType: DocumentObservation.Container.List.Marker?, fallback: String) -> DocumentBlock.List.Marker {
| `- error: cannot find type 'DocumentObservation' in scope
258 | guard let markerType else {
259 | return .custom(fallback)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTextOCR/DocumentBlockExtraction.swift:866:26: error: no type named 'NormalizedRegion' in module 'Vision'
864 |
865 | @available(iOS 26.0, tvOS 26.0, macOS 26.0, visionOS 26.0, *)
866 | private extension Vision.NormalizedRegion {
| `- error: no type named 'NormalizedRegion' in module 'Vision'
867 | func rect(in pageSize: CGSize) -> CGRect {
868 | convertNormalizedBoundingBox(normalizedPath.boundingBox, in: pageSize)
[64/115] Compiling ZIPFoundation URL+ZIP.swift
[65/115] Compiling ZIPFoundation resource_bundle_accessor.swift
[66/115] Compiling SwiftTextHTML String+Charset.swift
[67/115] Compiling SwiftTextHTML String+Markdown.swift
[69/115] Compiling ArgumentParser InputOrigin.swift
[70/115] Compiling ArgumentParser Name.swift
[71/115] Compiling ArgumentParser Parsed.swift
[72/115] Compiling ArgumentParser ParsedValues.swift
[78/115] Compiling SwiftTextHTML DOMText.swift
BUILD FAILURE 6.1 macosSpm