Build Information
Failed to build REPL, reference master (90d95e), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 18:45:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme REPL -destination generic/platform=watchOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/REPL.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/REPL
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 90d95e4 Support command aliases
Cloned https://github.com/Samasaur1/REPL.git
Revision (git rev-parse @):
90d95e4b116bb8de356c015025af26c95e569e9a
SUCCESS checkout https://github.com/Samasaur1/REPL.git at master
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/Samasaur1/REPL.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
REPL: /Users/admin/builder/spi-builder-workspace
resolved source packages: REPL
2026-09-18 14:44:34.809 xcodebuild[529:3022] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "REPL",
"name" : "REPL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "repl",
"targets" : [
"REPL"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "REPLTests",
"module_type" : "SwiftTarget",
"name" : "REPLTests",
"path" : "Tests/REPLTests",
"sources" : [
"REPLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"REPL"
],
"type" : "test"
},
{
"c99name" : "REPL",
"module_type" : "SwiftTarget",
"name" : "REPL",
"path" : "Sources/REPL",
"product_memberships" : [
"repl"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "REPL",
"schemes" : [
"REPL"
]
}
}
2026-09-18 14:45:16.149 xcodebuild[647:4149] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme REPL -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme REPL -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
REPL: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'repl-product' in project 'REPL' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 592027749f6d7e0a9a1c9e98b826a620
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/592027749f6d7e0a9a1c9e98b826a620.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/repl.DependencyStaticMetadataFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/repl.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/repl.DependencyMetadataFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/repl.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.LinkFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.SwiftFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.LinkFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.SwiftFileList (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-OutputFileMap.json (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-OutputFileMap.json (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-OutputFileMap.json
SwiftDriver repl normal arm64 com.apple.xcode.tools.swift.compiler (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name REPL -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver repl normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name REPL -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-6RTBPQ03V7BM9SPRK8SUE055H.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-9CQQGWTSNTN9EB5NSHDWUJICH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-7ELIH9BTIGVKX3UBITM9N72WD.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-6KO8O3PEWRCA4WC6PPLOYO6WJ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-BFXF358ME5AK535N5A9Z766WU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-D305JG44A2WPI6CJY37X3QJE8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-A7UU8LE6MP85SM26YO7PBZNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-H44EFHQX6XSS5MZ7QP6YJZ76.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-A967K8W8YUYEC9SN52KJ7OO88.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-C0CW5Q4HGBQYKE77TC42IAFB5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-3TZ9WJCGLYD25HQPWH4968ONX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-AIF0NDOYZ8ORBNHQAQR5NNB8M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-659N52XSKR5F0QSB880BH2FJR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-83J96QSOFE9VX04AAS6310UAE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BUNV3UXM65NT37THI4W1AM0SF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-4MXFZPV6FEB0XBYXCGPWAMQGL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-1FU30Y8SWFB7OUUHMJQH5J6FM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-244WAN3Z1QBT7PIA64EZEFY1R.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-2GWF9RFMPLQW4PDHS3NARVI3G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7SPX3MD0HMP55E4OLNCPNDQ53.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-9GWPA2B0H20DYUNYHYCWKABJG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-D0XAPJU49S5E9XMKYOFGSTB1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-3VKBU2AFTD65PAJZ5CJ3LHFM2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-9MY8GOSYRO0M9MKNXF6D3MBNK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-E6PRXK75PHIPCZFWOFCQ3QBMK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-8XMILLJZEGRN2XG7XZUXZ5RLX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-2KXQLI78OUCDP779AE68GZJ2.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-1HMXWI3V0V4TXHRWZOMZGZ80Y.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BFVLUQUSBZWYMLCU9QI7VZALW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8TLLMW08ZJWDGIIPKOYFGHHZW.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-3DUTYQDQSD9HUAAVY947NMWOI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-B97LRG0E9GON2NUE65TVG81HU.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-D2KPCR4PEX9AQA33NGLUT5SBR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-3UQSCM7WNM9EK4HZML8TY5J3D.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3FVT1SKLN2ZQ5RVOABMTQBB34.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-3984OXKFNSPE77NT743WK8SEX.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-6IJNELR2E80E7LUKESVCP2KET.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-72IVD3VS2RS8Q28D9PIMY0KQP.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-5YWTC6L4756IWSTPGXS5NM0D0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3SDKD7F87FTZ26OON37DRYT6O.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-5JHTPDMNBUNHLJI8LPHKQK1JK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-89GG5G7YC2D0ZTK6AZXXQ20DH.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-2P62F1T4XV63S4P99TUDTOK2Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1NLJOVAK60XP0DUB05XA59EIM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8E6Y4BA3EXYKUGJ24GT9LGV3N.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-81Y45QFY96XYYFCW2GT6FY8S4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-40DR0X1DHKGCV4J1IOLFS8MOU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-8T2L24YC5NU7WO6WQJWRY7W08.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-D7TOWF88VWF67TB9HAFP5UWB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-6RZ6YBRU8WCUHRFFRVUK5WKMM.pcm
SwiftExplicitDependencyGeneratePcm arm64_32 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BJ2VQGI3OGR34500MEQ1VKHPH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-DLBKUSGXN8QHAT8W0OARR9S8A.pcm
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:21: error: cannot find 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name REPL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.abi.json
SwiftCompile normal arm64_32 Compiling\ main.swift /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:87:9: note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
86 |
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile main.swift
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
SwiftEmitModule normal arm64 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:21: error: cannot find 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name REPL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.abi.json
SwiftCompile normal arm64 (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ main.swift /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:87:9: note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
86 |
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile main.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 14:45:17.671 xcodebuild[648:4195] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'repl-product' from project 'REPL')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
SwiftEmitModule normal arm64 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
SwiftCompile normal arm64 (in target 'repl-product' from project 'REPL')
Building workspace REPL with scheme REPL
(5 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
REPL: /Users/admin/builder/spi-builder-workspace
resolved source packages: REPL
2026-09-18 14:45:22.457 xcodebuild[719:4509] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "REPL",
"name" : "REPL",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "repl",
"targets" : [
"REPL"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "REPLTests",
"module_type" : "SwiftTarget",
"name" : "REPLTests",
"path" : "Tests/REPLTests",
"sources" : [
"REPLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"REPL"
],
"type" : "test"
},
{
"c99name" : "REPL",
"module_type" : "SwiftTarget",
"name" : "REPL",
"path" : "Sources/REPL",
"product_memberships" : [
"repl"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "REPL",
"schemes" : [
"REPL"
]
}
}
2026-09-18 14:45:23.675 xcodebuild[727:4580] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme REPL -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme REPL -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
REPL: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'repl-product' in project 'REPL' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver repl normal arm64 com.apple.xcode.tools.swift.compiler (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name REPL -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver repl normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name REPL -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:21: error: cannot find 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
SwiftCompile normal arm64 (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name REPL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/repl-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64/REPL.abi.json
SwiftCompile normal arm64 Compiling\ main.swift /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:87:9: note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
86 |
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile main.swift
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:21: error: cannot find 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name REPL -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/repl-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-watchos/repl-p.build/Objects-normal/arm64_32/REPL.abi.json
SwiftCompile normal arm64_32 (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64_32 Compiling\ main.swift /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: error: 'posix_spawn_file_actions_init' is unavailable in watchOS
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- error: 'posix_spawn_file_actions_init' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:89:9: note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_init' has been explicitly marked unavailable here
90 |
91 | int posix_spawnattr_destroy(posix_spawnattr_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:16:1: warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
14 | // (via `bash -i -c 'echo "$PS1"'`)
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
| `- warning: result of call to 'posix_spawn_file_actions_init' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- error: 'posix_spawn_file_actions_destroy' is unavailable in watchOS
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:87:9: note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
86 |
87 | int posix_spawn_file_actions_destroy(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
| `- note: 'posix_spawn_file_actions_destroy' has been explicitly marked unavailable here
88 |
89 | int posix_spawn_file_actions_init(posix_spawn_file_actions_t *) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:17:9: warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
15 | var action: posix_spawn_file_actions_t? = nil
16 | posix_spawn_file_actions_init(&action);
17 | defer { posix_spawn_file_actions_destroy(&action) }
| `- warning: result of call to 'posix_spawn_file_actions_destroy' is unused [#NoUsage]
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- error: 'posix_spawn_file_actions_addopen' is unavailable in watchOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:83:9: note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
81 | int) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
82 |
83 | int posix_spawn_file_actions_addopen(
| `- note: 'posix_spawn_file_actions_addopen' has been explicitly marked unavailable here
84 | posix_spawn_file_actions_t * __restrict, int,
85 | const char * __restrict, int, mode_t) __API_AVAILABLE(macos(10.5), ios(2.0)) __API_UNAVAILABLE(watchos, tvos);
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:19:1: warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
17 | defer { posix_spawn_file_actions_destroy(&action) }
18 | let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
19 | posix_spawn_file_actions_addopen(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
| `- warning: result of call to 'posix_spawn_file_actions_addopen' is unused [#NoUsage]
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:27:10: error: 'posix_spawn' is unavailable in watchOS
25 |
26 | var pid = pid_t()
27 | let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], environ)
| `- error: 'posix_spawn' is unavailable in watchOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/usr/include/spawn.h:60:9: note: 'posix_spawn' has been explicitly marked unavailable here
58 | */
59 |
60 | int posix_spawn(pid_t * __restrict, const char * __restrict,
| `- note: 'posix_spawn' has been explicitly marked unavailable here
61 | const posix_spawn_file_actions_t *,
62 | const posix_spawnattr_t * __restrict,
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:45:168: error: 'userName' is unavailable in watchOS
43 | let convertedPS1 = rawPS1.replacingOccurrences(of: #"\033"#, with: "\u{001B}").replacingOccurrences(of: #"\e"#, with: "\u{001B}") //escape chars
44 | .replacingOccurrences(of: #"\["#, with: "").replacingOccurrences(of: #"\]"#, with: "") //used to tell bash the're format chars and not printed
45 | .replacingOccurrences(of: #"\w"#, with: ProcessInfo.processInfo.environment["PWD"]!.replacingOccurrences(of: "/Users/\(ProcessInfo.processInfo.userName)", with: "~")) //current working directory
| `- error: 'userName' is unavailable in watchOS
46 | .replacingOccurrences(of: #"\W"#, with: ProcessInfo.processInfo.environment["PWD"]!.split(separator: "/").last!) //CWD basename
47 | //.replacingOccurrences(of: #"\d"#, with: "df.dateFormat = "E MMM d"") //should be done every time we print prompt
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:57:89: error: 'userName' is unavailable in watchOS
55 | //\T The time, in 12-hour HH:MM:SS format.
56 | //\@ The time, in 12-hour am/pm format.
57 | .replacingOccurrences(of: #"\u"#, with: ProcessInfo.processInfo.userName)
| `- error: 'userName' is unavailable in watchOS
58 | .replacingOccurrences(of: #"\v"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION)") //version major.minor, no patch
59 | .replacingOccurrences(of: #"\V"#, with: "\(MAJOR_VERSION).\(MINOR_VERSION).\(PATCH_VERSION)") //version major.minor.patch
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:443:38: note: 'userName' has been explicitly marked unavailable here
441 |
442 | /// Returns the account name of the current user.
443 | @property (readonly, copy) NSString *userName API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'userName' has been explicitly marked unavailable here
444 |
445 | /// Returns the full name of the current user.
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:134:54: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
132 | let replacingTime_at = ReplacingTime_at(convertedPS1.contains(#"\@"#))
133 | let aliases: [String: String]
134 | if let d = try? Data(contentsOf: FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent(".config").appendingPathComponent("repl").appendingPathComponent("aliases.json")) {
| `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
135 | if let dict = try? JSONDecoder().decode([String: String].self, from: d) {
136 | aliases = dict
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift:180:11: error: cannot find type 'Process' in scope
178 | //}
179 |
180 | var task: Process = Process()
| `- error: cannot find type 'Process' in scope
181 | func exec(_ command: String) -> String {
182 | task = Process()
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/REPL/main.swift (in target 'repl-product' from project 'REPL')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile main.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-18 14:45:24.638 xcodebuild[728:4605] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'repl-product' from project 'REPL')
SwiftEmitModule normal arm64 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ REPL (in target 'repl-product' from project 'REPL')
SwiftCompile normal arm64_32 (in target 'repl-product' from project 'REPL')
Building workspace REPL with scheme REPL
(5 failures)
BUILD FAILURE 6.4 watchOS