The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-context-management, reference main (d87f52), with Swift 6.3 for tvOS using Xcode 26.4 on 18 Apr 2026 11:45:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-context-management -destination generic/platform=tvOS

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Silo-Labs/swift-context-management.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Silo-Labs/swift-context-management
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d87f525 feat(ContextualSession): add streaming support with automatic context reduction
Cloned https://github.com/Silo-Labs/swift-context-management.git
Revision (git rev-parse @):
d87f52559f4b535717ef5a0d08fc9c0ba4312d46
SUCCESS checkout https://github.com/Silo-Labs/swift-context-management.git at main
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Silo-Labs/swift-context-management.git
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  swift-context-management: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-context-management
2026-04-18 07:44:53.578 xcodebuild[525:3029] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:44:53.677 xcodebuild[525:3029] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:44:54.000 xcodebuild[525:3029] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-context-management",
  "name" : "swift-context-management",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftContextManagement",
      "targets" : [
        "SwiftContextManagement"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftContextManagementTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftContextManagementTests",
      "path" : "Tests/SwiftContextManagementTests",
      "sources" : [
        "ContextualSessionTests.swift",
        "FoundationModelsSummarizerTests.swift",
        "FoundationModelsTopicDetectorTests.swift",
        "Helpers/Helpers.swift",
        "Helpers/StateExtractionTestHelpers.swift",
        "Helpers/SummarizationTestHelpers.swift",
        "ReducersTests/HeadTailWindowReducerTests.swift",
        "ReducersTests/HierarchicalSummaryReducerTests.swift",
        "ReducersTests/RollingSummaryReducerTests.swift",
        "ReducersTests/SlidingWindowReducerTests.swift",
        "ReducersTests/StructuredStateReducerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftContextManagement"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftContextManagement",
      "module_type" : "SwiftTarget",
      "name" : "SwiftContextManagement",
      "path" : "Sources/SwiftContextManagement",
      "product_memberships" : [
        "SwiftContextManagement"
      ],
      "sources" : [
        "ContextReducers/ContextReducer.swift",
        "ContextReducers/HeadTailWindowReducer.swift",
        "ContextReducers/HierarchicalSummaryReducer.swift",
        "ContextReducers/NoOpReducer.swift",
        "ContextReducers/RollingSummaryReducer.swift",
        "ContextReducers/SlidingWindowReducer.swift",
        "ContextReducers/StructuredStateReducer.swift",
        "ContextReductionEngine.swift",
        "ContextReductionLogLevel.swift",
        "ContextReductionObserver.swift",
        "ContextReductionPolicy.swift",
        "ContextualSession.swift",
        "Helpers/Constants.swift",
        "Helpers/ContextReductionLogger.swift",
        "Helpers/ConversationChunker.swift",
        "Helpers/Extensions/Locale+Extensions.swift",
        "Helpers/Extensions/Transcript+Extensions.swift",
        "Helpers/TranscriptHelpers.swift",
        "ReductionInfo.swift",
        "StateExtraction/CustomStateExtractor.swift",
        "StateExtraction/FoundationModelsStateExtractor.swift",
        "StateExtraction/Models/StructuredState.swift",
        "StateExtraction/Models/StructuredStateConfiguration.swift",
        "StateExtraction/StateExtractor.swift",
        "Summarization/CustomLLMSummarizer.swift",
        "Summarization/FoundationModelsSummarizer.swift",
        "Summarization/Models/HierarchicalSummaryConfiguration.swift",
        "Summarization/Models/RollingSummaryConfiguration.swift",
        "Summarization/Models/SummaryGranularity.swift",
        "Summarization/Summarizer.swift",
        "TopicDetection/FoundationModelsTopicDetector.swift",
        "TopicDetection/Models/TopicDetectionResult.swift",
        "TopicDetection/TopicDetector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
{
  "workspace" : {
    "name" : "SwiftContextManagement",
    "schemes" : [
      "ContextChatTester",
      "ContextChatTesteriOS",
      "SwiftContextManagement",
      "SwiftContextManagementTests"
    ]
  }
}
2026-04-18 07:45:12.616 xcodebuild[622:3748] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:12.719 xcodebuild[622:3748] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swift-context-management",
      "SwiftContextManagement",
      "SwiftContextManagementTests"
    ]
  }
}
2026-04-18 07:45:14.171 xcodebuild[627:3808] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:14.270 xcodebuild[627:3808] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-context-management -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-26.4.0.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 swift-context-management -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  swift-context-management: /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 'SwiftContextManagement' in project 'swift-context-management'
        ➜ Explicit dependency on target 'SwiftContextManagement' in project 'swift-context-management'
    Target 'SwiftContextManagement' in project 'swift-context-management' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 4b38ff24a84ff3c3932314328e011c00
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/4b38ff24a84ff3c3932314328e011c00.xcbuilddata
ClangStatCache /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/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/EagerLinkingTBDs/Debug-appletvos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.DependencyStaticMetadataFileList (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.modulemap (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.DependencyMetadataFileList (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.LinkFileList (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-OutputFileMap.json (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftConstValuesFileList (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftFileList (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement_const_extract_protocols.json (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement_const_extract_protocols.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/SwiftContextManagement.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.modulemap (in target 'SwiftContextManagement' from project 'swift-context-management')
    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/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/SwiftContextManagement.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
SwiftDriver SwiftContextManagement normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftContextManagement -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -target arm64-apple-tvos26.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-OutputFileMap.json -use-frontend-parseable-output -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/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.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/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: error: Unable to resolve module dependency: 'FoundationModels'
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: note: A dependency of main module 'SwiftContextManagement'
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/NoOpReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ContextReductionLogger.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ConversationChunker.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/TranscriptHelpers.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
2026-04-18 07:45:15.042 xcodebuild[630:3840] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:15.142 xcodebuild[630:3840] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: error: unable to resolve module dependency: 'FoundationModels'
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: note: a dependency of main module 'SwiftContextManagement'
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/NoOpReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ContextReductionLogger.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ConversationChunker.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/TranscriptHelpers.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift:1:8: note: also imported here
import FoundationModels
       ^
** BUILD FAILED **
The following build commands failed:
	SwiftDriver SwiftContextManagement normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftContextManagement' from project 'swift-context-management')
	Building workspace spi-builder-workspace with scheme swift-context-management
(2 failures)
Command line invocation:
    /Applications/Xcode-26.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  swift-context-management: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-context-management
2026-04-18 07:45:19.367 xcodebuild[649:4016] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:19.482 xcodebuild[649:4016] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-context-management",
  "name" : "swift-context-management",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "macos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftContextManagement",
      "targets" : [
        "SwiftContextManagement"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftContextManagementTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftContextManagementTests",
      "path" : "Tests/SwiftContextManagementTests",
      "sources" : [
        "ContextualSessionTests.swift",
        "FoundationModelsSummarizerTests.swift",
        "FoundationModelsTopicDetectorTests.swift",
        "Helpers/Helpers.swift",
        "Helpers/StateExtractionTestHelpers.swift",
        "Helpers/SummarizationTestHelpers.swift",
        "ReducersTests/HeadTailWindowReducerTests.swift",
        "ReducersTests/HierarchicalSummaryReducerTests.swift",
        "ReducersTests/RollingSummaryReducerTests.swift",
        "ReducersTests/SlidingWindowReducerTests.swift",
        "ReducersTests/StructuredStateReducerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftContextManagement"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftContextManagement",
      "module_type" : "SwiftTarget",
      "name" : "SwiftContextManagement",
      "path" : "Sources/SwiftContextManagement",
      "product_memberships" : [
        "SwiftContextManagement"
      ],
      "sources" : [
        "ContextReducers/ContextReducer.swift",
        "ContextReducers/HeadTailWindowReducer.swift",
        "ContextReducers/HierarchicalSummaryReducer.swift",
        "ContextReducers/NoOpReducer.swift",
        "ContextReducers/RollingSummaryReducer.swift",
        "ContextReducers/SlidingWindowReducer.swift",
        "ContextReducers/StructuredStateReducer.swift",
        "ContextReductionEngine.swift",
        "ContextReductionLogLevel.swift",
        "ContextReductionObserver.swift",
        "ContextReductionPolicy.swift",
        "ContextualSession.swift",
        "Helpers/Constants.swift",
        "Helpers/ContextReductionLogger.swift",
        "Helpers/ConversationChunker.swift",
        "Helpers/Extensions/Locale+Extensions.swift",
        "Helpers/Extensions/Transcript+Extensions.swift",
        "Helpers/TranscriptHelpers.swift",
        "ReductionInfo.swift",
        "StateExtraction/CustomStateExtractor.swift",
        "StateExtraction/FoundationModelsStateExtractor.swift",
        "StateExtraction/Models/StructuredState.swift",
        "StateExtraction/Models/StructuredStateConfiguration.swift",
        "StateExtraction/StateExtractor.swift",
        "Summarization/CustomLLMSummarizer.swift",
        "Summarization/FoundationModelsSummarizer.swift",
        "Summarization/Models/HierarchicalSummaryConfiguration.swift",
        "Summarization/Models/RollingSummaryConfiguration.swift",
        "Summarization/Models/SummaryGranularity.swift",
        "Summarization/Summarizer.swift",
        "TopicDetection/FoundationModelsTopicDetector.swift",
        "TopicDetection/Models/TopicDetectionResult.swift",
        "TopicDetection/TopicDetector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swift-context-management",
      "SwiftContextManagement",
      "SwiftContextManagementTests"
    ]
  }
}
2026-04-18 07:45:20.834 xcodebuild[659:4101] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swift-context-management",
      "SwiftContextManagement",
      "SwiftContextManagementTests"
    ]
  }
}
2026-04-18 07:45:21.815 xcodebuild[663:4140] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:21.918 xcodebuild[663:4140] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-context-management -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-26.4.0.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 swift-context-management -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  swift-context-management: /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 'SwiftContextManagement' in project 'swift-context-management'
        ➜ Explicit dependency on target 'SwiftContextManagement' in project 'swift-context-management'
    Target 'SwiftContextManagement' in project 'swift-context-management' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache
SwiftDriver SwiftContextManagement normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftContextManagement' from project 'swift-context-management')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftContextManagement -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk -target arm64-apple-tvos26.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 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS26.4.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos26.4-23L236-688ef53f1462e2c8f657fdc38a81448fe9417fc108aa677fd4261ecaa021a5e7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-OutputFileMap.json -use-frontend-parseable-output -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/ModuleCache.noindex -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-context-management.build/Debug-appletvos/SwiftContextManagement.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/swift-context-management.build/Debug-appletvos/SwiftContextManagement.build/Objects-normal/arm64/SwiftContextManagement-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: error: Unable to resolve module dependency: 'FoundationModels'
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: note: A dependency of main module 'SwiftContextManagement'
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/NoOpReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ContextReductionLogger.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ConversationChunker.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/TranscriptHelpers.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift:2:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift:1:8: note: Also imported here
import FoundationModels
       ^ (in target 'SwiftContextManagement' from project 'swift-context-management')
2026-04-18 07:45:22.861 xcodebuild[666:4174] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-04-18 07:45:22.961 xcodebuild[666:4174] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: error: unable to resolve module dependency: 'FoundationModels'
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/ContextReducer.swift:1:8: note: a dependency of main module 'SwiftContextManagement'
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HeadTailWindowReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/HierarchicalSummaryReducer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/NoOpReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/RollingSummaryReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/SlidingWindowReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReducers/StructuredStateReducer.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionEngine.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextReductionObserver.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ContextualSession.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ContextReductionLogger.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/ConversationChunker.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/Extensions/Transcript+Extensions.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Helpers/TranscriptHelpers.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/ReductionInfo.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/CustomStateExtractor.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/FoundationModelsStateExtractor.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/Models/StructuredState.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/StateExtraction/StateExtractor.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/CustomLLMSummarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/FoundationModelsSummarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Models/RollingSummaryConfiguration.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/Summarization/Summarizer.swift:2:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/FoundationModelsTopicDetector.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/Models/TopicDetectionResult.swift:1:8: note: also imported here
import FoundationModels
       ^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftContextManagement/TopicDetection/TopicDetector.swift:1:8: note: also imported here
import FoundationModels
       ^
** BUILD FAILED **
The following build commands failed:
	SwiftDriver SwiftContextManagement normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftContextManagement' from project 'swift-context-management')
	Building workspace spi-builder-workspace with scheme swift-context-management
(2 failures)
BUILD FAILURE 6.3 tvOS