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 Regex, reference master (6ceb24), with Swift 6.1 for Wasm on 27 May 2025 07:35:48 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/davidskrundz/regex.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/davidskrundz/regex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 6ceb24d Corrected spelling
Cloned https://github.com/davidskrundz/regex.git
Revision (git rev-parse @):
6ceb24d26dd1c8e4c0fc239ec779c13938c672f6
SUCCESS checkout https://github.com/davidskrundz/regex.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/davidskrundz/regex.git
https://github.com/davidskrundz/regex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DavidSkrundz/Collections.git"
    }
  ],
  "manifest_display_name" : "Regex",
  "name" : "Regex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Regex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "sRegex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "dRegex",
      "targets" : [
        "Regex"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RegexTests",
      "module_type" : "SwiftTarget",
      "name" : "RegexTests",
      "path" : "Tests/RegexTests",
      "sources" : [
        "CompilerTests.swift",
        "LexerTests.swift",
        "OptimizerTests.swift",
        "ParserTests.swift",
        "RegexTests.swift"
      ],
      "target_dependencies" : [
        "Regex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Regex",
      "module_type" : "SwiftTarget",
      "name" : "Regex",
      "path" : "Sources/Regex",
      "product_dependencies" : [
        "Generator"
      ],
      "product_memberships" : [
        "Regex",
        "sRegex",
        "dRegex"
      ],
      "sources" : [
        "Automaton.swift",
        "Compiler/Compiler.swift",
        "Lexer/Lexer.swift",
        "Lexer/Token.swift",
        "Optimizer/Optimizer.swift",
        "Parser/Parser.swift",
        "Parser/Symbol.swift",
        "Regex.swift",
        "RegexError.swift",
        "RegexMatch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/DavidSkrundz/Collections.git
[1/203] Fetching collections
Fetched https://github.com/DavidSkrundz/Collections.git from cache (0.22s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 1.1.2 (0.87s)
Creating working copy for https://github.com/DavidSkrundz/Collections.git
Working copy of https://github.com/DavidSkrundz/Collections.git resolved at 1.1.2
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling Generator Generator+Previous.swift
[5/19] Compiling Generator Generator+Sequence.swift
[6/19] Compiling Generator Generator.swift
[7/19] Compiling Generator Generator+Move.swift
[8/19] Compiling Generator Generator+Iterator.swift
[9/19] Compiling Generator Generator+String.swift
[10/19] Emitting module Generator
[11/19] Compiling Generator Character.swift
[12/19] Compiling Generator Collection+Generator.swift
[13/19] Compiling Generator Generator+Peek.swift
[14/20] Wrapping AST for Generator for debugging
[16/30] Compiling Regex RegexError.swift
[17/30] Compiling Regex Symbol.swift
[18/30] Compiling Regex Parser.swift
[19/30] Compiling Regex Regex.swift
[20/31] Compiling Regex RegexMatch.swift
[21/31] Compiling Regex Optimizer.swift
[22/31] Emitting module Regex
[23/31] Compiling Regex Lexer.swift
[24/31] Compiling Regex Token.swift
[25/31] Compiling Regex Automaton.swift
[26/31] Compiling Regex Compiler.swift
[27/32] Wrapping AST for Regex for debugging
[28/32] Write Objects.LinkFileList
[30/32] Archiving libsRegex.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[31/32] Linking libdRegex.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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/15] Compiling Generator Generator+String.swift
[3/16] Emitting module Generator
[4/16] Compiling Generator Generator+Previous.swift
[5/16] Compiling Generator Generator+Sequence.swift
[6/16] Compiling Generator Character.swift
[7/16] Compiling Generator Collection+Generator.swift
[8/16] Compiling Generator Generator+Peek.swift
[9/16] Compiling Generator Generator+Iterator.swift
[10/16] Compiling Generator Generator+Move.swift
[11/16] Compiling Generator Generator.swift
[13/27] Compiling Regex RegexError.swift
[14/27] Compiling Regex Regex.swift
[15/28] Compiling Regex Optimizer.swift
[16/28] Compiling Regex Parser.swift
[17/28] Compiling Regex Lexer.swift
[18/28] Compiling Regex Token.swift
[19/28] Compiling Regex Symbol.swift
[20/28] Compiling Regex RegexMatch.swift
[21/28] Emitting module Regex
[22/28] Compiling Regex Automaton.swift
[23/28] Compiling Regex Compiler.swift
[24/28] Write Objects.LinkFileList
[26/28] Archiving libsRegex.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[27/28] Linking libdRegex.wasm
BUILD FAILURE 6.1 wasm