Build Information
Failed to build DualIntent, reference main (20bde5), with Swift 6.4 for Linux on 26 Sep 2026 01:47:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/NagaYu/DualIntent.git
Reference: main
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/NagaYu/DualIntent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 20bde51 DualIntent 0.1.0: one function, both agent surfaces
Cloned https://github.com/NagaYu/DualIntent.git
Revision (git rev-parse @):
20bde519a601484f2da4f1a0059c25adb13c9831
SUCCESS checkout https://github.com/NagaYu/DualIntent.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/NagaYu/DualIntent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/3896] Fetching swift-sdk
[3897/83964] Fetching swift-sdk, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (3.44s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.46s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (3.69s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
[1/8165] Fetching swift-log
[8166/8468] Fetching swift-log, eventsource
Fetched https://github.com/apple/swift-log.git (0.51s)
[185/303] Fetching eventsource
[304/7286] Fetching eventsource, swift-system
Fetched https://github.com/apple/swift-system.git (0.69s)
[1/86172] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git (3.60s)
Fetched https://github.com/apple/swift-nio.git (3.64s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (4.86s)
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-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.32s)
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.19s)
Fetched https://github.com/apple/swift-collections.git (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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/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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 856]
[Planning deferred tasks]
[Starting]
[161 / 343]
[185 / 374] SwiftSyntax602
[216 / 374] SystemPackage
[227 / 374] SystemPackage-product
[229 / 376] SystemPackage
[231 / 376] SwiftSyntax603
[236 / 377] SwiftSyntax602
[243 / 380] SwiftSyntax510
[254 / 381] SwiftSyntax600
[260 / 391] SwiftSyntax509
[264 / 391] Logging
[265 / 391] Logging
[266 / 391] Logging
[268 / 392] CSystem
[269 / 401] SwiftSyntax510
[278 / 401] SwiftSyntax
[279 / 401] SwiftSyntax
[280 / 401] SwiftSyntax
[280 / 402] SwiftSyntax
[282 / 402] SwiftSyntax
[285 / 402] SwiftSyntax600
[287 / 404]
[290 / 413] SystemPackage
[292 / 413] MCP
[293 / 413] MCP
[296 / 413] MCP
[300 / 413] MCP
[301 / 413] MCP-product
[303 / 413] SwiftSyntax
[309 / 414]
[311 / 424] SwiftDiagnostics
[313 / 433] SwiftParser
[314 / 433] SwiftDiagnostics
[315 / 433] SwiftParser
[325 / 433] SwiftParser
[327 / 433] SwiftParser
[328 / 433] SwiftParser
[329 / 433] SwiftParser
[330 / 434] SwiftParser
[331 / 434] SwiftDiagnostics
[332 / 434] SwiftDiagnostics
[333 / 434] SwiftDiagnostics
[335 / 434] SwiftOperators
[338 / 434] SwiftDiagnostics
[339 / 434] MCP
[343 / 442] SwiftBasicFormat
[344 / 442] SwiftBasicFormat
[348 / 443] SwiftBasicFormat
[350 / 443] SwiftBasicFormat
[355 / 443] SwiftParserDiagnostics
[359 / 453] SwiftOperators
[360 / 453] SwiftOperators
[363 / 454] SwiftOperators
[364 / 454] SwiftOperators
[365 / 454] SwiftOperators
[368 / 454] SwiftOperators
[376 / 464] SwiftParserDiagnostics
[378 / 464] SwiftParserDiagnostics
[380 / 466] SwiftParserDiagnostics
[381 / 466] SwiftParserDiagnostics
[382 / 466] SwiftParserDiagnostics
[383 / 466] SwiftParserDiagnostics
[391 / 466] SwiftOperators
[396 / 476] SwiftSyntaxBuilder
[397 / 476] SwiftSyntaxBuilder
[398 / 476] SwiftSyntaxBuilder
[400 / 476] SwiftSyntaxBuilder
[404 / 476] SwiftSyntaxBuilder
[406 / 476] SwiftSyntaxBuilder
[407 / 476] SwiftSyntaxBuilder
[410 / 486] SwiftIfConfig
[412 / 486] SwiftIfConfig
[414 / 487] SwiftParserDiagnostics
[415 / 487] SwiftParserDiagnostics
[419 / 487] SwiftIfConfig
[419 / 487] MCP
[427 / 497] SwiftSyntaxMacros
[428 / 498] SwiftSyntaxMacros
[432 / 498] SwiftSyntaxMacros
[437 / 498] SwiftSyntaxMacros-product
[440 / 498]
[443 / 500] SwiftSyntaxMacroExpansion
[449 / 509] SwiftSyntaxMacroExpansion
[450 / 509] SwiftSyntaxMacroExpansion
[451 / 510] SwiftSyntaxMacros
[454 / 510] SwiftSyntaxMacros
[455 / 510] SwiftSyntaxMacroExpansion
[465 / 520] SwiftCompilerPluginMessageHandling
[466 / 520] SwiftCompilerPluginMessageHandling
[467 / 520] SwiftCompilerPluginMessageHandling
[468 / 520] SwiftCompilerPluginMessageHandling
[474 / 520] SwiftCompilerPluginMessageHandling
[475 / 520] SwiftCompilerPlugin
[478 / 523] SwiftCompilerPlugin
[481 / 524] SwiftCompilerPlugin
[485 / 524] SwiftCompilerPluginMessageHandling
[485 / 525] SwiftCompilerPlugin
[487 / 525] SwiftCompilerPluginMessageHandling
[489 / 526] SwiftSyntax
[492 / 527] SwiftSyntax
[499 / 527] SwiftIfConfig
[508 / 528] DualIntentMacros
[512 / 532] DualIntentMacros
[513 / 532] DualIntentMacros
[517 / 533] DualIntentMacros
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/DualIntent/MCPToolDescriptor.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile MCPToolDescriptor.swift
/host/spi-builder-workspace/Sources/DualIntent/DualIntent.swift:5:19: [1;31merror: [1;39mno such module 'AppIntents'[0;0m
[0;36m3 |[0;0m // only import a consuming file needs for its expansions to compile — a macro
[0;36m4 |[0;0m // cannot add imports to the file it expands in.
[0;36m5 |[0;0m @_exported import AppIntents
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'AppIntents'[0;0m
[0;36m6 |[0;0m
[0;36m7 |[0;0m /// Annotates a function so that a single implementation is exposed on two agent
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/DualIntent/DualIntent.swift /host/spi-builder-workspace/Sources/DualIntent/DualIntentRuntime.swift /host/spi-builder-workspace/Sources/DualIntent/JSONValue.swift -primary-file /host/spi-builder-workspace/Sources/DualIntent/MCPToolDescriptor.swift /host/spi-builder-workspace/Sources/DualIntent/ToolRegistry.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.dia -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/DualIntentMacros\#DualIntentMacros -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/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DualIntent -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/DualIntent_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/DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.o -index-unit-output-path /DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/MCPToolDescriptor.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[524 / 540] DualIntent
error: Build failed
BUILD FAILURE 6.4 linux