Build Information
Successful build of Subprocess, reference main (4211d5
), with Swift 6.1 for macOS (SPM) on 16 Jun 2025 21:25:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-subprocess.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-subprocess
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4211d5f Merge pull request #76 from swiftlang/eng/PR-fix-testSuspendResumeProcess
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
4211d5fa9b24ffe31d526b6257fdf41042ca8666
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-subprocess.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system from cache
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-system from cache (0.64s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.12s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.44s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-subprocess",
"name": "Subprocess",
"url": "https://github.com/swiftlang/swift-subprocess.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-subprocess",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/999] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.94s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.51s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.57s)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (4211d5f)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Found 1 product dependencies
- swift-system
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-subprocess.git
https://github.com/swiftlang/swift-subprocess.git
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Subprocess",
"name" : "Subprocess",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "99.0"
}
],
"products" : [
{
"name" : "Subprocess",
"targets" : [
"Subprocess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_SubprocessCShims",
"module_type" : "ClangTarget",
"name" : "_SubprocessCShims",
"path" : "Sources/_SubprocessCShims",
"product_memberships" : [
"Subprocess"
],
"sources" : [
"process_shims.c"
],
"type" : "library"
},
{
"c99name" : "TestResources",
"module_type" : "SwiftTarget",
"name" : "TestResources",
"path" : "Tests/TestResources",
"product_dependencies" : [
"SystemPackage"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestResources/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"TestResources.swift"
],
"type" : "library"
},
{
"c99name" : "SubprocessTests",
"module_type" : "SwiftTarget",
"name" : "SubprocessTests",
"path" : "Tests/SubprocessTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"SubprocessTests+Darwin.swift",
"SubprocessTests+Linting.swift",
"SubprocessTests+Linux.swift",
"SubprocessTests+Unix.swift",
"SubprocessTests+Windows.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"_SubprocessCShims",
"Subprocess",
"TestResources"
],
"type" : "test"
},
{
"c99name" : "Subprocess",
"module_type" : "SwiftTarget",
"name" : "Subprocess",
"path" : "Sources/Subprocess",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"Subprocess"
],
"sources" : [
"API.swift",
"AsyncBufferSequence.swift",
"Buffer.swift",
"Configuration.swift",
"Error.swift",
"Execution.swift",
"IO/Input.swift",
"IO/Output.swift",
"Platforms/Subprocess+Darwin.swift",
"Platforms/Subprocess+Linux.swift",
"Platforms/Subprocess+Unix.swift",
"Platforms/Subprocess+Windows.swift",
"Result.swift",
"Span+Subprocess.swift",
"SubprocessFoundation/Input+Foundation.swift",
"SubprocessFoundation/Output+Foundation.swift",
"SubprocessFoundation/Span+SubprocessFoundation.swift",
"Teardown.swift"
],
"target_dependencies" : [
"_SubprocessCShims"
],
"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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[5/9] Copying Resources
[6/9] Compiling CSystem shims.c
[7/9] Write swift-version-2F0A5646E1D333AE.txt
[8/37] Compiling _SubprocessCShims process_shims.c
[10/37] Emitting module SystemPackage
[11/40] Compiling SystemPackage FileHelpers.swift
[12/40] Compiling SystemPackage FileOperations.swift
[13/40] Compiling SystemPackage FilePath.swift
[14/40] Compiling SystemPackage FilePathComponentView.swift
[15/40] Compiling SystemPackage FilePathComponents.swift
[16/40] Compiling SystemPackage FilePathParsing.swift
[17/40] Compiling SystemPackage FilePathString.swift
[18/40] Compiling SystemPackage FilePathSyntax.swift
[19/40] Compiling SystemPackage FilePathTemp.swift
[20/40] Compiling SystemPackage FilePermissions.swift
[21/40] Compiling SystemPackage Backcompat.swift
[22/40] Compiling SystemPackage CInterop.swift
[23/40] Compiling SystemPackage FilePathTempPosix.swift
[24/40] Compiling SystemPackage FilePathTempWindows.swift
[25/40] Compiling SystemPackage FilePathWindows.swift
[26/40] Compiling SystemPackage MachPort.swift
[27/40] Compiling SystemPackage PlatformString.swift
[28/40] Compiling SystemPackage SystemString.swift
[29/40] Compiling SystemPackage Errno.swift
[30/40] Compiling SystemPackage ErrnoWindows.swift
[31/40] Compiling SystemPackage FileDescriptor.swift
[32/40] Compiling SystemPackage RawBuffer.swift
[33/40] Compiling SystemPackage Syscalls.swift
[34/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[35/40] Compiling SystemPackage Constants.swift
[36/40] Compiling SystemPackage Exports.swift
[37/40] Compiling SystemPackage Mocking.swift
[38/40] Compiling SystemPackage Util+StringArray.swift
[39/40] Compiling SystemPackage Util.swift
[40/40] Compiling SystemPackage UtilConsumers.swift
[41/61] Compiling TestResources resource_bundle_accessor.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
[42/61] Emitting module TestResources
<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
[43/61] Compiling TestResources TestResources.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
[44/61] Compiling Subprocess Buffer.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
[45/61] Compiling Subprocess Configuration.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
[46/61] Compiling Subprocess Input.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
[47/61] Compiling Subprocess Output.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
[48/61] Compiling Subprocess Subprocess+Unix.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
[49/61] Compiling Subprocess Subprocess+Windows.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
[50/61] Compiling Subprocess Input+Foundation.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
[51/61] Compiling Subprocess Output+Foundation.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
[52/61] Compiling Subprocess Result.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
[53/61] Compiling Subprocess Span+Subprocess.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
[54/61] Compiling Subprocess API.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
[55/61] Compiling Subprocess AsyncBufferSequence.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
[56/61] Compiling Subprocess Error.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
[57/61] Compiling Subprocess Execution.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
[58/61] Compiling Subprocess Span+SubprocessFoundation.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
[59/61] Emitting module Subprocess
<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/61] Compiling Subprocess Subprocess+Darwin.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
[61/61] Compiling Subprocess Subprocess+Linux.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
[62/62] Compiling Subprocess Teardown.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
Build complete! (17.14s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Subprocess",
"name" : "Subprocess",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "99.0"
}
],
"products" : [
{
"name" : "Subprocess",
"targets" : [
"Subprocess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_SubprocessCShims",
"module_type" : "ClangTarget",
"name" : "_SubprocessCShims",
"path" : "Sources/_SubprocessCShims",
"product_memberships" : [
"Subprocess"
],
"sources" : [
"process_shims.c"
],
"type" : "library"
},
{
"c99name" : "TestResources",
"module_type" : "SwiftTarget",
"name" : "TestResources",
"path" : "Tests/TestResources",
"product_dependencies" : [
"SystemPackage"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/TestResources/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"TestResources.swift"
],
"type" : "library"
},
{
"c99name" : "SubprocessTests",
"module_type" : "SwiftTarget",
"name" : "SubprocessTests",
"path" : "Tests/SubprocessTests",
"product_dependencies" : [
"SystemPackage"
],
"sources" : [
"SubprocessTests+Darwin.swift",
"SubprocessTests+Linting.swift",
"SubprocessTests+Linux.swift",
"SubprocessTests+Unix.swift",
"SubprocessTests+Windows.swift",
"TestSupport.swift"
],
"target_dependencies" : [
"_SubprocessCShims",
"Subprocess",
"TestResources"
],
"type" : "test"
},
{
"c99name" : "Subprocess",
"module_type" : "SwiftTarget",
"name" : "Subprocess",
"path" : "Sources/Subprocess",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"Subprocess"
],
"sources" : [
"API.swift",
"AsyncBufferSequence.swift",
"Buffer.swift",
"Configuration.swift",
"Error.swift",
"Execution.swift",
"IO/Input.swift",
"IO/Output.swift",
"Platforms/Subprocess+Darwin.swift",
"Platforms/Subprocess+Linux.swift",
"Platforms/Subprocess+Unix.swift",
"Platforms/Subprocess+Windows.swift",
"Result.swift",
"Span+Subprocess.swift",
"SubprocessFoundation/Input+Foundation.swift",
"SubprocessFoundation/Output+Foundation.swift",
"SubprocessFoundation/Span+SubprocessFoundation.swift",
"Teardown.swift"
],
"target_dependencies" : [
"_SubprocessCShims"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftlang/swift-subprocess/main
Repository: swiftlang/swift-subprocess
Swift version used: 6.1
url: "https://github.com/apple/swift-docc-plugin",
Target: Subprocess
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'Subprocess'...
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit Symbol.swift
[12/57] Compiling SymbolKit SymbolKind.swift
[13/57] Compiling SymbolKit SymbolGraph.swift
[14/57] Compiling SymbolKit GraphCollector.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit Names.swift
[21/57] Compiling SymbolKit SPI.swift
[22/57] Compiling SymbolKit Snippet.swift
[23/57] Compiling SymbolKit Extension.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit Mixin+Equals.swift
[35/57] Compiling SymbolKit Mixin+Hash.swift
[36/57] Compiling SymbolKit Mixin.swift
[37/57] Compiling SymbolKit LineList.swift
[38/57] Compiling SymbolKit Position.swift
[39/57] Compiling SymbolKit GenericConstraint.swift
[40/57] Compiling SymbolKit GenericParameter.swift
[41/57] Compiling SymbolKit Generics.swift
[42/57] Compiling SymbolKit Namespace.swift
[43/57] Compiling SymbolKit SourceRange.swift
[44/57] Compiling SymbolKit Metadata.swift
[45/57] Compiling SymbolKit Module.swift
[46/57] Compiling SymbolKit OperatingSystem.swift
[47/57] Compiling SymbolKit Platform.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.08s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/29] Compiling SystemPackage FilePermissions.swift
[3/29] Compiling SystemPackage Backcompat.swift
[4/29] Compiling SystemPackage CInterop.swift
[5/32] Compiling SystemPackage Errno.swift
[6/32] Compiling SystemPackage ErrnoWindows.swift
[7/32] Compiling SystemPackage FileDescriptor.swift
[8/32] Emitting module SystemPackage
[9/32] Compiling SystemPackage RawBuffer.swift
[10/32] Compiling SystemPackage Syscalls.swift
[11/32] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/32] Compiling SystemPackage FilePathTempPosix.swift
[13/32] Compiling SystemPackage FilePathTempWindows.swift
[14/32] Compiling SystemPackage FilePathWindows.swift
[15/32] Compiling SystemPackage FileHelpers.swift
[16/32] Compiling SystemPackage FileOperations.swift
[17/32] Compiling SystemPackage FilePath.swift
[18/32] Compiling SystemPackage FilePathString.swift
[19/32] Compiling SystemPackage FilePathSyntax.swift
[20/32] Compiling SystemPackage FilePathTemp.swift
[21/32] Compiling SystemPackage Util+StringArray.swift
[22/32] Compiling SystemPackage Util.swift
[23/32] Compiling SystemPackage UtilConsumers.swift
[24/32] Compiling SystemPackage MachPort.swift
[25/32] Compiling SystemPackage PlatformString.swift
[26/32] Compiling SystemPackage SystemString.swift
[27/32] Compiling SystemPackage Constants.swift
[28/32] Compiling SystemPackage Exports.swift
[29/32] Compiling SystemPackage Mocking.swift
[30/32] Compiling SystemPackage FilePathComponentView.swift
[31/32] Compiling SystemPackage FilePathComponents.swift
[32/32] Compiling SystemPackage FilePathParsing.swift
[33/50] Compiling Subprocess Span+SubprocessFoundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:29:23: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
30 | // FIXME: For demo purpose only
31 | let ptr = self.withUnsafeBytes { ptr in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:26:36: error: no exact matches in call to initializer
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
26 | self = s.withUnsafeBytes { Data($0) }
| `- error: no exact matches in call to initializer
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:61:12: note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
59 | /// Create a `Data` from `Buffer`
60 | /// - Parameter buffer: buffer to copy from
61 | public init(buffer: AsyncBufferSequence.Buffer) {
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
62 | self = Data(buffer.data)
63 | }
Foundation.Data.init:2:19: note: incorrect labels for candidate (have: '(_:)', expected: '(capacity:)')
1 | struct Data {
2 | @inlinable public init(capacity: Int)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(capacity:)')
3 |
Foundation.Data.init:2:19: note: incorrect labels for candidate (have: '(_:)', expected: '(count:)')
1 | struct Data {
2 | @inlinable public init(count: Int)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(count:)')
3 |
Foundation.Data.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
1 | struct Data {
2 | public init(from decoder: any Decoder) throws}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
3 |
Foundation.Data.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(referencing:)')
1 | struct Data {
2 | public init(referencing reference: __shared NSData)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(referencing:)')
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:34:20: error: cannot find 'RawSpan' in scope
32 | return ptr
33 | }
34 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
35 | return _overrideLifetime(of: span, to: self)
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:44:28: error: cannot find 'RawSpan' in scope
42 | if self.regions.isEmpty {
43 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
44 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
45 | yield _overrideLifetime(of: span, to: self)
46 | } else if self.regions.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:51:28: error: cannot find 'RawSpan' in scope
49 | return ptr
50 | }
51 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
52 | yield _overrideLifetime(of: span, to: self)
53 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:67:28: error: cannot find 'RawSpan' in scope
65 | return ptr
66 | }
67 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
68 | yield _overrideLifetime(of: span, to: self)
69 | }
[34/50] Compiling Subprocess Input+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[35/50] Compiling Subprocess Output+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[36/51] Compiling Subprocess Subprocess+Unix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
[37/51] Compiling Subprocess Subprocess+Windows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/51] Compiling Subprocess Error.swift
[39/51] Compiling Subprocess Execution.swift
[40/51] Compiling Subprocess Subprocess+Darwin.swift
[41/51] Compiling Subprocess Subprocess+Linux.swift
[42/51] Emitting module Subprocess
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:29:23: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
30 | // FIXME: For demo purpose only
31 | let ptr = self.withUnsafeBytes { ptr in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[43/51] Compiling Subprocess Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:16: error: 'where' clause cannot be applied to a non-generic top-level declaration
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:44:26: error: cannot find type 'RawSpan' in scope
42 | extension Span where Element: BitwiseCopyable {
43 |
44 | internal var _bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
45 | @lifetime(copy self)
46 | @_alwaysEmitIntoClient
[44/51] Compiling Subprocess Span+Subprocess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:16: error: 'where' clause cannot be applied to a non-generic top-level declaration
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:44:26: error: cannot find type 'RawSpan' in scope
42 | extension Span where Element: BitwiseCopyable {
43 |
44 | internal var _bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
45 | @lifetime(copy self)
46 | @_alwaysEmitIntoClient
[45/51] Compiling Subprocess Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:86:25: error: cannot find 'RawSpan' in scope
84 | borrowing get {
85 | let ptr = self.data.withUnsafeBytes { $0 }
86 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
87 | return _overrideLifetime(of: bytes, to: self)
88 | }
[46/51] Compiling Subprocess Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:86:25: error: cannot find 'RawSpan' in scope
84 | borrowing get {
85 | let ptr = self.data.withUnsafeBytes { $0 }
86 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
87 | return _overrideLifetime(of: bytes, to: self)
88 | }
[47/51] Compiling Subprocess API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
[48/51] Compiling Subprocess AsyncBufferSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
[49/51] Compiling Subprocess Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:235:20: error: cannot find 'RawSpan' in scope
233 | fatalError("Unexpected input type passed: \(type(of: buffer))")
234 | }
235 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
236 | return try self.output(from: span)
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:313:24: error: cannot find 'RawSpan' in scope
311 | guard !data.isEmpty else {
312 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
313 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
314 | return try self.output(from: span)
315 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:319:24: error: cannot find 'RawSpan' in scope
317 | return try data.withUnsafeBytes { ptr in
318 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
319 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
320 | return try self.output(from: span)
321 | }
[50/51] Compiling Subprocess Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:235:20: error: cannot find 'RawSpan' in scope
233 | fatalError("Unexpected input type passed: \(type(of: buffer))")
234 | }
235 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
236 | return try self.output(from: span)
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:313:24: error: cannot find 'RawSpan' in scope
311 | guard !data.isEmpty else {
312 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
313 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
314 | return try self.output(from: span)
315 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:319:24: error: cannot find 'RawSpan' in scope
317 | return try data.withUnsafeBytes { ptr in
318 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
319 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
320 | return try self.output(from: span)
321 | }
[51/51] Compiling Subprocess Teardown.swift
error: unspecified("fatalError")
Extracting symbol information for 'Subprocess'...
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.23s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/19] Compiling Subprocess Input+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[3/19] Compiling Subprocess Output+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[4/20] Compiling Subprocess Error.swift
[5/20] Compiling Subprocess Execution.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/20] Compiling Subprocess Span+SubprocessFoundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:29:23: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
30 | // FIXME: For demo purpose only
31 | let ptr = self.withUnsafeBytes { ptr in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:26:36: error: no exact matches in call to initializer
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
26 | self = s.withUnsafeBytes { Data($0) }
| `- error: no exact matches in call to initializer
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:61:12: note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
59 | /// Create a `Data` from `Buffer`
60 | /// - Parameter buffer: buffer to copy from
61 | public init(buffer: AsyncBufferSequence.Buffer) {
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
62 | self = Data(buffer.data)
63 | }
Foundation.Data.init:2:19: note: incorrect labels for candidate (have: '(_:)', expected: '(capacity:)')
1 | struct Data {
2 | @inlinable public init(capacity: Int)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(capacity:)')
3 |
Foundation.Data.init:2:19: note: incorrect labels for candidate (have: '(_:)', expected: '(count:)')
1 | struct Data {
2 | @inlinable public init(count: Int)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(count:)')
3 |
Foundation.Data.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
1 | struct Data {
2 | public init(from decoder: any Decoder) throws}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(from:)')
3 |
Foundation.Data.init:2:8: note: incorrect labels for candidate (have: '(_:)', expected: '(referencing:)')
1 | struct Data {
2 | public init(referencing reference: __shared NSData)}
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(referencing:)')
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:34:20: error: cannot find 'RawSpan' in scope
32 | return ptr
33 | }
34 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
35 | return _overrideLifetime(of: span, to: self)
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:44:28: error: cannot find 'RawSpan' in scope
42 | if self.regions.isEmpty {
43 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
44 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
45 | yield _overrideLifetime(of: span, to: self)
46 | } else if self.regions.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:51:28: error: cannot find 'RawSpan' in scope
49 | return ptr
50 | }
51 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
52 | yield _overrideLifetime(of: span, to: self)
53 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:67:28: error: cannot find 'RawSpan' in scope
65 | return ptr
66 | }
67 | let span = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
68 | yield _overrideLifetime(of: span, to: self)
69 | }
[7/20] Compiling Subprocess Subprocess+Darwin.swift
[8/20] Compiling Subprocess Subprocess+Linux.swift
[9/20] Emitting module Subprocess
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:30:35: error: cannot find type 'RawSpan' in scope
28 |
29 | #if SubprocessSpan
30 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
31 | return Data(span)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:25:25: error: cannot find type 'RawSpan' in scope
23 |
24 | extension Data {
25 | init(_ s: borrowing RawSpan) {
| `- error: cannot find type 'RawSpan' in scope
26 | self = s.withUnsafeBytes { Data($0) }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:29:23: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
30 | // FIXME: For demo purpose only
31 | let ptr = self.withUnsafeBytes { ptr in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Span+SubprocessFoundation.swift:40:16: error: cannot find type 'RawSpan' in scope
38 |
39 | extension DataProtocol {
40 | var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
41 | _read {
42 | if self.regions.isEmpty {
[10/20] Compiling Subprocess Subprocess+Unix.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
[11/20] Compiling Subprocess Subprocess+Windows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
[12/20] Compiling Subprocess Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:16: error: 'where' clause cannot be applied to a non-generic top-level declaration
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:44:26: error: cannot find type 'RawSpan' in scope
42 | extension Span where Element: BitwiseCopyable {
43 |
44 | internal var _bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
45 | @lifetime(copy self)
46 | @_alwaysEmitIntoClient
[13/20] Compiling Subprocess Span+Subprocess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:11: error: cannot find type 'Span' in scope
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: cannot find type 'Span' in scope
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:42:16: error: 'where' clause cannot be applied to a non-generic top-level declaration
40 | }
41 |
42 | extension Span where Element: BitwiseCopyable {
| `- error: 'where' clause cannot be applied to a non-generic top-level declaration
43 |
44 | internal var _bytes: RawSpan {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Span+Subprocess.swift:44:26: error: cannot find type 'RawSpan' in scope
42 | extension Span where Element: BitwiseCopyable {
43 |
44 | internal var _bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
45 | @lifetime(copy self)
46 | @_alwaysEmitIntoClient
[14/20] Compiling Subprocess API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
[15/20] Compiling Subprocess AsyncBufferSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:86:22: error: cannot find type 'Span' in scope
84 | workingDirectory: FilePath? = nil,
85 | platformOptions: PlatformOptions = PlatformOptions(),
86 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
87 | output: Output = .string,
88 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
[16/20] Compiling Subprocess Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:235:20: error: cannot find 'RawSpan' in scope
233 | fatalError("Unexpected input type passed: \(type(of: buffer))")
234 | }
235 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
236 | return try self.output(from: span)
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:313:24: error: cannot find 'RawSpan' in scope
311 | guard !data.isEmpty else {
312 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
313 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
314 | return try self.output(from: span)
315 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:319:24: error: cannot find 'RawSpan' in scope
317 | return try data.withUnsafeBytes { ptr in
318 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
319 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
320 | return try self.output(from: span)
321 | }
[17/20] Compiling Subprocess Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:234:41: error: cannot find type 'RawSpan' in scope
232 | /// - Returns number of bytes written
233 | #if SubprocessSpan
234 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
235 | return try await self.diskIO.write(span)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Platforms/Subprocess+Unix.swift:450:27: error: cannot find type 'RawSpan' in scope
448 | #if SubprocessSpan
449 | internal func write(
450 | _ span: borrowing RawSpan
| `- error: cannot find type 'RawSpan' in scope
451 | ) async throws -> Int {
452 | try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Int, any Error>) in
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:31:28: error: cannot find type 'RawSpan' in scope
29 | #if SubprocessSpan
30 | /// Convert the output from span to expected output type
31 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
32 | #endif
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:284:35: error: cannot find type 'RawSpan' in scope
282 | #if SubprocessSpan
283 | /// Convert the output from Data to expected output type
284 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
285 | // noop
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:115:35: error: cannot find type 'RawSpan' in scope
113 |
114 | #if SubprocessSpan
115 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
116 | // FIXME: Span to String
117 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:157:35: error: cannot find type 'RawSpan' in scope
155 |
156 | #if SubprocessSpan
157 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
158 | fatalError("Not implemented")
159 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:235:20: error: cannot find 'RawSpan' in scope
233 | fatalError("Unexpected input type passed: \(type(of: buffer))")
234 | }
235 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
236 | return try self.output(from: span)
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:313:24: error: cannot find 'RawSpan' in scope
311 | guard !data.isEmpty else {
312 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
313 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
314 | return try self.output(from: span)
315 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:319:24: error: cannot find 'RawSpan' in scope
317 | return try data.withUnsafeBytes { ptr in
318 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
319 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
320 | return try self.output(from: span)
321 | }
[18/20] Compiling Subprocess Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:86:25: error: cannot find 'RawSpan' in scope
84 | borrowing get {
85 | let ptr = self.data.withUnsafeBytes { $0 }
86 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
87 | return _overrideLifetime(of: bytes, to: self)
88 | }
[19/20] Compiling Subprocess Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:82:23: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | // Access the storage backing this Buffer
82 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
83 | @lifetime(borrow self)
84 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:86:25: error: cannot find 'RawSpan' in scope
84 | borrowing get {
85 | let ptr = self.data.withUnsafeBytes { $0 }
86 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
87 | return _overrideLifetime(of: bytes, to: self)
88 | }
[20/20] Compiling Subprocess Teardown.swift
error: unspecified("fatalError")
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift package --allow-writing-to-directory .docs/swiftlang/swift-subprocess/main generate-documentation --emit-digest --disable-indexing --output-path .docs/swiftlang/swift-subprocess/main --hosting-base-path swiftlang/swift-subprocess/main --source-service github --source-service-base-url https://github.com/swiftlang/swift-subprocess/blob/main --checkout-path $PWD --target Subprocess))
✅ Doc result (failed) reported
Done.