Build Information
Successful build of Subprocess, reference main (a040f9
), with Swift 6.1 for macOS (SPM) on 11 Sep 2025 20:16:17 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.67.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 a040f9b Introudce CombinedErrorOutput (#180)
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
a040f9bc737341f93cc18303fb00fa39769ab0cb
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/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Fetched https://github.com/apple/swift-system from cache (1.29s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.77s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
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
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.5
========================================
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/2275] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.06s)
Fetching https://github.com/apple/swift-system from cache
Fetched https://github.com/apple/swift-system from cache (0.50s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.55s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (a040f9b)
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" : {
"exact" : [
"1.5.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.5",
"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" : [
"AsyncIOTests.swift",
"DarwinTests.swift",
"IntegrationTests.swift",
"LinterTests.swift",
"LinuxTests.swift",
"PlatformConformance.swift",
"ProcessMonitoringTests.swift",
"TestSupport.swift",
"UnixTests.swift",
"WindowsTests.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/AsyncIO+Dispatch.swift",
"IO/AsyncIO+Linux.swift",
"IO/AsyncIO+Windows.swift",
"IO/Input.swift",
"IO/Output.swift",
"Platforms/Subprocess+BSD.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",
"Thread.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 FilePathString.swift
[12/40] Compiling SystemPackage FilePathSyntax.swift
[13/40] Compiling SystemPackage FilePathTemp.swift
[14/40] Compiling SystemPackage FilePathComponentView.swift
[15/40] Compiling SystemPackage FilePathComponents.swift
[16/40] Compiling SystemPackage FilePathParsing.swift
[17/40] Compiling SystemPackage FilePathTempPosix.swift
[18/40] Compiling SystemPackage FilePathTempWindows.swift
[19/40] Compiling SystemPackage FilePathWindows.swift
[20/40] Compiling SystemPackage Errno.swift
[21/40] Compiling SystemPackage ErrnoWindows.swift
[22/40] Compiling SystemPackage FileDescriptor.swift
[23/40] Compiling SystemPackage FilePermissions.swift
[24/40] Compiling SystemPackage Backcompat.swift
[25/40] Compiling SystemPackage CInterop.swift
[26/40] Compiling SystemPackage RawBuffer.swift
[27/40] Compiling SystemPackage Syscalls.swift
[28/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[29/40] Compiling SystemPackage Util+StringArray.swift
[30/40] Compiling SystemPackage Util.swift
[31/40] Compiling SystemPackage UtilConsumers.swift
[32/40] Compiling SystemPackage FileHelpers.swift
[33/40] Compiling SystemPackage FileOperations.swift
[34/40] Compiling SystemPackage FilePath.swift
[35/40] Compiling SystemPackage Constants.swift
[36/40] Compiling SystemPackage Exports.swift
[37/40] Compiling SystemPackage Mocking.swift
[38/40] Compiling SystemPackage MachPort.swift
[39/40] Compiling SystemPackage PlatformString.swift
[40/40] Compiling SystemPackage SystemString.swift
[41/65] 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
[42/67] Compiling Subprocess AsyncIO+Dispatch.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
[43/67] Compiling Subprocess AsyncIO+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
[44/67] Compiling Subprocess AsyncIO+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
[45/67] 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
[46/67] 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
[47/67] 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
[48/67] 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
[49/67] Compiling Subprocess Thread.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/67] 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
[51/67] 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
[52/67] 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
[53/67] 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
[54/67] 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
[55/67] 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
[56/67] 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
[57/67] 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
[58/67] 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
[59/67] 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
[60/67] 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
[61/67] Compiling Subprocess Subprocess+BSD.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/67] 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
[63/67] 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
[64/67] 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
[65/67] 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
[66/67] 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
[67/67] 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
Build complete! (16.08s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"exact" : [
"1.5.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.5",
"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" : [
"AsyncIOTests.swift",
"DarwinTests.swift",
"IntegrationTests.swift",
"LinterTests.swift",
"LinuxTests.swift",
"PlatformConformance.swift",
"ProcessMonitoringTests.swift",
"TestSupport.swift",
"UnixTests.swift",
"WindowsTests.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/AsyncIO+Dispatch.swift",
"IO/AsyncIO+Linux.swift",
"IO/AsyncIO+Windows.swift",
"IO/Input.swift",
"IO/Output.swift",
"Platforms/Subprocess+BSD.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",
"Thread.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
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/53] Compiling SymbolKit DeclarationFragments.swift
[12/53] Compiling SymbolKit Fragment.swift
[13/53] Compiling SymbolKit FragmentKind.swift
[14/53] Compiling SymbolKit FunctionParameter.swift
[15/53] Compiling SymbolKit FunctionSignature.swift
[16/57] Emitting module SymbolKit
[17/57] Compiling SymbolKit Names.swift
[18/57] Compiling SymbolKit SPI.swift
[19/57] Compiling SymbolKit Snippet.swift
[20/57] Compiling SymbolKit Extension.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit SourceRange.swift
[27/57] Compiling SymbolKit Metadata.swift
[28/57] Compiling SymbolKit Module.swift
[29/57] Compiling SymbolKit OperatingSystem.swift
[30/57] Compiling SymbolKit Platform.swift
[31/57] Compiling SymbolKit Identifier.swift
[32/57] Compiling SymbolKit KindIdentifier.swift
[33/57] Compiling SymbolKit Location.swift
[34/57] Compiling SymbolKit Mutability.swift
[35/57] Compiling SymbolKit Mixin+Equals.swift
[36/57] Compiling SymbolKit Mixin+Hash.swift
[37/57] Compiling SymbolKit Mixin.swift
[38/57] Compiling SymbolKit LineList.swift
[39/57] Compiling SymbolKit Position.swift
[40/57] Compiling SymbolKit GenericConstraint.swift
[41/57] Compiling SymbolKit GenericParameter.swift
[42/57] Compiling SymbolKit Generics.swift
[43/57] Compiling SymbolKit Namespace.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.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] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.86s)
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/29] Compiling SystemPackage RawBuffer.swift
[6/29] Compiling SystemPackage Syscalls.swift
[7/29] Compiling SystemPackage WindowsSyscallAdapters.swift
[8/32] Compiling SystemPackage FileHelpers.swift
[9/32] Compiling SystemPackage FileOperations.swift
[10/32] Compiling SystemPackage FilePath.swift
[11/32] Compiling SystemPackage FilePathString.swift
[12/32] Compiling SystemPackage FilePathSyntax.swift
[13/32] Compiling SystemPackage FilePathTemp.swift
[14/32] Compiling SystemPackage FilePathTempPosix.swift
[15/32] Compiling SystemPackage FilePathTempWindows.swift
[16/32] Compiling SystemPackage FilePathWindows.swift
[17/32] Compiling SystemPackage Constants.swift
[18/32] Compiling SystemPackage Exports.swift
[19/32] Compiling SystemPackage Mocking.swift
[20/32] Emitting module SystemPackage
[21/32] Compiling SystemPackage Errno.swift
[22/32] Compiling SystemPackage ErrnoWindows.swift
[23/32] Compiling SystemPackage FileDescriptor.swift
[24/32] Compiling SystemPackage Util+StringArray.swift
[25/32] Compiling SystemPackage Util.swift
[26/32] Compiling SystemPackage UtilConsumers.swift
[27/32] Compiling SystemPackage MachPort.swift
[28/32] Compiling SystemPackage PlatformString.swift
[29/32] Compiling SystemPackage SystemString.swift
[30/32] Compiling SystemPackage FilePathComponentView.swift
[31/32] Compiling SystemPackage FilePathComponents.swift
[32/32] Compiling SystemPackage FilePathParsing.swift
[33/54] Compiling Subprocess Subprocess+Windows.swift
[34/54] Compiling Subprocess Result.swift
[35/54] 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/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/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/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
[36/54] Compiling Subprocess Input+Foundation.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/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/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/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/56] Emitting module Subprocess
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:126:35: error: cannot find type 'RawSpan' in scope
124 | #if SubprocessSpan
125 | /// Create a string from a raw span.
126 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
127 | // FIXME: Span to String
128 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:194:35: error: cannot find type 'RawSpan' in scope
192 | /// Create an Array from `RawSpawn`.
193 | /// Not implemented
194 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
195 | fatalError("Not implemented")
196 | }
/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:32:35: error: cannot find type 'RawSpan' in scope
30 | #if SubprocessSpan
31 | /// Create data from a raw span.
32 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
33 | return Data(span)
34 | }
/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:25: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | internal 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 {
[38/56] Compiling Subprocess API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:87:25: error: cannot find 'RawSpan' in scope
85 | borrowing get {
86 | let ptr = self.data.withUnsafeBytes { $0 }
87 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
88 | return _overrideLifetime(of: bytes, to: self)
89 | }
[39/56] Compiling Subprocess AsyncBufferSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:87:25: error: cannot find 'RawSpan' in scope
85 | borrowing get {
86 | let ptr = self.data.withUnsafeBytes { $0 }
87 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
88 | return _overrideLifetime(of: bytes, to: self)
89 | }
[40/56] Compiling Subprocess Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:87:25: error: cannot find 'RawSpan' in scope
85 | borrowing get {
86 | let ptr = self.data.withUnsafeBytes { $0 }
87 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
88 | return _overrideLifetime(of: bytes, to: self)
89 | }
[41/56] Compiling Subprocess Subprocess+Linux.swift
[42/56] Compiling Subprocess Subprocess+Unix.swift
[43/56] Compiling Subprocess AsyncIO+Dispatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
[44/56] Compiling Subprocess AsyncIO+Linux.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
[45/56] Compiling Subprocess AsyncIO+Windows.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
[46/56] Compiling Subprocess Subprocess+BSD.swift
[47/56] Compiling Subprocess Subprocess+Darwin.swift
[48/56] Compiling Subprocess Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:126:35: error: cannot find type 'RawSpan' in scope
124 | #if SubprocessSpan
125 | /// Create a string from a raw span.
126 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
127 | // FIXME: Span to String
128 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:194:35: error: cannot find type 'RawSpan' in scope
192 | /// Create an Array from `RawSpawn`.
193 | /// Not implemented
194 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
195 | fatalError("Not implemented")
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:348:20: error: cannot find 'RawSpan' in scope
346 | fatalError("Unexpected input type passed: \(type(of: buffer))")
347 | }
348 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
349 | return try self.output(from: span)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:445:24: error: cannot find 'RawSpan' in scope
443 | guard !data.isEmpty else {
444 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
445 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
446 | return try self.output(from: span)
447 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:451:24: error: cannot find 'RawSpan' in scope
449 | return try data.withUnsafeBytes { ptr in
450 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
451 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
452 | return try self.output(from: span)
453 | }
[49/56] Compiling Subprocess Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:126:35: error: cannot find type 'RawSpan' in scope
124 | #if SubprocessSpan
125 | /// Create a string from a raw span.
126 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
127 | // FIXME: Span to String
128 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:194:35: error: cannot find type 'RawSpan' in scope
192 | /// Create an Array from `RawSpawn`.
193 | /// Not implemented
194 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
195 | fatalError("Not implemented")
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:348:20: error: cannot find 'RawSpan' in scope
346 | fatalError("Unexpected input type passed: \(type(of: buffer))")
347 | }
348 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
349 | return try self.output(from: span)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:445:24: error: cannot find 'RawSpan' in scope
443 | guard !data.isEmpty else {
444 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
445 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
446 | return try self.output(from: span)
447 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:451:24: error: cannot find 'RawSpan' in scope
449 | return try data.withUnsafeBytes { ptr in
450 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
451 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
452 | return try self.output(from: span)
453 | }
[50/56] Compiling Subprocess Output+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:32:35: error: cannot find type 'RawSpan' in scope
30 | #if SubprocessSpan
31 | /// Create data from a raw span.
32 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
33 | return Data(span)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/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:25: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | internal 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:59:12: note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
57 | /// Create a `Data` from `Buffer`
58 | /// - Parameter buffer: buffer to copy from
59 | public init(buffer: AsyncBufferSequence.Buffer) {
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
60 | self = Data(buffer.data)
61 | }
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 | }
[51/56] Compiling Subprocess Span+SubprocessFoundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:32:35: error: cannot find type 'RawSpan' in scope
30 | #if SubprocessSpan
31 | /// Create data from a raw span.
32 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
33 | return Data(span)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/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:25: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | internal 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:59:12: note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
57 | /// Create a `Data` from `Buffer`
58 | /// - Parameter buffer: buffer to copy from
59 | public init(buffer: AsyncBufferSequence.Buffer) {
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
60 | self = Data(buffer.data)
61 | }
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 | }
[52/56] Compiling Subprocess Teardown.swift
[53/56] Compiling Subprocess Thread.swift
[54/56] Compiling Subprocess Configuration.swift
[55/56] Compiling Subprocess Error.swift
[56/56] Compiling Subprocess Execution.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.24s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/13] Compiling Subprocess AsyncIO+Linux.swift
[3/14] Compiling Subprocess AsyncIO+Windows.swift
[4/14] Compiling Subprocess Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:126:35: error: cannot find type 'RawSpan' in scope
124 | #if SubprocessSpan
125 | /// Create a string from a raw span.
126 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
127 | // FIXME: Span to String
128 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:194:35: error: cannot find type 'RawSpan' in scope
192 | /// Create an Array from `RawSpawn`.
193 | /// Not implemented
194 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
195 | fatalError("Not implemented")
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:348:20: error: cannot find 'RawSpan' in scope
346 | fatalError("Unexpected input type passed: \(type(of: buffer))")
347 | }
348 | let span = RawSpan(_unsafeBytes: rawBytes)
| `- error: cannot find 'RawSpan' in scope
349 | return try self.output(from: span)
350 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:445:24: error: cannot find 'RawSpan' in scope
443 | guard !data.isEmpty else {
444 | let empty = UnsafeRawBufferPointer(start: nil, count: 0)
445 | let span = RawSpan(_unsafeBytes: empty)
| `- error: cannot find 'RawSpan' in scope
446 | return try self.output(from: span)
447 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:451:24: error: cannot find 'RawSpan' in scope
449 | return try data.withUnsafeBytes { ptr in
450 | let bufferPtr = UnsafeRawBufferPointer(start: ptr, count: data.count)
451 | let span = RawSpan(_unsafeBytes: bufferPtr)
| `- error: cannot find 'RawSpan' in scope
452 | return try self.output(from: span)
453 | }
[5/14] 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
[6/14] Compiling Subprocess Output+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/SubprocessFoundation/Output+Foundation.swift:32:35: error: cannot find type 'RawSpan' in scope
30 | #if SubprocessSpan
31 | /// Create data from a raw span.
32 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
33 | return Data(span)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/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 | }
[7/14] Compiling Subprocess Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
[8/14] Compiling Subprocess Input+Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/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 | }
[9/14] Compiling Subprocess Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:87:25: error: cannot find 'RawSpan' in scope
85 | borrowing get {
86 | let ptr = self.data.withUnsafeBytes { $0 }
87 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
88 | return _overrideLifetime(of: bytes, to: self)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
[10/14] Compiling Subprocess AsyncIO+Dispatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:87:25: error: cannot find 'RawSpan' in scope
85 | borrowing get {
86 | let ptr = self.data.withUnsafeBytes { $0 }
87 | let bytes = RawSpan(_unsafeBytes: ptr)
| `- error: cannot find 'RawSpan' in scope
88 | return _overrideLifetime(of: bytes, to: self)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module Subprocess
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/Buffer.swift:83:23: error: cannot find type 'RawSpan' in scope
81 | // swift-format-ignore
82 | // Access the storage backing this Buffer
83 | public var bytes: RawSpan {
| `- error: cannot find type 'RawSpan' in scope
84 | @lifetime(borrow self)
85 | borrowing get {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/AsyncIO+Dispatch.swift:82:27: error: cannot find type 'RawSpan' in scope
80 | #if SubprocessSpan
81 | internal func write(
82 | _ span: borrowing RawSpan,
| `- error: cannot find type 'RawSpan' in scope
83 | to diskIO: borrowing IOChannel
84 | ) async throws -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:37:28: error: cannot find type 'RawSpan' in scope
35 | #if SubprocessSpan
36 | /// Convert the output from span to expected output type
37 | func output(from span: RawSpan) throws -> OutputType
| `- error: cannot find type 'RawSpan' in scope
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:429:35: error: cannot find type 'RawSpan' in scope
427 | #if SubprocessSpan
428 | /// Convert the output from raw span to expected output type
429 | public func output(from span: RawSpan) throws {
| `- error: cannot find type 'RawSpan' in scope
430 | fatalError("Unexpected call to \(#function)")
431 | }
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:126:35: error: cannot find type 'RawSpan' in scope
124 | #if SubprocessSpan
125 | /// Create a string from a raw span.
126 | public func output(from span: RawSpan) throws -> String? {
| `- error: cannot find type 'RawSpan' in scope
127 | // FIXME: Span to String
128 | var array: [UInt8] = []
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Output.swift:194:35: error: cannot find type 'RawSpan' in scope
192 | /// Create an Array from `RawSpawn`.
193 | /// Not implemented
194 | public func output(from span: RawSpan) throws -> [UInt8] {
| `- error: cannot find type 'RawSpan' in scope
195 | fatalError("Not implemented")
196 | }
/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:32:35: error: cannot find type 'RawSpan' in scope
30 | #if SubprocessSpan
31 | /// Create data from a raw span.
32 | public func output(from span: RawSpan) throws -> Data {
| `- error: cannot find type 'RawSpan' in scope
33 | return Data(span)
34 | }
/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:25: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | internal 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 {
[12/14] Compiling Subprocess API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
[13/14] Compiling Subprocess AsyncBufferSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:84:22: error: cannot find type 'Span' in scope
82 | workingDirectory: FilePath? = nil,
83 | platformOptions: PlatformOptions = PlatformOptions(),
84 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
85 | output: Output,
86 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/API.swift:397:22: error: cannot find type 'Span' in scope
395 | >(
396 | _ configuration: Configuration,
397 | input: borrowing Span<InputElement>,
| `- error: cannot find type 'Span' in scope
398 | output: Output,
399 | error: Error = .discarded
/Users/admin/builder/spi-builder-workspace/Sources/Subprocess/IO/Input.swift:261:41: error: cannot find type 'RawSpan' in scope
259 | /// - Parameter `span`: The span to write.
260 | /// - Returns: the number of bytes written.
261 | public func write(_ span: borrowing RawSpan) async throws -> Int {
| `- error: cannot find type 'RawSpan' in scope
262 | return try await AsyncIO.shared.write(span, to: self.diskIO)
263 | }
[14/14] 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:25: error: cannot find type 'RawSpan' in scope
27 | }
28 |
29 | internal 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:59:12: note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
57 | /// Create a `Data` from `Buffer`
58 | /// - Parameter buffer: buffer to copy from
59 | public init(buffer: AsyncBufferSequence.Buffer) {
| `- note: incorrect labels for candidate (have: '(_:)', expected: '(buffer:)')
60 | self = Data(buffer.data)
61 | }
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 | }
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.