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 DSFRegex, reference master (c576aa), with Swift 6.1 for Wasm on 3 Jun 2025 01:58:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/dagronf/DSFRegex.git
Reference: master
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/dagronf/DSFRegex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c576aab Minor updates
Cloned https://github.com/dagronf/DSFRegex.git
Revision (git rev-parse @):
c576aab25f88bcb4b549862e6269b6f90b917e0c
SUCCESS checkout https://github.com/dagronf/DSFRegex.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFRegex.git
https://github.com/dagronf/DSFRegex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFRegex",
  "name" : "DSFRegex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DSFRegex",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFRegex-static",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFRegex-dynamic",
      "targets" : [
        "DSFRegex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFRegexTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegexTests",
      "path" : "Tests/DSFRegexTests",
      "sources" : [
        "DSFRegexTests.swift",
        "String+extensions.swift",
        "Tests+extensions.swift"
      ],
      "target_dependencies" : [
        "DSFRegex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFRegex",
      "module_type" : "SwiftTarget",
      "name" : "DSFRegex",
      "path" : "Sources/DSFRegex",
      "product_memberships" : [
        "DSFRegex",
        "DSFRegex-static",
        "DSFRegex-dynamic"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/DSFRegex/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFRegex.swift",
        "String+CursorExtensions.swift",
        "String+regex.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/8] Copying PrivacyInfo.xcprivacy
[0/8] Write sources
[2/8] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling DSFRegex resource_bundle_accessor.swift
[5/13] Compiling DSFRegex String+CursorExtensions.swift
[6/13] Compiling DSFRegex String+regex.swift
[7/13] Compiling DSFRegex DSFRegex.swift
/host/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:404:13: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
402 | private extension DSFRegex.Capture {
403 | 	/// An empty capture object.
404 | 	static var empty = "".startIndex ..< "".endIndex
    |             |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 | }
406 |
[8/13] Emitting module DSFRegex
/host/spi-builder-workspace/Sources/DSFRegex/DSFRegex.swift:404:13: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
402 | private extension DSFRegex.Capture {
403 | 	/// An empty capture object.
404 | 	static var empty = "".startIndex ..< "".endIndex
    |             |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 | }
406 |
[9/14] Wrapping AST for DSFRegex for debugging
[10/14] Write Objects.LinkFileList
[12/14] Archiving libDSFRegex-static.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[13/14] Linking libDSFRegex-dynamic.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/5] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling DSFRegex String+regex.swift
[3/10] Compiling DSFRegex resource_bundle_accessor.swift
[4/10] Compiling DSFRegex String+CursorExtensions.swift
[5/10] Emitting module DSFRegex
[6/10] Compiling DSFRegex DSFRegex.swift
[7/11] Write Objects.LinkFileList
[9/11] Archiving libDSFRegex-static.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[10/11] Linking libDSFRegex-dynamic.wasm
BUILD FAILURE 6.1 wasm