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 FunctionTools, reference 1.2.4 (a854f4), with Swift 6.1 for Wasm on 28 May 2025 21:37:57 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/RougeWare/Swift-Function-Tools.git
Reference: 1.2.4
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/RougeWare/Swift-Function-Tools
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at a854f4e Merge pull request #20 from RougeWare/feature/13-publicize-curry
Cloned https://github.com/RougeWare/Swift-Function-Tools.git
Revision (git rev-parse @):
a854f4ed89b7e404019b5a09d24e067acc15432d
SUCCESS checkout https://github.com/RougeWare/Swift-Function-Tools.git at 1.2.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Function-Tools.git
https://github.com/RougeWare/Swift-Function-Tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FunctionTools",
  "name" : "FunctionTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FunctionTools",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FunctionTools_dynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "FunctionToolsDynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FunctionToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "FunctionToolsTests",
      "path" : "Tests/FunctionToolsTests",
      "sources" : [
        "! Tests.swift",
        "XCTestManifests.swift",
        "curry Tests.swift"
      ],
      "target_dependencies" : [
        "FunctionTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FunctionTools",
      "module_type" : "SwiftTarget",
      "name" : "FunctionTools",
      "path" : "Sources/FunctionTools",
      "product_memberships" : [
        "FunctionTools",
        "FunctionTools_dynamic",
        "FunctionToolsDynamic"
      ],
      "sources" : [
        "!.swift",
        "Blackholes.swift",
        "Call.swift",
        "Constant.swift",
        "Curry.swift",
        "Echo.swift",
        "Function types.swift",
        "Null functions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FunctionTools !.swift
[4/16] Compiling FunctionTools Echo.swift
[5/16] Compiling FunctionTools Constant.swift
[6/16] Compiling FunctionTools Call.swift
[7/16] Compiling FunctionTools Curry.swift
[8/16] Compiling FunctionTools Function types.swift
[9/16] Compiling FunctionTools Blackholes.swift
/host/spi-builder-workspace/Sources/FunctionTools/Blackholes.swift:12:13: warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// This guarantees that even the most scrutinous of optimizers will never optimize-away these blackholes
12 | private var blackholeAcceptor: Any? {
   |             |- warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'blackholeAcceptor' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'blackholeAcceptor' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[10/16] Emitting module FunctionTools
/host/spi-builder-workspace/Sources/FunctionTools/Blackholes.swift:12:13: warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// This guarantees that even the most scrutinous of optimizers will never optimize-away these blackholes
12 | private var blackholeAcceptor: Any? {
   |             |- warning: var 'blackholeAcceptor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'blackholeAcceptor' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'blackholeAcceptor' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     didSet {
14 |         blackholeAcceptor = nil
[11/16] Compiling FunctionTools Null functions.swift
[12/17] Wrapping AST for FunctionTools for debugging
[13/17] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[15/17] Linking libFunctionTools_dynamic.wasm
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[15/17] Linking libFunctionToolsDynamic.wasm
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
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling FunctionTools Curry.swift
[3/14] Compiling FunctionTools Function types.swift
[4/14] Compiling FunctionTools Constant.swift
[5/14] Compiling FunctionTools Echo.swift
[6/14] Compiling FunctionTools Call.swift
[7/15] Compiling FunctionTools Blackholes.swift
[8/15] Emitting module FunctionTools
[9/15] Compiling FunctionTools !.swift
[10/15] Compiling FunctionTools Null functions.swift
[11/15] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[13/15] Linking libFunctionToolsDynamic.wasm
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[13/15] Linking libFunctionTools_dynamic.wasm
BUILD FAILURE 6.1 wasm