The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Breeze, reference main (75766d), with Swift 6.1 for Wasm on 29 May 2025 15:47:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-serverless/Breeze.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/swift-serverless/Breeze
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 75766d6 Fix wrong runtime in LambdaAPI x86 (#14)
Cloned https://github.com/swift-serverless/Breeze.git
Revision (git rev-parse @):
75766d69ea7ee87e77fe49e4ccefb07959826de0
SUCCESS checkout https://github.com/swift-serverless/Breeze.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-serverless/Breeze.git
https://github.com/swift-serverless/Breeze.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    },
    {
      "identity" : "swift-sls-adapter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-serverless/swift-sls-adapter"
    }
  ],
  "manifest_display_name" : "Breeze",
  "name" : "Breeze",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "breeze",
      "targets" : [
        "BreezeCommand"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BreezeCommandTests",
      "module_type" : "SwiftTarget",
      "name" : "BreezeCommandTests",
      "path" : "Tests/BreezeCommandTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/BreezeCommandTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BreezeCommandTests.swift",
        "Fixtures.swift",
        "GenerateGithubWebhookTests.swift",
        "GenerateLambdaAPITests.swift",
        "GenerateWebhookTests.swift",
        "XCTest+Extensions.swift"
      ],
      "target_dependencies" : [
        "BreezeCommand"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BreezeCommand",
      "module_type" : "SwiftTarget",
      "name" : "BreezeCommand",
      "path" : "Sources/BreezeCommand",
      "product_dependencies" : [
        "ArgumentParser",
        "SLSAdapter",
        "Stencil"
      ],
      "product_memberships" : [
        "breeze"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/BreezeCommand/Resources",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BreezeCommand.swift",
        "BreezeCommandError.swift",
        "BreezeConfig+ServerlessConfig.swift",
        "BreezeConfig.swift",
        "Foundation+Extensions.swift",
        "GenerateGitHubWebhook/GenerateGithubWebhook.swift",
        "GenerateGithubWebhook/HttpAPILambdaParams.swift",
        "GenerateLambdaAPI/GenerateLambdaAPI.swift",
        "GenerateLambdaAPI/ServerlessConfig+DynamoDBLambdaAPI.swift",
        "GenerateWebhook/GenerateWebhook.swift",
        "Stencil+Extensions.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swift-serverless/swift-sls-adapter
[1/219] Fetching swift-sls-adapter
[220/5512] Fetching swift-sls-adapter, stencil
[5513/20891] Fetching swift-sls-adapter, stencil, swift-argument-parser
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (1.06s)
Fetched https://github.com/stencilproject/Stencil.git from cache (1.07s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.07s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (1.62s)
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.50s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (2.20s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.23s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.12s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.86s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/swift-serverless/swift-sls-adapter
Working copy of https://github.com/swift-serverless/swift-sls-adapter resolved at 0.2.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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.5.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
[5/25] Copying Resources
[6/25] Write sources
[9/25] Compiling reader.c
[10/25] Compiling writer.c
[11/25] Compiling api.c
[12/25] Write swift-version-24593BA9C3E375BF.txt
[13/25] Compiling parser.c
[14/25] Compiling emitter.c
[15/25] Compiling scanner.c
[17/49] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/49] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[19/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/50] Compiling Yams Tag.swift
[22/50] Compiling Yams YamlAnchorProviding.swift
[22/52] Wrapping AST for ArgumentParserToolInfo for debugging
[24/90] Compiling ArgumentParser HelpCommand.swift
[25/90] Compiling ArgumentParser HelpGenerator.swift
[26/90] Compiling ArgumentParser MessageInfo.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.
[27/90] Compiling ArgumentParser UsageGenerator.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.
[28/90] Compiling ArgumentParser ArgumentVisibility.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.
[29/90] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[30/90] Compiling ArgumentParser Flag.swift
[31/90] Compiling ArgumentParser NameSpecification.swift
[32/90] Compiling ArgumentParser CompletionsGenerator.swift
[33/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/90] Compiling ArgumentParser Argument.swift
[36/90] Compiling ArgumentParser ArgumentHelp.swift
[37/90] Compiling ArgumentParser DumpHelpGenerator.swift
[38/90] Emitting module Yams
[39/90] Compiling ArgumentParser OptionGroup.swift
[40/90] Compiling ArgumentParser AsyncParsableCommand.swift
[41/90] Compiling ArgumentParser CommandConfiguration.swift
[42/90] Compiling ArgumentParser CommandGroup.swift
[43/90] Compiling ArgumentParser EnumerableFlag.swift
[44/90] Compiling ArgumentParser BashCompletionsGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/35] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[4/35] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[5/35] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm