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 swift-sls-adapter, reference main (e89775), with Swift 6.1 for Wasm on 29 May 2025 06:06:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swift-sls-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/swift-serverless/swift-sls-adapter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e89775f Add coverage to codecov.io (#2)
Cloned https://github.com/swift-serverless/swift-sls-adapter.git
Revision (git rev-parse @):
e89775ffc5d82bad786a3ec877d1b68e990e3646
SUCCESS checkout https://github.com/swift-serverless/swift-sls-adapter.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-serverless/swift-sls-adapter.git
https://github.com/swift-serverless/swift-sls-adapter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-sls-adapter",
  "name" : "swift-sls-adapter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SLSAdapter",
      "targets" : [
        "SLSAdapter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SLSAdapterTests",
      "module_type" : "SwiftTarget",
      "name" : "SLSAdapterTests",
      "path" : "Tests/SLSAdapterTests",
      "product_dependencies" : [
        "Yams"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SLSAdapterTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "HttpAPILambdaParams.swift",
        "SLSAdapterTests.swift",
        "ServerlessConfig+Exensions.swift",
        "ServerlessHttpAPILambdaTests.swift"
      ],
      "target_dependencies" : [
        "SLSAdapter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SLSAdapter",
      "module_type" : "SwiftTarget",
      "name" : "SLSAdapter",
      "path" : "Sources/SLSAdapter",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "SLSAdapter"
      ],
      "sources" : [
        "CodableDefault.swift",
        "Function+Extensions.swift",
        "Function.swift",
        "Package.swift",
        "Provider.swift",
        "Region.swift",
        "Resource.swift",
        "ServerlessConfig.swift",
        "YAMLContent.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
[1/2049] Fetching swift-docc-plugin
[473/12706] Fetching swift-docc-plugin, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (0.39s)
[1386/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.16s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.95s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.22s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/11] Write sources
[4/11] Compiling reader.c
[5/11] Compiling writer.c
[6/11] Compiling api.c
[7/11] Compiling emitter.c
[8/11] Compiling parser.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
[10/11] Compiling scanner.c
[12/31] Emitting module Yams
[13/33] Compiling Yams YamlError.swift
[14/33] Compiling Yams YamlTagProviding.swift
[15/33] Compiling Yams AliasDereferencingStrategy.swift
[16/33] Compiling Yams Anchor.swift
[17/33] Compiling Yams Constructor.swift
[18/33] Compiling Yams Decoder.swift
[19/33] Compiling Yams Emitter.swift
[20/33] Compiling Yams Encoder.swift
[21/33] Compiling Yams Tag.swift
[22/33] Compiling Yams YamlAnchorProviding.swift
[23/33] Compiling Yams Mark.swift
[24/33] Compiling Yams Node.Alias.swift
[25/33] Compiling Yams Node.Mapping.swift
[26/33] Compiling Yams Resolver.swift
[27/33] Compiling Yams String+Yams.swift
[28/33] Compiling Yams Node.Scalar.swift
[29/33] Compiling Yams Node.Sequence.swift
[30/33] Compiling Yams Node.swift
[31/33] 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.
[32/33] 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.
[33/33] 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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/23] 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.
[5/23] 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.
[6/23] 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.
[7/23] Compiling Yams Tag.swift
[8/23] Compiling Yams YamlAnchorProviding.swift
[9/25] Compiling Yams Node.Scalar.swift
[10/25] Compiling Yams Node.Sequence.swift
[11/25] Compiling Yams Node.swift
[12/25] Emitting module Yams
[13/25] Compiling Yams YamlError.swift
[14/25] Compiling Yams YamlTagProviding.swift
[15/25] Compiling Yams Resolver.swift
[16/25] Compiling Yams String+Yams.swift
[17/25] Compiling Yams Mark.swift
[18/25] Compiling Yams Node.Alias.swift
[19/25] Compiling Yams Node.Mapping.swift
[20/25] Compiling Yams AliasDereferencingStrategy.swift
[21/25] Compiling Yams Anchor.swift
[22/25] Compiling Yams Constructor.swift
[23/25] Compiling Yams Decoder.swift
[24/25] Compiling Yams Emitter.swift
[25/25] Compiling Yams Encoder.swift
BUILD FAILURE 6.1 wasm