Build Information
Failed to build REPL, reference v2.2.0 (90d95e), with Swift 6.4 for tvOS using Xcode 27.0 on 18 Sep 2026 18:45:31 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=tvOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/REPL.git
Reference: v2.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/REPL
* tag v2.2.0 -> FETCH_HEAD
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 v2.2.0
========================================
Build
========================================
Selected platform: tvOS
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:41.325 xcodebuild[529:3024] [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:22.247 xcodebuild[647:4175] [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=tvOS
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=tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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: be6161942e35e6fd393d459102720e40
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/be6161942e35e6fd393d459102720e40.xcbuilddata
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/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/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/Products/Debug-appletvos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
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/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
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-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/repl.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/repl.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl.SwiftFileList
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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-8X2KEPL7CTRPS40TUB9APHPK6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-8N4EXJ4RUJTR8K9OO3CMOH1EP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2AZ6B5IBYD3RRRTFWN2ONASY3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-BO2OCAUYVAXDRVQWQ8ISKGNUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-AHRDH5EKLY6D04C5E42F3VCQI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-8ZJAYZ85YBOAOP52Y9H6IUNP3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-BV2EDDP0MI5QJDDPEEV4D9D3V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9ZJZ6FDEZNKTZU8YLPMFT9RAQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BY5PD8KF1L5KF6F4Q69HE3TJ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-JOTYMOA1YZCIJ2NON6FQ848O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-7JU2HP127LIT1X9E2V3D8WZ1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-AOGAN1O02NKXRJN5V73AV3V3M.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8GCAV1YMG5UUGHUID3CA20TCH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-6EVHP7A717OUS5DMC78F79HWO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-6NFTB6IBKS143IVPGT1EKB7HO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-8SR3855WDFHQPR6G9GHOI2C07.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-6X1IQ3QK9KEVKXOK9Y79EW7J3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-DBSQAVBBPC3D2OMU5ZI2RXMST.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-5250FDCE56N8508OR6XUYDKZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-E2DGZ0SX0TULQHULZRPO6OKNW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-DBUFF7811DKMX7VPBOJPGGF1U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1QL58A0V50C39KVAIC6C38SHL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-7TPJ7ENDC4L1A1ESHYI9TXS0D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-6O2DJFT3QUJ7QKTD3SNUB6PCR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-8VMXEKVDA3MHUH9AOTP905DID.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-2CUR2VK9S3S3WPFXPNXNUWYGN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-BSSIP64DIGUKMAYJOG1WPQ78X.pcm
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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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()
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:23.804 xcodebuild[648:4217] [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')
Building workspace REPL with scheme REPL
(3 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:28.151 xcodebuild[692:4435] [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:29.362 xcodebuild[700:4500] [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=tvOS
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=tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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-tvos15.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.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-appletvos/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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/repl-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/repl_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.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-appletvos/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-appletvos/repl-p.build/Objects-normal/arm64/REPL.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/REPL.build/Debug-appletvos/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-appletvos/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-appletvos/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-appletvos/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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
20 | //posix_spawn_file_actions_adddup2(&action, 1, 2)
21 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
28 | guard rv == 0 else {
29 | // Should get errno
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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 tvOS
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 tvOS
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/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.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()
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 14:45:30.345 xcodebuild[701:4526] [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')
Building workspace REPL with scheme REPL
(3 failures)
BUILD FAILURE 6.4 tvOS