Build Information
Failed to build SwiftAgent, reference 2.0.1 (87e379), with Swift 6.4 for Linux on 26 Sep 2026 22:02:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/SwiftAgent.git
Reference: 2.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/1amageek/SwiftAgent
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 87e379d Pin Swift 6.4 toolchain in CI
Cloned https://github.com/1amageek/SwiftAgent.git
Revision (git rev-parse @):
87e379d795b67b3e84ae85b3074e687d0736ed00
SUCCESS checkout https://github.com/1amageek/SwiftAgent.git at 2.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/1amageek/SwiftAgent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/1amageek/swift-skills.git
Fetching https://github.com/1amageek/swift-peer-connectivity.git
Fetching https://github.com/1amageek/swift-actor-runtime.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
[1/88] Fetching swift-skills
[89/2433] Fetching swift-skills, swift-docc-plugin
[324/2683] Fetching swift-skills, swift-docc-plugin, swift-actor-runtime
[517/2939] Fetching swift-skills, swift-docc-plugin, swift-actor-runtime, swift-peer-connectivity
Fetched https://github.com/1amageek/swift-actor-runtime.git (0.57s)
[1916/2689] Fetching swift-skills, swift-docc-plugin, swift-peer-connectivity
[2245/21635] Fetching swift-skills, swift-docc-plugin, swift-peer-connectivity, swift-argument-parser
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/swiftlang/swift-docc-plugin.git (0.61s)
Fetching https://github.com/apple/swift-metrics.git
[1102/19290] Fetching swift-skills, swift-peer-connectivity, swift-argument-parser
[4893/23221] Fetching swift-skills, swift-peer-connectivity, swift-argument-parser, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (0.77s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/1amageek/swift-skills.git (0.86s)
Fetched https://github.com/1amageek/swift-peer-connectivity.git (0.86s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-argument-parser.git (0.86s)
[1/3523] Fetching swift-metrics
Fetched https://github.com/apple/swift-metrics.git (0.51s)
[1/6362] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git (0.56s)
[1/86168] Fetching swift-nio
[56872/166237] Fetching swift-nio, swift-syntax
Fetched https://github.com/apple/swift-nio.git (4.30s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.22s)
Computing version for https://github.com/1amageek/swift-skills.git
Computed https://github.com/1amageek/swift-skills.git at 0.2.1 (5.16s)
Fetching https://github.com/1amageek/swift-yaml.git
[1/122] Fetching swift-yaml
Fetched https://github.com/1amageek/swift-yaml.git (0.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.69s)
Computing version for https://github.com/1amageek/swift-peer-connectivity.git
Computed https://github.com/1amageek/swift-peer-connectivity.git at 0.3.0 (0.21s)
Fetching https://github.com/1amageek/swift-libp2p.git
Fetching https://github.com/apple/swift-log.git
[1/8165] Fetching swift-log
[8166/14276] Fetching swift-log, swift-libp2p
Fetched https://github.com/apple/swift-log.git (1.10s)
Fetched https://github.com/1amageek/swift-libp2p.git (1.11s)
Computing version for https://github.com/1amageek/swift-libp2p.git
Computed https://github.com/1amageek/swift-libp2p.git at 0.5.0 (1.67s)
Fetching https://github.com/1amageek/swift-nio-udp.git
Fetching https://github.com/1amageek/swift-webrtc.git
Fetching https://github.com/1amageek/swift-tls.git
Fetching https://github.com/1amageek/swift-SWIM.git
Fetching https://github.com/1amageek/swift-quic.git
[1/125] Fetching swift-nio-udp
Fetching https://github.com/1amageek/swift-mDNS.git
Fetched https://github.com/1amageek/swift-nio-udp.git (0.48s)
Fetching https://github.com/1amageek/swift-ssl.git
[1/412] Fetching swift-swim
[323/2394] Fetching swift-swim, swift-quic
[324/3412] Fetching swift-swim, swift-quic, swift-webrtc
Fetched https://github.com/1amageek/swift-SWIM.git (0.59s)
Fetched https://github.com/1amageek/swift-quic.git (0.59s)
Fetching https://github.com/1amageek/swift-crypto.git
Fetching https://github.com/1amageek/swift-networking.git
[1/1367] Fetching swift-tls
[1013/1715] Fetching swift-tls, swift-mdns
Fetched https://github.com/1amageek/swift-mDNS.git (0.54s)
[1/3439] Fetching swift-ssl
Fetched https://github.com/1amageek/swift-webrtc.git (1.04s)
Fetched https://github.com/1amageek/swift-tls.git (1.04s)
[1240/15848] Fetching swift-ssl, swift-crypto
[1275/15948] Fetching swift-ssl, swift-crypto, swift-networking
Fetched https://github.com/1amageek/swift-networking.git (0.50s)
[2498/15848] Fetching swift-ssl, swift-crypto
Fetched https://github.com/1amageek/swift-ssl.git (0.67s)
[869/12409] Fetching swift-crypto
Fetched https://github.com/1amageek/swift-crypto.git (1.15s)
Computing version for https://github.com/1amageek/swift-webrtc.git
Computed https://github.com/1amageek/swift-webrtc.git at 3.0.0 (2.01s)
Computing version for https://github.com/1amageek/swift-quic.git
Computed https://github.com/1amageek/swift-quic.git at 2.0.2 (0.22s)
Computing version for https://github.com/1amageek/swift-nio-udp.git
Computed https://github.com/1amageek/swift-nio-udp.git at 1.1.5 (0.19s)
Computing version for https://github.com/1amageek/swift-SWIM.git
Computed https://github.com/1amageek/swift-SWIM.git at 2.0.0 (0.20s)
Computing version for https://github.com/1amageek/swift-mDNS.git
Computed https://github.com/1amageek/swift-mDNS.git at 2.0.0 (0.21s)
Computing version for https://github.com/1amageek/swift-crypto.git
Computed https://github.com/1amageek/swift-crypto.git at 4.5.4 (1.13s)
Computing version for https://github.com/1amageek/swift-networking.git
Computed https://github.com/1amageek/swift-networking.git at 0.1.0 (0.17s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.16s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
[304/7286] Fetching eventsource, swift-system
Fetched https://github.com/mattt/eventsource.git (0.61s)
Fetched https://github.com/apple/swift-system.git (0.61s)
Computing version for https://github.com/1amageek/swift-yaml.git
Computed https://github.com/1amageek/swift-yaml.git at 1.0.1 (0.76s)
Computing version for https://github.com/1amageek/swift-tls.git
Computed https://github.com/1amageek/swift-tls.git at 2.1.0 (0.21s)
Computing version for https://github.com/1amageek/swift-ssl.git
Computed https://github.com/1amageek/swift-ssl.git at 0.4.0 (0.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.81s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.19s)
Fetching https://github.com/apple/swift-service-context.git
[1/1386] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.47s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.65s)
Computing version for https://github.com/1amageek/swift-actor-runtime.git
Computed https://github.com/1amageek/swift-actor-runtime.git at 0.6.1 (0.14s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1885] Fetching swift-atomics
[1886/29664] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.28s)
Fetched https://github.com/apple/swift-collections.git (1.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.18s)
Creating working copy for https://github.com/1amageek/swift-networking.git
Working copy of https://github.com/1amageek/swift-networking.git resolved at 0.1.0
Creating working copy for https://github.com/1amageek/swift-ssl.git
Working copy of https://github.com/1amageek/swift-ssl.git resolved at 0.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/1amageek/swift-nio-udp.git
Working copy of https://github.com/1amageek/swift-nio-udp.git resolved at 1.1.5
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/1amageek/swift-webrtc.git
Working copy of https://github.com/1amageek/swift-webrtc.git resolved at 3.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/1amageek/swift-SWIM.git
Working copy of https://github.com/1amageek/swift-SWIM.git resolved at 2.0.0
Creating working copy for https://github.com/1amageek/swift-quic.git
Working copy of https://github.com/1amageek/swift-quic.git resolved at 2.0.2
Creating working copy for https://github.com/1amageek/swift-crypto.git
Working copy of https://github.com/1amageek/swift-crypto.git resolved at 4.5.4
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/1amageek/swift-mDNS.git
Working copy of https://github.com/1amageek/swift-mDNS.git resolved at 2.0.0
Creating working copy for https://github.com/1amageek/swift-actor-runtime.git
Working copy of https://github.com/1amageek/swift-actor-runtime.git resolved at 0.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/1amageek/swift-tls.git
Working copy of https://github.com/1amageek/swift-tls.git resolved at 2.1.0
Creating working copy for https://github.com/1amageek/swift-libp2p.git
Working copy of https://github.com/1amageek/swift-libp2p.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/1amageek/swift-skills.git
Working copy of https://github.com/1amageek/swift-skills.git resolved at 0.2.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/1amageek/swift-yaml.git
Working copy of https://github.com/1amageek/swift-yaml.git resolved at 1.0.1
Creating working copy for https://github.com/1amageek/swift-peer-connectivity.git
Working copy of https://github.com/1amageek/swift-peer-connectivity.git resolved at 0.3.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1804]
[Planning 819 / 1804]
[Planning 1519 / 1804]
[Planning deferred tasks]
[Constructing 475 / 3827]
[Starting]
[102 / 647] SwiftSkill
[289 / 647]
[326 / 674] _SwiftSyntaxCShims
[344 / 694] SwiftSyntax601
[357 / 694] SwiftSyntax509
[363 / 694] ServiceContextModule
[373 / 694] YAML
[373 / 694] _NIODataStructures
[385 / 694] YAML
[389 / 695] SystemPackage
[396 / 695] _NIOBase64
[396 / 695] YAML-product
[400 / 695] SystemPackage-product
[401 / 695] SystemPackage-product
[402 / 695] SystemPackage-product
[404 / 695] SwiftSyntax602
[406 / 696] _NIODataStructures
[408 / 697] _NIODataStructures
[410 / 697] SwiftSyntax601
[415 / 699] SwiftSyntax601
[419 / 700] SwiftSyntax510
[424 / 701] _NIODataStructures
[427 / 701] SwiftSyntax601
[432 / 703]
[439 / 717] NIOConcurrencyHelpers
[443 / 756] Logging
[443 / 757] SystemPackage
[445 / 757] CoreMetrics
[446 / 757] Logging
[453 / 757] NIOConcurrencyHelpers
[461 / 757] SwiftSyntax
[461 / 757] CoreMetrics
[463 / 757] CoreMetrics
[466 / 757] InternalCollectionsUtilities
[480 / 757] SwiftSyntax
[482 / 757] SwiftSkill
[485 / 758] SwiftSkill
[489 / 758] SwiftSkill
[490 / 758] SwiftSkill
[491 / 758] SwiftSkill
[492 / 758] NIOConcurrencyHelpers
[492 / 758] SwiftSkill
[495 / 758] NIOConcurrencyHelpers
[496 / 758] NIOConcurrencyHelpers
[497 / 758] SwiftSkill
[499 / 759] SwiftSkill
[502 / 759] Logging
[504 / 760] Logging-product
[505 / 760] Logging
[508 / 760] MCP
[510 / 760] InternalCollectionsUtilities
[511 / 760] InternalCollectionsUtilities
[512 / 760] InternalCollectionsUtilities
[514 / 761] InternalCollectionsUtilities
[516 / 761] SpanPreview
[519 / 761] InternalCollectionsUtilities
[520 / 761] CoreMetrics
[521 / 761] CoreMetrics
[522 / 761] Metrics
[523 / 761] CoreMetrics
[528 / 766] SpanPreview
[534 / 766] SpanPreview
[540 / 774] CSystem
[549 / 774] Logging
[554 / 775] Tracing
[560 / 776] CoreMetrics
[565 / 790] Metrics
[567 / 790] Metrics
[569 / 791] Metrics
[574 / 791] Metrics-product
[581 / 791] MCP
[583 / 791] SwiftSyntax
[585 / 791] SwiftSyntax
[589 / 791] MCP
[590 / 791] SwiftSyntax-product
[596 / 793] CoreMetrics
[600 / 810] CNIOOpenBSD
[608 / 810] CNIOLinux
[613 / 810] Atomics
[614 / 810] Atomics
[615 / 810] Atomics
[616 / 810] Atomics
[617 / 810] Atomics
[619 / 810] Atomics
[622 / 810] Atomics
[626 / 810] Atomics
[628 / 810] Atomics-product
[631 / 810]
[634 / 820] CNIODarwin
[636 / 822] Tracing
[645 / 823] Tracing
[647 / 823] Tracing
[650 / 823] Tracing
[659 / 825]
[665 / 853] CNIOAtomics
[673 / 853] Tracing
[675 / 854] Tracing
[677 / 854] Tracing
[679 / 854] SwiftParser
[680 / 854] SwiftParser
[682 / 854] SwiftParser
[686 / 854] SwiftParser
[688 / 854] SwiftOperators
[689 / 854] SwiftOperators
[691 / 854] SwiftDiagnostics
[694 / 854] DequeModule
[696 / 854] DequeModule
[697 / 855] SwiftDiagnostics
[704 / 855] DequeModule
[706 / 855] NIOCore
[708 / 855] CoreMetrics
[711 / 863] SwiftBasicFormat
[713 / 863] SwiftBasicFormat
[715 / 863] SwiftBasicFormat
[721 / 863] SwiftParserDiagnostics
[724 / 873] SwiftOperators
[725 / 873] SwiftOperators
[727 / 874] SwiftOperators
[736 / 875] SwiftOperators
[744 / 885] SwiftParserDiagnostics
[745 / 885] SwiftParserDiagnostics
[748 / 886] SwiftParserDiagnostics
[748 / 886] DequeModule
[756 / 887] SwiftSyntaxBuilder
[761 / 888] NIOCore
[765 / 898] SwiftSyntaxBuilder
[767 / 907] Tracing
[768 / 907] Tracing
[769 / 907] SwiftParserDiagnostics
[772 / 908] SwiftSyntaxBuilder
[774 / 908] SwiftSyntaxBuilder
[779 / 908] SwiftSyntaxBuilder
[780 / 908] NIOCore
[781 / 908] SwiftSyntaxBuilder
[785 / 908] NIOCore
[786 / 908] SwiftSyntaxBuilder
[788 / 909] SwiftSyntaxBuilder
[790 / 909] SwiftSyntaxBuilder
[791 / 909] Metrics
[793 / 909] MCP
[796 / 919] SwiftSyntaxMacros
[798 / 919] SwiftSyntaxMacros
[802 / 919] SwiftSyntaxMacros
[807 / 919] SwiftSyntaxMacros-product
[809 / 919] ActorRuntime-product
[812 / 929] SwiftSyntaxMacroExpansion
[813 / 930] SwiftSyntaxMacros
[814 / 930] SwiftSyntaxMacros
[818 / 930] SwiftSyntaxMacroExpansion
[823 / 930] SwiftSyntaxMacroExpansion
[825 / 930] SwiftSyntaxMacroExpansion
[826 / 930] SwiftCompilerPluginMessageHandling
[832 / 940] SwiftCompilerPluginMessageHandling
[834 / 940] NIOCore
[840 / 940] SwiftCompilerPluginMessageHandling
[841 / 941] SwiftSyntaxMacroExpansion
[849 / 941] SwiftCompilerPlugin
[852 / 944] SwiftCompilerPlugin
[853 / 944] SwiftCompilerPlugin
[863 / 953] PeerConnectivity
[867 / 953]
[872 / 953] PeerConnectivity
[874 / 954] NIOCore
[878 / 956] NIOCore
[880 / 956] SwiftSyntax
[883 / 957] SwiftSyntax
[890 / 957] SwiftSyntaxMacros
[898 / 958] SwiftAgentMacros
[901 / 960] SwiftAgentMacros
[905 / 961] SwiftAgentMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPriority.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentTaskPriority.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRelation.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentTaskRelation.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskResult.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentTaskResult.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRunEvent.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentTaskRunEvent.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskStarted.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentTaskStarted.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentToolScope.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentToolScope.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowAccess.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowAccess.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowExecutor.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowExecutor.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowExecutorError.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowExecutorError.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowPlan.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowPlan.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowPolicy.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowPolicy.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowResult.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowResult.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStatus.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowStatus.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStep.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowStep.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStepError.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile AgentWorkflowStepError.swift
/host/spi-builder-workspace/Sources/SwiftAgent/SwiftAgent.swift:13:19: [1;31merror: [1;39mno such module 'FoundationModels'[0;0m
[0;36m11 |[0;0m public typealias Tool = OpenFoundationModels.Tool
[0;36m12 |[0;0m #else
[0;36m13 |[0;0m @_exported import FoundationModels
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'FoundationModels'[0;0m
[0;36m14 |[0;0m public typealias Tool = FoundationModels.Tool
[0;36m15 |[0;0m #endif
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftAgent/Agent.swift /host/spi-builder-workspace/Sources/SwiftAgent/AgentError.swift /host/spi-builder-workspace/Sources/SwiftAgent/AgentResponse.swift /host/spi-builder-workspace/Sources/SwiftAgent/AnyStep.swift /host/spi-builder-workspace/Sources/SwiftAgent/Checkpoint/CheckpointManager.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/CompactionStrategies.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/CompactionStrategy.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/ContextConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/ContextManager.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/ContextUsage.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/Contextable.swift /host/spi-builder-workspace/Sources/SwiftAgent/Context/ContextableMacro.swift /host/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift /host/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/MapErrorStep.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/RetryStep.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/Step+ErrorHandling.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/StepTimeoutError.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/TimedStep.swift /host/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/Try.swift /host/spi-builder-workspace/Sources/SwiftAgent/Event.swift /host/spi-builder-workspace/Sources/SwiftAgent/Gate.swift /host/spi-builder-workspace/Sources/SwiftAgent/Generate.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardedStep.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/Guardrail.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailBuilder.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailContext.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailRule.swift /host/spi-builder-workspace/Sources/SwiftAgent/Guardrail/Step+Guardrail.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSession.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSessionContext.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/AgentTransport.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/AgentTurnExecutor.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/AgentTurnExecutorError.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/ApprovalBridgeHandler.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/ApprovalHandler.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/EventSink.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/PermissionHandlerContext.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/RunEvent.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/RunRequest.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/RunResult.swift /host/spi-builder-workspace/Sources/SwiftAgent/IO/TurnCancellationToken.swift /host/spi-builder-workspace/Sources/SwiftAgent/Join.swift /host/spi-builder-workspace/Sources/SwiftAgent/Loop.swift /host/spi-builder-workspace/Sources/SwiftAgent/Map.swift /host/spi-builder-workspace/Sources/SwiftAgent/Memory.swift /host/spi-builder-workspace/Sources/SwiftAgent/Middleware/BasicMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Middleware/EventEmittingMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Middleware/ToolContextMetadataProvider.swift /host/spi-builder-workspace/Sources/SwiftAgent/Middleware/ToolMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Middleware/ToolPipeline.swift /host/spi-builder-workspace/Sources/SwiftAgent/Monitor.swift /host/spi-builder-workspace/Sources/SwiftAgent/Parallel.swift /host/spi-builder-workspace/Sources/SwiftAgent/Perception.swift /host/spi-builder-workspace/Sources/SwiftAgent/Pipeline.swift /host/spi-builder-workspace/Sources/SwiftAgent/Presence.swift /host/spi-builder-workspace/Sources/SwiftAgent/PromptTemplates.swift /host/spi-builder-workspace/Sources/SwiftAgent/Race.swift /host/spi-builder-workspace/Sources/SwiftAgent/Reduce.swift /host/spi-builder-workspace/Sources/SwiftAgent/Runtime/ToolExecutor.swift /host/spi-builder-workspace/Sources/SwiftAgent/Runtime/ToolRuntime.swift /host/spi-builder-workspace/Sources/SwiftAgent/Runtime/ToolRuntimeConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/PermissionConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/PermissionHandler.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/PermissionMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/PermissionMode.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/PermissionRule.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/SandboxContext.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/SandboxExecutor.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/SandboxMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/SecurityConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/ToolAuthorizationDecision.swift /host/spi-builder-workspace/Sources/SwiftAgent/Security/ToolAuthorizationMetadata.swift /host/spi-builder-workspace/Sources/SwiftAgent/Session.swift /host/spi-builder-workspace/Sources/SwiftAgent/SessionStore.swift /host/spi-builder-workspace/Sources/SwiftAgent/Step.swift /host/spi-builder-workspace/Sources/SwiftAgent/StepModifier.swift /host/spi-builder-workspace/Sources/SwiftAgent/SwiftAgent.swift /host/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentSpanAttributes.swift /host/spi-builder-workspace/Sources/SwiftAgent/SystemInfo.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentAssignee.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunner.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerConfiguration.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerError.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskCompleted.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEnvelope.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEvent.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPolicy.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPriority.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRelation.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskResult.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRunEvent.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskStarted.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentToolScope.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowAccess.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowExecutor.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowExecutorError.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowPlan.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowPolicy.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowResult.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStatus.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStep.swift -primary-file /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStepError.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStepResult.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentWorkflowStepRole.swift /host/spi-builder-workspace/Sources/SwiftAgent/Telemetry/MetricsEmittingMiddleware.swift /host/spi-builder-workspace/Sources/SwiftAgent/Telemetry/SwiftAgentMetrics.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tool+Step.swift /host/spi-builder-workspace/Sources/SwiftAgent/ToolSearchTool.swift /host/spi-builder-workspace/Sources/SwiftAgent/ToolsBuilder.swift /host/spi-builder-workspace/Sources/SwiftAgent/Tracing.swift /host/spi-builder-workspace/Sources/SwiftAgent/TranscriptExtensions.swift /host/spi-builder-workspace/Sources/SwiftAgent/Transform.swift /host/spi-builder-workspace/Sources/SwiftAgent/Transport/HTTPSSETransport.swift /host/spi-builder-workspace/Sources/SwiftAgent/Transport/StdioTransport.swift /host/spi-builder-workspace/Sources/SwiftAgent/Transport/WebSocketTransport.swift /host/spi-builder-workspace/Sources/SwiftAgent/WaitForInput.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/supplementaryOutputs-68 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/SwiftAgentMacros\#SwiftAgentMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/SwiftAgent_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskPriority.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskRelation.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskResult.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskRunEvent.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskStarted.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentToolScope.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowAccess.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowExecutor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowExecutorError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowPlan.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowPolicy.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowResult.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStatus.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStep.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStepError.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskPriority.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskRelation.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskResult.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskRunEvent.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentTaskStarted.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentToolScope.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowAccess.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowExecutor.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowExecutorError.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowPlan.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowPolicy.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowResult.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStatus.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStep.o -index-unit-output-path /SwiftAgent.build/Debug-linux-x86_64/SwiftAgent-t.build/Objects-normal/x86_64/AgentWorkflowStepError.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[915 / 971] SwiftAgent
error: Build failed
BUILD FAILURE 6.4 linux