Build Information
Failed to build package-datetime, reference 2.0.0-alpha.1 (245d8f), with Swift 6.4 for iOS using Xcode 27.0 on 19 Sep 2026 09:23:37 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 package-datetime -destination generic/platform=iOSBuild Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-datetime.git
Reference: 2.0.0-alpha.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-datetime
* tag 2.0.0-alpha.1 -> FETCH_HEAD
HEAD is now at 245d8ff Update Package.swift
Cloned https://github.com/ordo-one/package-datetime.git
Revision (git rev-parse @):
245d8ff3a97d9bcb57dbd9455bcfeded20369e0d
SUCCESS checkout https://github.com/ordo-one/package-datetime.git at 2.0.0-alpha.1
========================================
Build
========================================
Selected platform: iOS
Swift version: 6.4
Building package at path: $PWD
https://github.com/ordo-one/package-datetime.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:
package-datetime: /Users/admin/builder/spi-builder-workspace
resolved source packages: package-datetime
2026-09-19 05:22:57.155 xcodebuild[529:3045] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "package-datetime",
"name" : "package-datetime",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "DateTime",
"targets" : [
"DateTime"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EpochDateTimeTests",
"module_type" : "SwiftTarget",
"name" : "EpochDateTimeTests",
"path" : "Tests/EpochDateTimeTests",
"sources" : [
"EpochDateTimeTests.swift"
],
"target_dependencies" : [
"DateTime"
],
"type" : "test"
},
{
"c99name" : "DateTimeTests",
"module_type" : "SwiftTarget",
"name" : "DateTimeTests",
"path" : "Tests/DateTimeTests",
"sources" : [
"DateTimeTests.swift"
],
"target_dependencies" : [
"DateTime"
],
"type" : "test"
},
{
"c99name" : "DateTime",
"module_type" : "SwiftTarget",
"name" : "DateTime",
"path" : "Sources/DateTime",
"product_memberships" : [
"DateTime"
],
"sources" : [
"BenchmarkClock.swift",
"Duration+Convenience.swift",
"EpochDateTime.swift",
"FoundationExports.swift",
"InternalUTCClock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "package-datetime",
"schemes" : [
"package-datetime"
]
}
}
2026-09-19 05:23:28.688 xcodebuild[626:3848] [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 package-datetime -destination generic/platform=iOS
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 package-datetime -destination generic/platform=iOS
Resolve Package Graph
Resolved source packages:
package-datetime: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'DateTime-product' in project 'package-datetime'
➜ Explicit dependency on target 'DateTime' in project 'package-datetime'
Target 'DateTime' in project 'package-datetime' (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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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: 2c1efc5c17ec1a621cb4df6700254aa4
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/2c1efc5c17ec1a621cb4df6700254aa4.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/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
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
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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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-iphoneos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-iphoneos
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-iphoneos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.DependencyStaticMetadataFileList (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.DependencyMetadataFileList (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.modulemap (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-OutputFileMap.json (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftFileList (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.LinkFileList (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftConstValuesFileList (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftConstValuesFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/DateTime.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.modulemap (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DateTime.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
SwiftDriver DateTime normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DateTime' from project 'package-datetime')
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 -parse-as-library -module-name DateTime -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -target arm64-apple-ios15.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-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-Swift.h -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/_Builtin_float-A3OTZIBNLUK4KRPK79SR9VALR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-BEJ25RSXHVJMS8GY54A7TIDQC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-ELWSSDP0MKO9UN7OCGHYENU4N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-9M60LQ19IG7KF2I6MAZT1EE2L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-9ZM475TB9FF7V697OJNYX6RO9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-DS3M26O02MEUZY8PORVO63UN8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-A68EWFTK1KMCWXEVQVUVX32IF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-353X4HCQ4QM1XN1RGUYE5DJXQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-46VMPHZN3071T5WUKTVKV81O6.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-6AS4X33TU1806YATN4YELVHNM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-DBOBRBKI8YXN3X7HCIRAXFELN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-BR17857KX1560DFAJ8X0RLP2X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-3VRVITBSRYCNS1X3HOZPXQS3E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-4SPNE64SFJA0QV142KR6FB8H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-4H7GQGME5X7WUG5O55QKSXPG0.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-BWQ9HHUEF00PLTWBF6Y3RFT1Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-F02YQXAV70SBQYNR1TCILSZQC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-BI81F3DSM7GNALREB2L4UAO3K.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-B11KXH0CHRPAR6DL0V15OUWX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-39R6K1ZW4M0CXKJ1WMJZK8M2C.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-24KM5066VOM199SLPK0FMLPYP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-ATYRC6ZTNZOFUFVI4AZT0N36L.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-6RZ7WG7C70RNLQ7W9TEHN64U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-2B8LCRX5U2HGX5DUXAJMAUYF5.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-38LZ2U8T2TAJNP8SDQ1CJJE3F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-CKHY0HEWI1S67QSGB5QKT2KK1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-1A84M7V1QOXIBMN0W05H3CVWO.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ DateTime (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:28:36: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
29 |
30 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:30:37: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
29 |
30 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
31 | self._value = _value
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:38:18: error: 'Clock' is only available in iOS 16.0 or newer
36 | }
37 |
38 | public extension Clock where Self == BenchmarkClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
39 | /// A clock that measures time that always increments but does not stop
40 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:54:41: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:111:51: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:120:45: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:124:69: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:146:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
143 |
144 | @inlinable
145 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
146 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
147 | ) -> BenchmarkClock.Instant {
148 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:153:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
150 |
151 | @inlinable
152 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
153 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
154 | ) {
155 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:160:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:167:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:175:16: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
171 |
172 | @inlinable
173 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
174 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
175 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
176 | rhs.duration(to: lhs)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:32: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:27: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:38: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:33: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:1:18: error: 'Duration' is only available in iOS 16.0 or newer
1 | public extension Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:27:36: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
28 |
29 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:29:37: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
29 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
30 | self._value = _value
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:81:18: error: 'Clock' is only available in iOS 16.0 or newer
79 | }
80 |
81 | public extension Clock where Self == InternalUTCClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
82 | /// A clock that measures time that always increments but does not stop
83 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:97:41: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
95 |
96 | /// The minimum non-zero resolution between any two calls to `now`.
97 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
98 | var resolution = timespec()
99 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:137:51: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
134 | ///
135 | /// This function doesn't block the underlying thread.
136 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
137 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
138 | ) async throws {
139 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:146:45: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
146 | public func advanced(by duration: Swift.Duration) -> InternalUTCClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
147 | InternalUTCClock.Instant(_value: _value + duration)
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:150:71: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
148 | }
149 |
150 | public func duration(to other: InternalUTCClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
151 | other._value - _value
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:172:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
169 |
170 | @inlinable
171 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
172 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
173 | ) -> InternalUTCClock.Instant {
174 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:179:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
176 |
177 | @inlinable
178 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
179 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
180 | ) {
181 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:186:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:193:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:201:16: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
197 |
198 | @inlinable
199 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
200 | _ lhs: InternalUTCClock.Instant, _ rhs: InternalUTCClock.Instant
201 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
202 | rhs.duration(to: lhs)
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:188:32: error: '-' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
189 | }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:188:27: error: 'zero' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
189 | }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:195:38: error: '-' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
196 | }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:195:33: error: 'zero' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
196 | }
197 |
Failed frontend command:
SwiftCompile normal arm64 (in target 'DateTime' from project 'package-datetime')
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/DateTime/BenchmarkClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift -target arm64-apple-ios15.0 -module-can-import-version Darwin 428.0.10 0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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 SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DateTime -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-ios27.0 -target-sdk-version 27.0 -target-sdk-name iphoneos27.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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.abi.json
SwiftCompile normal arm64 Compiling\ InternalUTCClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:27:36: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
28 |
29 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:29:37: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
29 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
30 | self._value = _value
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:81:18: error: 'Clock' is only available in iOS 16.0 or newer
79 | }
80 |
81 | public extension Clock where Self == InternalUTCClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
82 | /// A clock that measures time that always increments but does not stop
83 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:97:41: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
95 |
96 | /// The minimum non-zero resolution between any two calls to `now`.
97 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
98 | var resolution = timespec()
99 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:137:51: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
134 | ///
135 | /// This function doesn't block the underlying thread.
136 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
137 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
138 | ) async throws {
139 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:146:45: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
146 | public func advanced(by duration: Swift.Duration) -> InternalUTCClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
147 | InternalUTCClock.Instant(_value: _value + duration)
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:150:71: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
148 | }
149 |
150 | public func duration(to other: InternalUTCClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
151 | other._value - _value
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:172:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
169 |
170 | @inlinable
171 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
172 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
173 | ) -> InternalUTCClock.Instant {
174 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:179:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
176 |
177 | @inlinable
178 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
179 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
180 | ) {
181 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:186:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:193:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:201:16: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
197 |
198 | @inlinable
199 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
200 | _ lhs: InternalUTCClock.Instant, _ rhs: InternalUTCClock.Instant
201 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
202 | rhs.duration(to: lhs)
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:34:28: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
31 | }
32 |
33 | public init(secondsComponent: Int64, attosecondsComponent: Int64) {
| `- note: add '@available' attribute to enclosing initializer
34 | _value = Swift.Duration(secondsComponent: secondsComponent, attosecondsComponent: attosecondsComponent)
| |- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
35 | }
36 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InternalUTCClock.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:39:20: error: 'components' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
36 |
37 | @available(*, deprecated, renamed: "seconds")
38 | public func secondsSinceEpoch() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
39 | _value.components.seconds
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:43:20: error: 'components' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
40 | }
41 |
42 | public func seconds() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
43 | _value.components.seconds
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
44 | }
45 |
SwiftCompile normal arm64 Compiling\ FoundationExports.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift (in target 'DateTime' from project 'package-datetime')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationExports.swift
SwiftCompile normal arm64 Compiling\ EpochDateTime.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift (in target 'DateTime' from project 'package-datetime')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EpochDateTime.swift
SwiftCompile normal arm64 Compiling\ BenchmarkClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:28:36: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
29 |
30 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:30:37: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
29 |
30 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
31 | self._value = _value
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:38:18: error: 'Clock' is only available in iOS 16.0 or newer
36 | }
37 |
38 | public extension Clock where Self == BenchmarkClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
39 | /// A clock that measures time that always increments but does not stop
40 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:54:41: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:111:51: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:120:45: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:124:69: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:146:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
143 |
144 | @inlinable
145 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
146 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
147 | ) -> BenchmarkClock.Instant {
148 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:153:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
150 |
151 | @inlinable
152 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
153 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
154 | ) {
155 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:160:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:167:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:175:16: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
171 |
172 | @inlinable
173 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
174 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
175 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
176 | rhs.duration(to: lhs)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:56:29: error: 'nanoseconds' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
| |- error: 'nanoseconds' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
57 | #elseif os(Linux)
58 | var resolution = timespec()
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:113:24: error: 'sleep(until:tolerance:clock:)' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
| |- error: 'sleep(until:tolerance:clock:)' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:121:47: warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
| |- warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:125:22: warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
| |- warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:129:16: warning: conformance of 'Duration' to 'Hashable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
126 | }
127 |
128 | public func hash(into hasher: inout Hasher) {
| `- note: add '@available' attribute to enclosing instance method
129 | hasher.combine(_value)
| |- warning: conformance of 'Duration' to 'Hashable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:135:20: warning: conformance of 'Duration' to 'Equatable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
130 | }
131 |
132 | public static func == (
| `- note: add '@available' attribute to enclosing operator function
133 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
134 | ) -> Bool {
135 | lhs._value == rhs._value
| |- warning: conformance of 'Duration' to 'Equatable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:141:20: warning: conformance of 'Duration' to 'Comparable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
136 | }
137 |
138 | public static func < (
| `- note: add '@available' attribute to enclosing operator function
139 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
140 | ) -> Bool {
141 | lhs._value < rhs._value
| |- warning: conformance of 'Duration' to 'Comparable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:32: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:27: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:38: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BenchmarkClock.swift
SwiftCompile normal arm64 Compiling\ Duration+Convenience.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:1:18: error: 'Duration' is only available in iOS 16.0 or newer
1 | public extension Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:3:10: error: 'components' is only available in iOS 16.0 or newer
1 | public extension Duration {
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
4 | }
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Duration+Convenience.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-19 05:23:30.233 xcodebuild[627:3894] [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 'DateTime' from project 'package-datetime')
SwiftEmitModule normal arm64 Emitting\ module\ for\ DateTime (in target 'DateTime' from project 'package-datetime')
Building workspace package-datetime with scheme package-datetime
(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:
package-datetime: /Users/admin/builder/spi-builder-workspace
resolved source packages: package-datetime
2026-09-19 05:23:34.791 xcodebuild[676:4143] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "package-datetime",
"name" : "package-datetime",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "DateTime",
"targets" : [
"DateTime"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EpochDateTimeTests",
"module_type" : "SwiftTarget",
"name" : "EpochDateTimeTests",
"path" : "Tests/EpochDateTimeTests",
"sources" : [
"EpochDateTimeTests.swift"
],
"target_dependencies" : [
"DateTime"
],
"type" : "test"
},
{
"c99name" : "DateTimeTests",
"module_type" : "SwiftTarget",
"name" : "DateTimeTests",
"path" : "Tests/DateTimeTests",
"sources" : [
"DateTimeTests.swift"
],
"target_dependencies" : [
"DateTime"
],
"type" : "test"
},
{
"c99name" : "DateTime",
"module_type" : "SwiftTarget",
"name" : "DateTime",
"path" : "Sources/DateTime",
"product_memberships" : [
"DateTime"
],
"sources" : [
"BenchmarkClock.swift",
"Duration+Convenience.swift",
"EpochDateTime.swift",
"FoundationExports.swift",
"InternalUTCClock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "package-datetime",
"schemes" : [
"package-datetime"
]
}
}
2026-09-19 05:23:36.010 xcodebuild[704:4358] [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 package-datetime -destination generic/platform=iOS
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 package-datetime -destination generic/platform=iOS
Resolve Package Graph
Resolved source packages:
package-datetime: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'DateTime-product' in project 'package-datetime'
➜ Explicit dependency on target 'DateTime' in project 'package-datetime'
Target 'DateTime' in project 'package-datetime' (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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache
SwiftDriver DateTime normal arm64 com.apple.xcode.tools.swift.compiler (in target 'DateTime' from project 'package-datetime')
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 -parse-as-library -module-name DateTime -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -target arm64-apple-ios15.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-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-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 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ BenchmarkClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:28:36: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
29 |
30 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:30:37: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
29 |
30 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
31 | self._value = _value
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:38:18: error: 'Clock' is only available in iOS 16.0 or newer
36 | }
37 |
38 | public extension Clock where Self == BenchmarkClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
39 | /// A clock that measures time that always increments but does not stop
40 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:54:41: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:111:51: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:120:45: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:124:69: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:146:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
143 |
144 | @inlinable
145 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
146 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
147 | ) -> BenchmarkClock.Instant {
148 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:153:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
150 |
151 | @inlinable
152 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
153 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
154 | ) {
155 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:160:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:167:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:175:16: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
171 |
172 | @inlinable
173 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
174 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
175 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
176 | rhs.duration(to: lhs)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:56:29: error: 'nanoseconds' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
| |- error: 'nanoseconds' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
57 | #elseif os(Linux)
58 | var resolution = timespec()
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BenchmarkClock.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:113:24: error: 'sleep(until:tolerance:clock:)' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
| |- error: 'sleep(until:tolerance:clock:)' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:121:47: warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
| |- warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
122 | }
123 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:125:22: warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
| |- warning: conformance of 'Duration' to 'AdditiveArithmetic' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:129:16: warning: conformance of 'Duration' to 'Hashable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
126 | }
127 |
128 | public func hash(into hasher: inout Hasher) {
| `- note: add '@available' attribute to enclosing instance method
129 | hasher.combine(_value)
| |- warning: conformance of 'Duration' to 'Hashable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:135:20: warning: conformance of 'Duration' to 'Equatable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
130 | }
131 |
132 | public static func == (
| `- note: add '@available' attribute to enclosing operator function
133 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
134 | ) -> Bool {
135 | lhs._value == rhs._value
| |- warning: conformance of 'Duration' to 'Equatable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:141:20: warning: conformance of 'Duration' to 'Comparable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
136 | }
137 |
138 | public static func < (
| `- note: add '@available' attribute to enclosing operator function
139 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
140 | ) -> Bool {
141 | lhs._value < rhs._value
| |- warning: conformance of 'Duration' to 'Comparable' is only available in iOS 16.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:32: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:27: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:38: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
SwiftCompile normal arm64 Compiling\ FoundationExports.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift (in target 'DateTime' from project 'package-datetime')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationExports.swift
SwiftCompile normal arm64 Compiling\ Duration+Convenience.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:1:18: error: 'Duration' is only available in iOS 16.0 or newer
1 | public extension Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:3:10: error: 'components' is only available in iOS 16.0 or newer
1 | public extension Duration {
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
4 | }
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Duration+Convenience.swift
SwiftCompile normal arm64 Compiling\ EpochDateTime.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift (in target 'DateTime' from project 'package-datetime')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EpochDateTime.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ DateTime (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:28:36: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
29 |
30 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:30:37: error: 'Duration' is only available in iOS 16.0 or newer
25 | public struct BenchmarkClock {
26 | /// A continuous point in time used for `BenchmarkClock`.
27 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
28 | internal var _value: Swift.Duration
29 |
30 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
31 | self._value = _value
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:38:18: error: 'Clock' is only available in iOS 16.0 or newer
36 | }
37 |
38 | public extension Clock where Self == BenchmarkClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
39 | /// A clock that measures time that always increments but does not stop
40 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:54:41: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
52 |
53 | /// The minimum non-zero resolution between any two calls to `now`.
54 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
55 | #if os(macOS) || os(iOS)
56 | return Duration.nanoseconds(1)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:111:51: error: 'Duration' is only available in iOS 16.0 or newer
45 | }
46 |
47 | extension BenchmarkClock: Clock {
| `- note: add '@available' attribute to enclosing extension
48 | /// The current continuous instant.
49 | public var now: BenchmarkClock.Instant {
:
108 | ///
109 | /// This function doesn't block the underlying thread.
110 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
111 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
112 | ) async throws {
113 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:120:45: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
120 | public func advanced(by duration: Swift.Duration) -> BenchmarkClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
121 | BenchmarkClock.Instant(_value: _value + duration)
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:124:69: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
122 | }
123 |
124 | public func duration(to other: BenchmarkClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
125 | other._value - _value
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:146:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
143 |
144 | @inlinable
145 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
146 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
147 | ) -> BenchmarkClock.Instant {
148 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:153:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
150 |
151 | @inlinable
152 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
153 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
154 | ) {
155 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:160:53: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:167:59: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:175:16: error: 'Duration' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
171 |
172 | @inlinable
173 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
174 | _ lhs: BenchmarkClock.Instant, _ rhs: BenchmarkClock.Instant
175 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
176 | rhs.duration(to: lhs)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:32: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:162:27: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
157 |
158 | @inlinable
159 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
160 | _ lhs: BenchmarkClock.Instant, _ rhs: Swift.Duration
161 | ) -> BenchmarkClock.Instant {
162 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
163 | }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:38: error: '-' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/BenchmarkClock.swift:169:33: error: 'zero' is only available in iOS 16.0 or newer
115 | }
116 |
117 | extension BenchmarkClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
118 | public static var now: BenchmarkClock.Instant { BenchmarkClock.now }
119 |
:
164 |
165 | @inlinable
166 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
167 | _ lhs: inout BenchmarkClock.Instant, _ rhs: Swift.Duration
168 | ) {
169 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift:1:18: error: 'Duration' is only available in iOS 16.0 or newer
1 | public extension Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
2 | func nanoseconds() -> Int64 {
3 | (components.seconds * 1_000_000_000) + (components.attoseconds / 1_000_000_000)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:27:36: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
28 |
29 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:29:37: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
29 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
30 | self._value = _value
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:81:18: error: 'Clock' is only available in iOS 16.0 or newer
79 | }
80 |
81 | public extension Clock where Self == InternalUTCClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
82 | /// A clock that measures time that always increments but does not stop
83 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:97:41: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
95 |
96 | /// The minimum non-zero resolution between any two calls to `now`.
97 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
98 | var resolution = timespec()
99 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:137:51: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
134 | ///
135 | /// This function doesn't block the underlying thread.
136 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
137 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
138 | ) async throws {
139 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:146:45: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
146 | public func advanced(by duration: Swift.Duration) -> InternalUTCClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
147 | InternalUTCClock.Instant(_value: _value + duration)
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:150:71: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
148 | }
149 |
150 | public func duration(to other: InternalUTCClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
151 | other._value - _value
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:172:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
169 |
170 | @inlinable
171 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
172 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
173 | ) -> InternalUTCClock.Instant {
174 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:179:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
176 |
177 | @inlinable
178 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
179 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
180 | ) {
181 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:186:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:193:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:201:16: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
197 |
198 | @inlinable
199 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
200 | _ lhs: InternalUTCClock.Instant, _ rhs: InternalUTCClock.Instant
201 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
202 | rhs.duration(to: lhs)
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:188:32: error: '-' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
189 | }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:188:27: error: 'zero' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
189 | }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:195:38: error: '-' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: '-' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
196 | }
197 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:195:33: error: 'zero' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
| |- error: 'zero' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
196 | }
197 |
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/DateTime/BenchmarkClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/Duration+Convenience.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/EpochDateTime.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/FoundationExports.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift -target arm64-apple-ios15.0 -module-can-import-version Darwin 428.0.10 0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS27.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 SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/iphoneos27.0-24A430-e829b21a6f8c9b70876ba0858053c04440ceaa042ed91876912b2eeea4e3aa14.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-iphoneos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DateTime -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-ios27.0 -target-sdk-version 27.0 -target-sdk-name iphoneos27.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/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/package-datetime.build/Debug-iphoneos/DateTime-t.build/Objects-normal/arm64/DateTime.abi.json
SwiftCompile normal arm64 (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ InternalUTCClock.swift /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift (in target 'DateTime' from project 'package-datetime')
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:27:36: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
28 |
29 | internal init(_value: Swift.Duration) {
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:29:37: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
29 | internal init(_value: Swift.Duration) {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing initializer
30 | self._value = _value
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:81:18: error: 'Clock' is only available in iOS 16.0 or newer
79 | }
80 |
81 | public extension Clock where Self == InternalUTCClock {
| | `- error: 'Clock' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing extension
82 | /// A clock that measures time that always increments but does not stop
83 | /// incrementing while the system is asleep.
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:97:41: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
95 |
96 | /// The minimum non-zero resolution between any two calls to `now`.
97 | public var minimumResolution: Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing property
98 | var resolution = timespec()
99 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:137:51: error: 'Duration' is only available in iOS 16.0 or newer
88 | }
89 |
90 | extension InternalUTCClock: Clock {
| `- note: add '@available' attribute to enclosing extension
91 | /// The current continuous instant.
92 | public var now: InternalUTCClock.Instant {
:
134 | ///
135 | /// This function doesn't block the underlying thread.
136 | public func sleep(
| `- note: add '@available' attribute to enclosing instance method
137 | until deadline: Instant, tolerance: Swift.Duration? = nil
| `- error: 'Duration' is only available in iOS 16.0 or newer
138 | ) async throws {
139 | try await Task.sleep(until: deadline, tolerance: tolerance, clock: .internalUTC)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:146:45: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
146 | public func advanced(by duration: Swift.Duration) -> InternalUTCClock.Instant {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
147 | InternalUTCClock.Instant(_value: _value + duration)
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:150:71: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
148 | }
149 |
150 | public func duration(to other: InternalUTCClock.Instant) -> Swift.Duration {
| | `- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add '@available' attribute to enclosing instance method
151 | other._value - _value
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:172:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
169 |
170 | @inlinable
171 | public static func + (
| `- note: add '@available' attribute to enclosing operator function
172 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
173 | ) -> InternalUTCClock.Instant {
174 | lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:179:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
176 |
177 | @inlinable
178 | public static func += (
| `- note: add '@available' attribute to enclosing operator function
179 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
180 | ) {
181 | lhs = lhs.advanced(by: rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:186:55: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
183 |
184 | @inlinable
185 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
186 | _ lhs: InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
187 | ) -> InternalUTCClock.Instant {
188 | lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:193:61: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
190 |
191 | @inlinable
192 | public static func -= (
| `- note: add '@available' attribute to enclosing operator function
193 | _ lhs: inout InternalUTCClock.Instant, _ rhs: Swift.Duration
| `- error: 'Duration' is only available in iOS 16.0 or newer
194 | ) {
195 | lhs = lhs.advanced(by: .zero - rhs)
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:201:16: error: 'Duration' is only available in iOS 16.0 or newer
141 | }
142 |
143 | extension InternalUTCClock.Instant: InstantProtocol {
| `- note: add '@available' attribute to enclosing extension
144 | public static var now: InternalUTCClock.Instant { InternalUTCClock.now }
145 |
:
197 |
198 | @inlinable
199 | public static func - (
| `- note: add '@available' attribute to enclosing operator function
200 | _ lhs: InternalUTCClock.Instant, _ rhs: InternalUTCClock.Instant
201 | ) -> Swift.Duration {
| `- error: 'Duration' is only available in iOS 16.0 or newer
202 | rhs.duration(to: lhs)
203 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:34:28: error: 'Duration' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
31 | }
32 |
33 | public init(secondsComponent: Int64, attosecondsComponent: Int64) {
| `- note: add '@available' attribute to enclosing initializer
34 | _value = Swift.Duration(secondsComponent: secondsComponent, attosecondsComponent: attosecondsComponent)
| |- error: 'Duration' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:39:20: error: 'components' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
36 |
37 | @available(*, deprecated, renamed: "seconds")
38 | public func secondsSinceEpoch() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
39 | _value.components.seconds
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift:43:20: error: 'components' is only available in iOS 16.0 or newer
24 | public struct InternalUTCClock {
25 | /// A continuous point in time used for `InternalUTCClock`.
26 | public struct Instant: Codable, Sendable {
| `- note: add '@available' attribute to enclosing struct
27 | internal var _value: Swift.Duration
28 |
:
40 | }
41 |
42 | public func seconds() -> Int64 {
| `- note: add '@available' attribute to enclosing instance method
43 | _value.components.seconds
| |- error: 'components' is only available in iOS 16.0 or newer
| `- note: add 'if #available' version check
44 | }
45 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/DateTime/InternalUTCClock.swift (in target 'DateTime' from project 'package-datetime')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile InternalUTCClock.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-19 05:23:36.997 xcodebuild[705:4384] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ DateTime (in target 'DateTime' from project 'package-datetime')
SwiftCompile normal arm64 (in target 'DateTime' from project 'package-datetime')
Building workspace package-datetime with scheme package-datetime
(3 failures)
BUILD FAILURE 6.4 iOS