The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DualIntent, reference v0.1.0 (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-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NagaYu/DualIntent.git
Reference: v0.1.0
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
 * tag               v0.1.0     -> FETCH_HEAD
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 v0.1.0
========================================
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-2":/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/swiftlang/swift-syntax.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1/3896] Fetching swift-sdk
[3897/83964] Fetching swift-sdk, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (3.33s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.35s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (3.53s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
[1/8165] Fetching swift-log
[2451/8468] Fetching swift-log, eventsource
[8469/15451] Fetching swift-log, eventsource, swift-system
[15452/101623] Fetching swift-log, eventsource, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git (3.43s)
Fetched https://github.com/apple/swift-system.git (3.43s)
Fetched https://github.com/apple/swift-log.git (3.43s)
Fetched https://github.com/apple/swift-nio.git (3.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (4.66s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
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-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.14s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.29s)
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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 856]
[Planning deferred tasks]
[160 / 343]
[178 / 366] SwiftSyntax600
[215 / 375] SwiftSyntax510
[223 / 384] SystemPackage
[234 / 384] SystemPackage-product
[235 / 385] SwiftSyntax604
[238 / 386] SwiftSyntax603
[242 / 388] SwiftSyntax602
[250 / 389] SwiftSyntax600
[256 / 391] SwiftSyntax509
[259 / 391] SwiftSyntax509
[262 / 391] Logging
[263 / 391] MCP
[266 / 391] SwiftSyntax602
[271 / 391] SwiftSyntax602
[273 / 392] SwiftSyntax509
[277 / 402] SwiftSyntax
[279 / 411] SwiftSyntax
[280 / 411] SwiftSyntax
[281 / 412] SwiftSyntax
[283 / 412] SwiftSyntax
[284 / 412] SwiftSyntax
[285 / 413] SystemPackage
[287 / 413] SystemPackage
[289 / 413] MCP
[292 / 413] MCP
[296 / 413] MCP
[297 / 413] MCP-product
[298 / 413] MCP-product
[299 / 413] MCP-product
[302 / 413]
[303 / 413] MCP
[311 / 416]
[315 / 441] SwiftParser
[316 / 441] SwiftDiagnostics
[327 / 441] SwiftParser
[328 / 441] SwiftParser
[329 / 441] SwiftParser
[329 / 441] MCP
[332 / 442] SwiftParser
[336 / 442] SwiftParser
[338 / 442] SwiftParser
[339 / 442] SwiftDiagnostics
[340 / 442] SwiftDiagnostics
[341 / 442] SwiftOperators
[342 / 442] SwiftOperators
[345 / 442] SwiftDiagnostics
[346 / 442] SwiftDiagnostics
[347 / 442] SwiftBasicFormat
[348 / 442] SwiftBasicFormat
[349 / 442] SwiftParserDiagnostics
[350 / 443] SwiftParserDiagnostics
[353 / 443] SwiftDiagnostics
[357 / 444] SwiftParserDiagnostics
[359 / 454] SwiftOperators
[362 / 464] SwiftParserDiagnostics
[363 / 464] SwiftParserDiagnostics
[365 / 464] SwiftOperators
[372 / 464] SwiftParserDiagnostics
[373 / 464] SwiftParserDiagnostics
[375 / 465] SwiftParserDiagnostics
[381 / 465] SwiftOperators
[384 / 465] SwiftSyntaxBuilder
[387 / 465] SwiftOperators
[389 / 465] SwiftBasicFormat
[391 / 466] SwiftSyntaxBuilder
[394 / 475] SwiftSyntaxBuilder
[396 / 476] SwiftSyntaxBuilder
[397 / 476] SwiftSyntaxBuilder
[398 / 476] SwiftSyntaxBuilder
[399 / 476] SwiftSyntaxBuilder
[400 / 476] SwiftSyntaxBuilder
[402 / 477] SwiftSyntaxBuilder
[410 / 478] SwiftIfConfig
[413 / 487] SwiftIfConfig
[415 / 487] SwiftIfConfig
[417 / 487] SwiftIfConfig
[421 / 487] SwiftIfConfig
[422 / 487] SwiftIfConfig
[424 / 487] SwiftSyntaxMacros
[427 / 497] SwiftSyntaxMacros
[430 / 498] SwiftSyntaxMacros
[436 / 498] SwiftSyntaxMacros
[437 / 498] SwiftSyntaxMacros-product
[438 / 498] SwiftSyntaxMacros-product
[440 / 498] SwiftSyntaxMacroExpansion
[442 / 499] SwiftSyntaxMacroExpansion
[447 / 509] SwiftSyntaxMacros
[449 / 510] SwiftSyntaxMacros
[450 / 510] SwiftSyntaxMacros
[451 / 510] SwiftSyntaxMacroExpansion
[452 / 510] SwiftSyntaxMacroExpansion
[453 / 510] SwiftSyntaxMacroExpansion
[455 / 510] SwiftSyntaxMacroExpansion
[461 / 511] SwiftCompilerPluginMessageHandling
[463 / 520] SwiftCompilerPluginMessageHandling
[466 / 520] SwiftCompilerPluginMessageHandling
[467 / 520] SwiftCompilerPluginMessageHandling
[468 / 520] SwiftCompilerPluginMessageHandling
[469 / 520] SwiftCompilerPluginMessageHandling
[475 / 520]
[478 / 523] SwiftCompilerPlugin
[483 / 523] SwiftSyntaxMacroExpansion
[484 / 524] SwiftSyntaxMacroExpansion
[487 / 525] SwiftCompilerPluginMessageHandling
[489 / 526] SwiftSyntax
[490 / 527] SwiftSyntax
[492 / 527] SwiftSyntax
[497 / 527] SwiftOperators
[498 / 527] SwiftSyntaxBuilder
[501 / 527] SwiftSyntaxMacroExpansion
[508 / 528] DualIntentMacros
[512 / 532] DualIntentMacros
[513 / 532] DualIntentMacros
[517 / 533] DualIntentMacros
[518 / 534] DualIntent
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/DualIntent/DualIntent.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DualIntent.swift
/host/spi-builder-workspace/Sources/DualIntent/DualIntent.swift:5:19: error: no such module 'AppIntents'
 3 | // only import a consuming file needs for its expansions to compile — a macro
 4 | // cannot add imports to the file it expands in.
 5 | @_exported import AppIntents
   |                   `- error: no such module 'AppIntents'
 6 |
 7 | /// Annotates a function so that a single implementation is exposed on two agent
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/DualIntent/DualIntent.swift /host/spi-builder-workspace/Sources/DualIntent/DualIntentRuntime.swift /host/spi-builder-workspace/Sources/DualIntent/JSONValue.swift /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/DualIntent.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/DualIntent.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/DualIntent.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/DualIntent.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/DualIntent.o -index-unit-output-path /DualIntent.build/Debug-linux-x86_64/DualIntent-t.build/Objects-normal/x86_64/DualIntent.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux