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 CBOR, reference 0.7.0 (4da266), with Swift 6.1 for Wasm on 30 Nov 2025 08:43:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/wendylabsinc/cbor.git
Reference: 0.7.0
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/wendylabsinc/cbor
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 4da266d Update version to 0.7.0 in README
Cloned https://github.com/wendylabsinc/cbor.git
Revision (git rev-parse @):
4da266dde3f9c2b8b1839a03089f36ddb6045f5b
SUCCESS checkout https://github.com/wendylabsinc/cbor.git at 0.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendylabsinc/cbor.git
https://github.com/wendylabsinc/cbor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CBOR",
  "name" : "CBOR",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CBOR",
      "targets" : [
        "CBOR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CBORTests",
      "module_type" : "SwiftTarget",
      "name" : "CBORTests",
      "path" : "Tests/CBORTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/CBORTests/TestPlan.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CBORCodableTests.swift",
        "CBORContainerTests.swift",
        "CBORErrorTests.swift",
        "CBORPrimitiveTests.swift",
        "CBORTaggedAndErrorTests.swift"
      ],
      "target_dependencies" : [
        "CBOR"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CBOR",
      "module_type" : "SwiftTarget",
      "name" : "CBOR",
      "path" : "Sources/CBOR",
      "product_memberships" : [
        "CBOR"
      ],
      "sources" : [
        "CBOR.swift",
        "CBORError.swift",
        "CBORReader.swift",
        "Codable/CBORCodable.swift",
        "Codable/CBORDecoder.swift",
        "Codable/CBOREncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling CBOR CBOR.swift
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:968:36: error: cannot find 'pow' in scope
 966 |     if exponent == 0 {
 967 |         // Subnormal number
 968 |         value = Double(fraction) * pow(2, -24)
     |                                    `- error: cannot find 'pow' in scope
 969 |     } else if exponent == 31 {
 970 |         // Infinity or NaN
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:974:45: error: cannot find 'pow' in scope
 972 |     } else {
 973 |         // Normal number
 974 |         value = Double(fraction | 0x0400) * pow(2, Double(exponent - 25))
     |                                             `- error: cannot find 'pow' in scope
 975 |     }
 976 |
[4/9] Compiling CBOR CBORDecoder.swift
[5/9] Compiling CBOR CBOREncoder.swift
[6/9] Compiling CBOR CBORError.swift
[7/9] Compiling CBOR CBORReader.swift
[8/9] Emitting module CBOR
[9/9] Compiling CBOR CBORCodable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling CBOR CBORReader.swift
[3/8] Compiling CBOR CBORError.swift
[4/8] Compiling CBOR CBORCodable.swift
[5/8] Compiling CBOR CBOR.swift
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:968:36: error: cannot find 'pow' in scope
 966 |     if exponent == 0 {
 967 |         // Subnormal number
 968 |         value = Double(fraction) * pow(2, -24)
     |                                    `- error: cannot find 'pow' in scope
 969 |     } else if exponent == 31 {
 970 |         // Infinity or NaN
/host/spi-builder-workspace/Sources/CBOR/CBOR.swift:974:45: error: cannot find 'pow' in scope
 972 |     } else {
 973 |         // Normal number
 974 |         value = Double(fraction | 0x0400) * pow(2, Double(exponent - 25))
     |                                             `- error: cannot find 'pow' in scope
 975 |     }
 976 |
[6/8] Emitting module CBOR
[7/8] Compiling CBOR CBORDecoder.swift
[8/8] Compiling CBOR CBOREncoder.swift
BUILD FAILURE 6.1 wasm