The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OptionalAPI, reference 6.1.1 (7b8ae8), with Swift 6.1 for Wasm on 28 Feb 2026 12:40:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/sloik/OptionalAPI.git
Reference: 6.1.1
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/sloik/OptionalAPI
 * tag               6.1.1      -> FETCH_HEAD
HEAD is now at 7b8ae83 Update README: add new APIs, fix spelling, improve clarity
Cloned https://github.com/sloik/OptionalAPI.git
Revision (git rev-parse @):
7b8ae83a965b75b7075bd90d0886a1347da61f87
SUCCESS checkout https://github.com/sloik/OptionalAPI.git at 6.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sloik/OptionalAPI.git
https://github.com/sloik/OptionalAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.9",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
    },
    {
      "identity" : "aliaswonderland",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sloik/AliasWonderland.git"
    }
  ],
  "manifest_display_name" : "OptionalAPI",
  "name" : "OptionalAPI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "OptionalAPI",
      "targets" : [
        "OptionalAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OptionalAPITests",
      "module_type" : "SwiftTarget",
      "name" : "OptionalAPITests",
      "path" : "Tests/OptionalAPITests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "AlternativeTests.swift",
        "AndThenTests.swift",
        "ApplicativeTests.swift",
        "AsyncDefaultSomeTests.swift",
        "AsyncMapNoneTests.swift",
        "AsyncMapsTests.swift",
        "AsyncOrTests.swift",
        "AsyncRecoverFromEmptyTests.swift",
        "CastTests.swift",
        "ConditionalConstructionTests.swift",
        "FilterTests.swift",
        "FlattenTests.swift",
        "FreeFunctionsTest.swift",
        "OptionalAPITests.swift",
        "OptionalCodableTests.swift",
        "RunWhenTests.swift",
        "SUTs.swift",
        "TraversableTests.swift",
        "TryAsyncMapsTests.swift"
      ],
      "target_dependencies" : [
        "OptionalAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OptionalAPI",
      "module_type" : "SwiftTarget",
      "name" : "OptionalAPI",
      "path" : "Sources/OptionalAPI",
      "product_dependencies" : [
        "AliasWonderland"
      ],
      "product_memberships" : [
        "OptionalAPI"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/OptionalAPI/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Alternative.swift",
        "AndThen.swift",
        "Applicative.swift",
        "AsyncMaps.swift",
        "Cast.swift",
        "ConditionalConstruction.swift",
        "Filter.swift",
        "Flatten.swift",
        "Folds.swift",
        "Maps.swift",
        "OptionalCodable.swift",
        "OptionalCollection.swift",
        "OptionalError.swift",
        "OptionalFreeFunctions.swift",
        "OptionalProperties.swift",
        "Or.swift",
        "RunWhen.swift",
        "Traversable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/sloik/AliasWonderland.git
[1/212] Fetching aliaswonderland
Fetched https://github.com/sloik/AliasWonderland.git from cache (0.19s)
[1/15774] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.95s)
Computing version for https://github.com/sloik/AliasWonderland.git
Computed https://github.com/sloik/AliasWonderland.git at 4.0.1 (3.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.9 (0.58s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5319] Fetching swift-custom-dump
[5320/79839] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.39s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.45s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (4.97s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5718] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.98s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.49s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.9
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/sloik/AliasWonderland.git
Working copy of https://github.com/sloik/AliasWonderland.git resolved at 4.0.1
Building for debugging...
[0/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling AliasWonderland ClosuresAliases.swift
[6/10] Emitting module AliasWonderland
[7/10] Compiling AliasWonderland SideEffectAliases.swift
[8/11] Wrapping AST for AliasWonderland for debugging
[9/11] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[10/11] Linking libAliasWonderland.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module AliasWonderland
[3/7] Compiling AliasWonderland ClosuresAliases.swift
[4/7] Compiling AliasWonderland SideEffectAliases.swift
[5/7] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[6/7] Linking libAliasWonderland.wasm
BUILD FAILURE 6.1 wasm