The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DualIntent, reference main (20bde5), with Swift 6.3 for Wasm on 16 Jul 2026 05:12:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
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:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NagaYu/DualIntent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:501b6bfc4ca8a27c305c68f9d5c778f996de82635741ab45476a03ffa6fa26d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/3610] Fetching swift-sdk
[3611/79661] Fetching swift-sdk, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (3.29s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.31s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (3.48s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
[1/7742] Fetching swift-log
[1782/8013] Fetching swift-log, eventsource
[8014/14211] Fetching swift-log, eventsource, swift-system
Fetched https://github.com/apple/swift-log.git from cache (0.58s)
[1/84501] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (3.22s)
Fetched https://github.com/apple/swift-system.git from cache (3.22s)
Fetched https://github.com/apple/swift-nio.git from cache (3.27s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (3.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.7.4 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (0.28s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1868] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
[1/26103] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.24s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.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.101.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.23s)
Building for debugging...
[0/17] Write sources
[11/17] Compiling CSystem shims.c
[13/17] Write swift-version-24593BA9C3E375BF.txt
[15/117] Emitting module SystemPackage
[17/127] Compiling SystemPackage RawBuffer.swift
[18/127] Compiling SystemPackage Syscalls.swift
[19/127] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/127] Compiling SystemPackage MachPort.swift
[21/127] Compiling SystemPackage PlatformString.swift
[22/127] Compiling SystemPackage Errno.swift
[23/127] Compiling SystemPackage ErrnoWindows.swift
[24/127] Compiling SystemPackage FileDescriptor.swift
[25/127] Compiling SystemPackage FileHelpers.swift
[26/127] Compiling SystemPackage FileOperations.swift
[27/127] Compiling SystemPackage FilePath.swift
[28/127] Compiling SystemPackage SystemString.swift
[29/127] Compiling SystemPackage Util+StringArray.swift
[30/127] Compiling SystemPackage Util.swift
[31/127] Compiling SystemPackage UtilConsumers.swift
[32/127] Compiling SystemPackage WinSDK+Overlay.swift
[33/127] Compiling Logging LoggingSystem.swift
[34/127] Compiling Logging Logger.swift
[35/128] Compiling Logging Logger+Attributes.swift
[36/128] Compiling Logging Logger+With.swift
[37/128] Compiling Logging MetadataProvider.swift
[42/129] Compiling Logging Logger+Attributes.swift
[43/129] Compiling Logging LoggingSystem.swift
[44/129] Emitting module Logging
[60/130] Compiling SystemPackage FileFlags.swift
[61/130] Compiling SystemPackage FileMode.swift
[62/130] Compiling SystemPackage FileType.swift
[63/130] Compiling SystemPackage Identifiers.swift
[64/130] Compiling SystemPackage Stat.swift
[65/130] Compiling SystemPackage FilePathTemp.swift
[66/130] Compiling SystemPackage FilePathTempPosix.swift
[67/130] Compiling SystemPackage FilePathTempWindows.swift
[68/130] Compiling SystemPackage FilePathWindows.swift
[69/130] Compiling SystemPackage FilePermissions.swift
[70/130] Compiling SystemPackage IOCompletion.swift
[71/130] Compiling SystemPackage IORequest.swift
[72/130] Compiling SystemPackage IORing+Util.swift
[73/130] Compiling SystemPackage IORing.swift
[74/130] Compiling SystemPackage RawIORequest.swift
[75/130] Compiling SystemPackage Backcompat.swift
[76/130] Compiling SystemPackage CInterop.swift
[77/130] Compiling SystemPackage Constants.swift
[78/130] Compiling SystemPackage Exports.swift
[79/130] Compiling SystemPackage Mocking.swift
[81/130] Compiling SystemPackage FilePathComponentView.swift
[82/130] Compiling SystemPackage FilePathComponents.swift
[83/130] Compiling SystemPackage FilePathParsing.swift
[84/130] Compiling SystemPackage FilePathString.swift
[85/130] Compiling SystemPackage FilePathSyntax.swift
[87/131] Emitting module DualIntentMacros
[88/131] Compiling DualIntentMacros CodeGeneration.swift
[89/131] Compiling DualIntentMacros DualIntentMacro.swift
[90/131] Compiling DualIntentMacros FunctionModel.swift
[92/132] Compiling Logging Logger+With.swift
[93/132] Compiling Logging Logger.swift
[93/139] Wrapping AST for DualIntentMacros for debugging
[94/139] Write Objects.LinkFileList
[96/175] Compiling MCP Ping.swift
[97/175] Compiling MCP Progress.swift
[98/175] Compiling MCP RequestContext.swift
[99/175] Compiling MCP Value.swift
[100/175] Compiling MCP Versioning.swift
[101/175] Emitting module Logging
[102/175] Compiling Logging MetadataProvider.swift
[103/175] Compiling MCP OAuthAuthorizationCodeFlow.swift
[104/175] Compiling MCP OAuthAuthorizer.swift
[105/175] Compiling MCP OAuthClientRegistrar.swift
[106/175] Compiling MCP OAuthConfiguration.swift
[107/176] Compiling MCP OAuthDiscoveryClient.swift
[108/176] Compiling MCP OAuthErrors.swift
[109/176] Compiling MCP OAuthModels.swift
[110/176] Compiling MCP OAuthTokenEndpointClient.swift
[111/176] Compiling MCP OAuthURLValidator.swift
[112/176] Compiling MCP OAuthWWWAuthenticateParser.swift
[113/176] Compiling MCP PKCE.swift
[114/176] Compiling MCP TokenStorage.swift
[115/176] Compiling MCP Error.swift
[116/176] Compiling MCP ID.swift
[118/176] Compiling MCP Roots.swift
[119/176] Compiling MCP Sampling.swift
[120/176] Compiling MCP Data+Extensions.swift
[121/176] Compiling MCP Completion.swift
[122/176] Compiling MCP Cancellation.swift
[123/176] Compiling MCP HTTPClientTransport.swift
[124/176] Compiling MCP HTTPRequestValidation.swift
[125/176] Compiling MCP HTTPServerTypes.swift
[126/176] Compiling MCP Client.swift
[127/176] Compiling MCP Elicitation.swift
[127/176] Linking DualIntentMacros-tool
[129/188] Compiling MCP Messages.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[130/188] Compiling MCP PendingRequest.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[131/188] Compiling MCP Transport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[135/193] Emitting module MCP
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[136/193] Compiling DualIntent MCPToolDescriptor.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
[137/193] Compiling DualIntent 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
[138/193] Compiling DualIntent ToolRegistry.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
[139/193] Compiling DualIntent JSONValue.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[140/193] Emitting module DualIntent
/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
[141/193] Compiling DualIntent DualIntentRuntime.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
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[148/193] Compiling MCP StatefulHTTPServerTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[149/193] Compiling MCP StatelessHTTPServerTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[150/193] Compiling MCP InMemoryTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[151/193] Compiling MCP NetworkTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[152/193] Compiling MCP StdioTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
[153/193] Compiling MCP UnitInterval.swift
/host/spi-builder-workspace/.build/checkouts/swift-sdk/Sources/MCP/Base/Transports/HTTPClientTransport.swift:5:12: error: no such module 'EventSource'
  3 |
  4 | #if !os(Linux)
  5 |     import EventSource
    |            `- error: no such module 'EventSource'
  6 | #endif
  7 |
BUILD FAILURE 6.3 wasm