The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AgentKitten, reference main (e66e46), with Swift 6.1 for macOS (SPM) on 14 May 2026 20:37:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fbeeper/agentkitten.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fbeeper/agentkitten
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e66e46c Update badge styles in README.md
Cloned https://github.com/fbeeper/agentkitten.git
Revision (git rev-parse @):
e66e46c3041555d41f7689785b3880f7718448cf
SUCCESS checkout https://github.com/fbeeper/agentkitten.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/fbeeper/agentkitten.git
https://github.com/fbeeper/agentkitten.git
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "swiftlintplugins",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.62.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "601.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "AgentKitten",
  "name" : "AgentKitten",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AgentKitten",
      "targets" : [
        "AgentKitten"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AgentKittenCore",
      "targets" : [
        "AgentKittenCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AgentKittenInference",
      "targets" : [
        "AgentKittenInference"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Playground",
      "targets" : [
        "Playground"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AgentKittenMacros",
      "targets" : [
        "AgentKittenMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PlaygroundTests",
      "module_type" : "SwiftTarget",
      "name" : "PlaygroundTests",
      "path" : "Tests/PlaygroundTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "sources" : [
        "ChickenWizardTests.swift",
        "PlaygroundChatOutputFormatterTests.swift"
      ],
      "target_dependencies" : [
        "Playground"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Playground",
      "module_type" : "SwiftTarget",
      "name" : "Playground",
      "path" : "Sources/Playground",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "Playground"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Playground/Fixtures/rich-tool-demo.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Commands/Chat/Chat.swift",
        "Commands/Chat/MinimumResponseLengthValidator.swift",
        "Commands/Chicken/Chicken.swift",
        "Commands/Chicken/ChickenWizardGame.swift",
        "Commands/Chicken/ChickenWizardOutput.swift",
        "Commands/Classify/Classify.swift",
        "Commands/Generate/Generate.swift",
        "Commands/PII/PII.swift",
        "Commands/PlanMode/PlanMode.swift",
        "Commands/PlanMode/PlanModeExecutionPolicy.swift",
        "Commands/PlanMode/PlanModeState.swift",
        "Commands/PlanMode/ProposePlanTool.swift",
        "Commands/PlanMode/ReadScratchpadTool.swift",
        "Commands/PlanMode/ScratchpadStore.swift",
        "Commands/PlanMode/WriteScratchpadTool.swift",
        "Commands/Tools/FixtureImageTool.swift",
        "Commands/Tools/Tools.swift",
        "Shared/ConvertTemperatureTool.swift",
        "Shared/CurrentTimeTool.swift",
        "Shared/PlaygroundChatOutputFormatter.swift",
        "Shared/PlaygroundError.swift",
        "Shared/PlaygroundProviderConfiguration.swift",
        "Shared/PlaygroundSessionFactory.swift",
        "Shared/PlaygroundToolApprovalSupport.swift",
        "Shared/PlaygroundToolEventFormatter.swift",
        "Shared/PlaygroundTracePrinter.swift",
        "Shared/ProviderOption.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AgentKitten",
        "AgentKittenInference"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AgentKittenTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenTests",
      "path" : "Tests/AgentKittenTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "sources" : [
        "AgentKittenTests.swift"
      ],
      "target_dependencies" : [
        "AgentKitten"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenMacros",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenMacros",
      "path" : "Sources/AgentKittenMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "AgentKitten",
        "AgentKittenCore",
        "AgentKittenInference",
        "Playground",
        "AgentKittenMacros"
      ],
      "sources" : [
        "Macros.swift",
        "ParameterDescriptionMacro.swift",
        "Plugin.swift",
        "ToolMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "AgentKittenInferenceTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInferenceTests",
      "path" : "Tests/AgentKittenInferenceTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/AgentKittenInferenceTests/Resources/en.lproj/AgentKitten.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "AnthropicAgentApprovalTests.swift",
        "AnthropicContextCompactionTests.swift",
        "AnthropicHTTPClientTests.swift",
        "AnthropicModelKeyTests.swift",
        "AnthropicSessionConcurrencyTests.swift",
        "AnthropicSessionTests.swift",
        "AnthropicStructuredSessionTests.swift",
        "AnthropicToolExecutionPolicyTests.swift",
        "AnthropicToolSelectionTests.swift",
        "AppleContextCompactionTests.swift",
        "ApplePlatformSupportTests.swift",
        "CredentialProviderTests.swift",
        "TestSupport.swift",
        "ToolEventRelayTests.swift",
        "ToolRationaleInferenceTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenInference"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenInference",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInference",
      "path" : "Sources/AgentKittenInference",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "AgentKittenInference",
        "Playground"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenInference/Resources/en.lproj/AgentKitten.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "Anthropic/AnthropicHTTPClient.swift",
        "Anthropic/AnthropicInferenceProvider.swift",
        "Anthropic/AnthropicInferenceSession+Compaction.swift",
        "Anthropic/AnthropicInferenceSession.swift",
        "Anthropic/AnthropicMessageCompactionPlan.swift",
        "Anthropic/AnthropicModelConfiguration.swift",
        "Anthropic/AnthropicModels.swift",
        "Anthropic/AnthropicSSEParser.swift",
        "Anthropic/AnthropicStructuredInferenceSession.swift",
        "Anthropic/AnthropicToolBridge.swift",
        "Anthropic/InferenceProvider+Anthropic.swift",
        "Apple/AppleBridgedTool.swift",
        "Apple/AppleInferenceProvider.swift",
        "Apple/AppleInferenceSession+Compaction.swift",
        "Apple/AppleInferenceSession.swift",
        "Apple/AppleStructuredInferenceSession.swift",
        "Apple/AppleToolResultSupport.swift",
        "Apple/AppleTranscriptCompactionPlan.swift",
        "Apple/InferenceProvider+Apple.swift",
        "Apple/JSONSchemaBridge.swift",
        "Apple/ToolEventRelay.swift",
        "Credentials/APIKeyProviding.swift",
        "Credentials/EnvironmentAPIKeyProvider.swift",
        "Credentials/KeychainAPIKeyProvider.swift",
        "Credentials/MockAPIKeyProvider.swift",
        "Localization/AgentKittenInferenceLocalization.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenCoreTests",
      "path" : "Tests/AgentKittenCoreTests",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/AgentKittenCoreTests/Resources/en.lproj/AgentKitten.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "AgentKittenCoreTests.swift",
        "AgentKittenLocalizationTests.swift",
        "AgentMessageTests.swift",
        "AgentQueuedSessionTests.swift",
        "AgentSessionClearContextTests.swift",
        "AgentSessionConcurrencyTests.swift",
        "AgentSessionContextCompactionTests.swift",
        "AgentSessionContextConcurrencyTests.swift",
        "AgentSessionStructuredTests.swift",
        "AgentSessionTests.swift",
        "CompactionInferenceConfigurationTests.swift",
        "CompactionInferenceConfigurationTraceSupport.swift",
        "CompactionSummaryTrimmingTests.swift",
        "ContextCompactionFallbackTests.swift",
        "ContextCompactionRebuildSupport.swift",
        "ContextCompactorTests.swift",
        "ContextWindowExceededTests.swift",
        "ConvenienceInitTests.swift",
        "ConversationConcurrencyTests.swift",
        "ConversationProviderTests.swift",
        "ConversationStructuredTests.swift",
        "ConversationTests.swift",
        "EventMetadataTests.swift",
        "IdentityTests.swift",
        "InferenceContextTests.swift",
        "JudgeValidatorSystemPromptTests.swift",
        "JudgeValidatorTests.swift",
        "MockInferenceProviderTests.swift",
        "MockInferenceSessionConcurrencyTests.swift",
        "MockStructuredSessionTests.swift",
        "MockToolSelectionTests.swift",
        "ProviderRegistryTests.swift",
        "ScriptedInferenceSupport.swift",
        "SessionStateTests.swift",
        "SessionStateTurnAttributionTests.swift",
        "SingleFlightOperationGateTests.swift",
        "StructuredInferenceSessionTests.swift",
        "SystemNoteTests.swift",
        "TestSupport.swift",
        "ToolApprovalEventTests.swift",
        "ToolApprovalRuntimeTests.swift",
        "ToolExecutionPolicyTests.swift",
        "ToolRationaleTests.swift",
        "ToolSelectionTests.swift",
        "ToolTests.swift",
        "TraceCodableTests.swift",
        "TraceQueueTests.swift",
        "TraceRetentionPolicyTests.swift",
        "TraceTestSupport.swift",
        "TraceTests.swift",
        "TraceToolMessageTests.swift",
        "ValidationBehaviorTests.swift",
        "ValidationErrorHandlingTests.swift",
        "ValidationPolicyTests.swift",
        "ValidationTestSupport.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenCore",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenCore",
      "path" : "Sources/AgentKittenCore",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "AgentKitten",
        "AgentKittenCore",
        "AgentKittenInference",
        "Playground"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenCore/Resources/en.lproj/AgentKitten.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        }
      ],
      "sources" : [
        "Agent/Agent+ConvenienceInits.swift",
        "Agent/Agent.swift",
        "Agent/Behavior/AgentBehavior+ConvenienceInits.swift",
        "Agent/Behavior/AgentBehavior.swift",
        "Agent/Behavior/AgentPhase.swift",
        "Agent/Behavior/PhaseBehavior.swift",
        "Agent/Behavior/PhaseBehaviorSet.swift",
        "Agent/Compaction/AutomaticCompaction.swift",
        "Agent/Compaction/AutomaticCompactionOperation.swift",
        "Agent/Compaction/CompactionRequest.swift",
        "Agent/Compaction/ContextCompactableSession.swift",
        "Agent/Compaction/ContextCompacting.swift",
        "Agent/Compaction/ContextCompactionOptions.swift",
        "Agent/Compaction/ContextCompactionResult.swift",
        "Agent/Compaction/ContextCompactor.swift",
        "Agent/Compaction/RenderedSessionEntry.swift",
        "Agent/Conversation/ConversationAssembler.swift",
        "Agent/Conversation/ConversationEventConsumer.swift",
        "Agent/Conversation/ConversationEventMapper.swift",
        "Agent/Conversation/ConversationProvider.swift",
        "Agent/Event/AgentEvent+Kind.swift",
        "Agent/Event/AgentEvent+Metadata.swift",
        "Agent/Event/AgentEvent.swift",
        "Agent/Session/AgentSession+ClearContext.swift",
        "Agent/Session/AgentSession+ContextCompaction.swift",
        "Agent/Session/AgentSession+ContextUsage.swift",
        "Agent/Session/AgentSession+ConversationPreparation.swift",
        "Agent/Session/AgentSession+Record.swift",
        "Agent/Session/AgentSession.swift",
        "Agent/Session/AgentSessionError.swift",
        "Agent/Session/AgentSessionRuntime.swift",
        "Agent/Session/QueuedSession/AgentQueuedSession.swift",
        "Agent/Session/QueuedSession/AnyQueuedTurn.swift",
        "Agent/SessionState/SessionState.swift",
        "Agent/SessionState/SessionStateBuiltins.swift",
        "Agent/SessionState/SessionStateConfiguration.swift",
        "Agent/Trace/AgentTrace.swift",
        "Agent/Trace/AgentTraceEntry+ErrorInfo.swift",
        "Agent/Trace/AgentTraceEntry+ExecutionPreparation.swift",
        "Agent/Trace/AgentTraceEntry+Kind.swift",
        "Agent/Trace/AgentTraceEntry+StateMutation.swift",
        "Agent/Trace/AgentTraceEntry+ToolHookInvocation.swift",
        "Agent/Trace/AgentTraceEntry+TurnOutcome.swift",
        "Agent/Trace/AgentTraceEntry+Validation.swift",
        "Agent/Trace/AgentTraceEntry.swift",
        "Agent/Trace/TraceRetentionPolicy.swift",
        "Agent/Turn/Turn.swift",
        "Agent/Turn/TurnEventSink.swift",
        "Agent/Turn/TurnEventStream.swift",
        "Agent/Turn/TurnOverrides.swift",
        "Agent/Turn/TurnQueue.swift",
        "Agent/Turn/TurnRuntime.swift",
        "Agent/Turn/TurnTraceSink.swift",
        "Agent/Turn/TurnValidator.swift",
        "AgentKittenCore.swift",
        "Conversation/AnyConversation.swift",
        "Conversation/Conversation.swift",
        "Conversation/Event/ConversationEvent+Kind.swift",
        "Conversation/Event/ConversationEvent+Metadata.swift",
        "Conversation/Event/ConversationEvent.swift",
        "Conversation/InferenceDigester.swift",
        "Inference/AnyInferenceProvider.swift",
        "Inference/ContextUsage.swift",
        "Inference/InferenceConfiguration.swift",
        "Inference/InferenceContext.swift",
        "Inference/InferenceError.swift",
        "Inference/InferenceEvent.swift",
        "Inference/InferenceProvider.swift",
        "Inference/InferenceRequestParameters.swift",
        "Inference/InferenceSession.swift",
        "Inference/JSONSchemaProviding.swift",
        "Inference/ProviderReference.swift",
        "Inference/ProviderRegistry.swift",
        "Inference/SingleFlightOperationGate.swift",
        "Inference/StructuredInferenceSession.swift",
        "Inference/ToolSelection.swift",
        "InferenceProviders/Mock/MockInferenceProvider.swift",
        "InferenceProviders/Mock/MockInferenceSession.swift",
        "InferenceProviders/Mock/MockResponse.swift",
        "Localization/AgentKittenLocalization.swift",
        "Macros/Macros.swift",
        "Shared/AgentMessage.swift",
        "Shared/CustomContext.swift",
        "Shared/EffectiveExecutionConfiguration.swift",
        "Shared/ExecutionEnvironment.swift",
        "Shared/Identity.swift",
        "Shared/JSONSchema.swift",
        "Shared/ToolApproving.swift",
        "Tools/AgentTool.swift",
        "Tools/AnyAgentTool.swift",
        "Tools/AnyToolHook.swift",
        "Tools/ToolApprovalGate.swift",
        "Tools/ToolApprovalResolutionError.swift",
        "Tools/ToolBehavior.swift",
        "Tools/ToolCallOutcome.swift",
        "Tools/ToolCapabilities.swift",
        "Tools/ToolDefinition.swift",
        "Tools/ToolExecutionContext.swift",
        "Tools/ToolExecutionPolicy.swift",
        "Tools/ToolExecutor.swift",
        "Tools/ToolHook.swift",
        "Tools/ToolMessages.swift",
        "Tools/ToolRegistry.swift",
        "Tools/ToolResultContent.swift",
        "Tools/ToolRuntime.swift",
        "Tools/ToolSchema.swift",
        "Validation/AnyValidator.swift",
        "Validation/JudgeValidator.swift",
        "Validation/ValidationConfiguration.swift",
        "Validation/ValidationContext.swift",
        "Validation/ValidationResult.swift",
        "Validation/Validator.swift"
      ],
      "target_dependencies" : [
        "AgentKittenMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKitten",
      "module_type" : "SwiftTarget",
      "name" : "AgentKitten",
      "path" : "Sources/AgentKitten",
      "product_dependencies" : [
        "SwiftLintBuildToolPlugin"
      ],
      "product_memberships" : [
        "AgentKitten",
        "Playground"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AgentKitten/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AgentKitten.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetching https://github.com/apple/swift-argument-parser from cache
[1/326] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.79s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.86s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (5.05s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.63.2 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.53s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.63.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
[8259/72588246] Downloading https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip (3.69s)
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 macosSpm