The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AgentAdapter, reference main (63b5e1), with Swift 6.1 for Wasm on 4 Feb 2026 03:15:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/agent-adapter.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/mtj0928/agent-adapter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63b5e10 Merge pull request #4 from mtj0928/add-global-flag
Cloned https://github.com/mtj0928/agent-adapter.git
Revision (git rev-parse @):
63b5e107901e21b7f1f65cfa85a8a95bb22f34fa
SUCCESS checkout https://github.com/mtj0928/agent-adapter.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mtj0928/agent-adapter.git
https://github.com/mtj0928/agent-adapter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "AgentAdapter",
  "name" : "AgentAdapter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "agent-adapter",
      "targets" : [
        "AgentAdapter"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AgentAdapterCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentAdapterCoreTests",
      "path" : "Tests/AgentAdapterCoreTests",
      "sources" : [
        "AgentAdapterConfigurationTests.swift",
        "AgentAdapterDirectoryTests.swift",
        "AgentAdapterFileManagerFileSystemTests.swift",
        "AgentAdapterFormatTests.swift",
        "AgentAdapterGeneratorTests.swift",
        "AgentAdapterGitignoreTests.swift",
        "AgentAdapterInMemoryFileSystemTests.swift",
        "Utils/InMemoryFileSystem.swift",
        "Utils/TemporaryDirectoryScope.swift"
      ],
      "target_dependencies" : [
        "AgentAdapterCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentAdapterCore",
      "module_type" : "SwiftTarget",
      "name" : "AgentAdapterCore",
      "path" : "Sources/AgentAdapterCore",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "agent-adapter"
      ],
      "sources" : [
        "Agent.swift",
        "AgentAdapterConfiguration.swift",
        "AgentAdapterDirectory.swift",
        "AgentAdapterFormat.swift",
        "AgentAdapterGenerator.swift",
        "AgentAdapterGitignore.swift",
        "FileSystem.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentAdapter",
      "module_type" : "SwiftTarget",
      "name" : "AgentAdapter",
      "path" : "Sources/AgentAdapter",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "agent-adapter"
      ],
      "sources" : [
        "AgentAdapter.swift"
      ],
      "target_dependencies" : [
        "AgentAdapterCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/17171] Fetching swift-argument-parser
[3779/28455] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Fetched https://github.com/jpsim/Yams.git from cache (1.64s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (5.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.96s)
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.7.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[7/21] Compiling writer.c
[8/21] Compiling parser.c
[9/21] Compiling api.c
[10/21] Compiling reader.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[12/21] Compiling emitter.c
[13/21] Compiling scanner.c
[15/43] Emitting module Yams
[16/45] Emitting module ArgumentParserToolInfo
[17/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/46] Wrapping AST for ArgumentParserToolInfo for debugging
[20/92] Compiling ArgumentParser ExpressibleByArgument.swift
[21/92] Compiling ArgumentParser ParsableArguments.swift
[22/92] Compiling ArgumentParser Argument.swift
[23/92] Compiling ArgumentParser ArgumentDiscussion.swift
[24/92] Compiling ArgumentParser ArgumentHelp.swift
[25/92] Compiling ArgumentParser ParentCommand.swift
[26/92] Compiling ArgumentParser AsyncParsableCommand.swift
[27/92] Compiling ArgumentParser CommandConfiguration.swift
[28/92] Compiling ArgumentParser CommandGroup.swift
[29/92] Compiling ArgumentParser EnumerableFlag.swift
[30/92] Compiling ArgumentParser Flag.swift
[31/92] Compiling ArgumentParser NameSpecification.swift
[32/92] Compiling ArgumentParser Option.swift
[33/92] Compiling ArgumentParser OptionGroup.swift
[34/92] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/92] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[36/92] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[37/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[38/92] Compiling ArgumentParser ArgumentVisibility.swift
[39/92] Compiling ArgumentParser CompletionKind.swift
[40/92] Compiling ArgumentParser Errors.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/10] Write swift-version-24593BA9C3E375BF.txt
[4/32] Compiling Yams Tag.swift
[5/32] Compiling Yams YamlAnchorProviding.swift
[6/34] Emitting module Yams
[7/34] Compiling Yams Resolver.swift
[8/34] Compiling Yams String+Yams.swift
[9/34] Compiling Yams Mark.swift
[10/34] Compiling Yams Node.Alias.swift
[11/34] Compiling Yams Node.Mapping.swift
[12/34] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[13/34] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[14/34] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[15/34] Compiling Yams Node.Scalar.swift
[16/34] Compiling Yams Node.Sequence.swift
[17/34] Compiling Yams Node.swift
[18/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/34] Emitting module ArgumentParserToolInfo
[20/35] Compiling Yams YamlError.swift
[21/35] Compiling Yams YamlTagProviding.swift
[23/80] Compiling ArgumentParser SwiftExtensions.swift
[24/80] Compiling ArgumentParser DumpHelpGenerator.swift
[25/80] Compiling ArgumentParser HelpCommand.swift
[26/80] Compiling ArgumentParser CollectionExtensions.swift
[27/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/80] Compiling ArgumentParser CompletionsGenerator.swift
BUILD FAILURE 6.1 wasm