The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Breeze, reference main (35b887), with Swift 6.1 for Wasm on 29 May 2025 06:45:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-sprinter/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-sprinter/Breeze
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 35b8878 Merge pull request #11 from swift-serverless/feature/decouple-cli
Cloned https://github.com/swift-sprinter/Breeze.git
Revision (git rev-parse @):
35b88788f0b9d845d3cfe03fcc5094fea792ceaa
SUCCESS checkout https://github.com/swift-sprinter/Breeze.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-sprinter/Breeze.git
https://github.com/swift-sprinter/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-3":/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/swift-serverless/swift-sls-adapter
[1/219] Fetching swift-sls-adapter
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swift-serverless/swift-sls-adapter from cache (0.41s)
[1/5293] Fetching stencil
[5294/20672] Fetching stencil, swift-argument-parser
Fetched https://github.com/stencilproject/Stencil.git from cache (1.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.96s)
Computing version for https://github.com/swift-serverless/swift-sls-adapter
Computed https://github.com/swift-serverless/swift-sls-adapter at 0.2.1 (3.34s)
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.76s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (2.25s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[83/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.10s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.35s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.48s)
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/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
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
[8/25] Copying Resources
[9/25] Compiling writer.c
[10/25] Compiling reader.c
[11/25] Compiling parser.c
[12/25] Compiling api.c
[13/25] Compiling emitter.c
[14/25] Write swift-version-24593BA9C3E375BF.txt
[15/29] Compiling scanner.c
[17/49] Emitting module Yams
[18/51] Compiling Yams Tag.swift
[19/51] Compiling Yams YamlAnchorProviding.swift
[20/51] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/51] Emitting module ArgumentParserToolInfo
[22/52] Wrapping AST for ArgumentParserToolInfo for debugging
[24/90] Compiling ArgumentParser ArgumentDefinition.swift
[25/90] Compiling ArgumentParser ArgumentSet.swift
[26/90] Compiling ArgumentParser BashCompletionsGenerator.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 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.
[28/90] 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.
[29/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/90] Compiling ArgumentParser ParsableCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/90] 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
[32/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
[33/90] Compiling ArgumentParser ArgumentVisibility.swift
[34/90] Compiling ArgumentParser CompletionKind.swift
[35/90] Compiling ArgumentParser Errors.swift
[36/90] Compiling ArgumentParser Flag.swift
[37/90] Compiling ArgumentParser NameSpecification.swift
[38/90] Compiling ArgumentParser Option.swift
[39/90] Compiling ArgumentParser InputOrigin.swift
[40/90] Compiling ArgumentParser ExpressibleByArgument.swift
[41/90] Compiling ArgumentParser ParsableArguments.swift
[42/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/90] Compiling ArgumentParser Argument.swift
[44/90] Compiling ArgumentParser ArgumentHelp.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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