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 0.3.0 (69946a), with Swift 6.1 for Wasm on 27 May 2025 07:35:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.3.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/davidskrundz/regex
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 69946aa Update to Swift 4.1
Cloned https://github.com/davidskrundz/regex.git
Revision (git rev-parse @):
69946aa32a1de7ac4663398e53b1017ddd2691e7
SUCCESS checkout https://github.com/davidskrundz/regex.git at 0.3.0
========================================
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" : [
        "CompilerRegressionTests.swift",
        "CompilerTests.swift",
        "Extensions/Symbol+Equatable.swift",
        "Extensions/Token+Equatable.swift",
        "LexerRegressionTests.swift",
        "LexerTests.swift",
        "ParserRegressionTests.swift",
        "ParserTests.swift",
        "RegexRegressionTests.swift",
        "RegexTests.swift",
        "ThreadID+Testing.swift",
        "VMRegressionTests.swift",
        "VMTests.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" : [
        "Compiler/Compiler+GroupCorrection.swift",
        "Compiler/Compiler+Quantifier.swift",
        "Compiler/Compiler.swift",
        "Compiler/Instruction.swift",
        "Compiler/SaveSlot.swift",
        "Extensions/Character+Regex.swift",
        "Extensions/Collection.swift",
        "Extensions/Sequence.swift",
        "Extensions/String+Regex.swift",
        "Extensions/String.swift",
        "Lexer/Lexer+CharacterSet.swift",
        "Lexer/Lexer+Escaped.swift",
        "Lexer/Lexer+Flags.swift",
        "Lexer/Lexer+Quantifier.swift",
        "Lexer/Lexer.swift",
        "Lexer/LexerState.swift",
        "Lexer/Token.swift",
        "Parser/Parser+Group.swift",
        "Parser/Parser+Quantifier.swift",
        "Parser/Parser.swift",
        "Parser/ParserState.swift",
        "Parser/Symbol.swift",
        "Parser/Token+Parser.swift",
        "Regex.swift",
        "RegexError.swift",
        "RegexMatch.swift",
        "VM/Engine+Execution.swift",
        "VM/Engine+Matching.swift",
        "VM/Engine.swift",
        "VM/Match.swift",
        "VM/Thread.swift",
        "VM/ThreadID.swift",
        "VM/ThreadIDGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.68s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 1.1.2 (1.35s)
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+Sequence.swift
[5/19] Compiling Generator Generator.swift
[6/19] Compiling Generator Generator+Peek.swift
[7/19] Compiling Generator Generator+Move.swift
[8/19] Compiling Generator Generator+Previous.swift
[9/19] Emitting module Generator
[10/19] Compiling Generator Character.swift
[11/19] Compiling Generator Collection+Generator.swift
[12/19] Compiling Generator Generator+String.swift
[13/19] Compiling Generator Generator+Iterator.swift
[14/20] Wrapping AST for Generator for debugging
[16/50] Compiling Regex Compiler+GroupCorrection.swift
[17/50] Compiling Regex Compiler+Quantifier.swift
[18/50] Compiling Regex Compiler.swift
[19/50] Compiling Regex Instruction.swift
[20/50] Compiling Regex SaveSlot.swift
[21/54] Compiling Regex Lexer+Quantifier.swift
[22/54] Compiling Regex Lexer.swift
[23/54] Compiling Regex LexerState.swift
[24/54] Compiling Regex Token.swift
[25/54] Compiling Regex Character+Regex.swift
[26/54] Compiling Regex Collection.swift
[27/54] Compiling Regex Sequence.swift
[28/54] Compiling Regex String+Regex.swift
[29/54] Compiling Regex Parser+Group.swift
[30/54] Compiling Regex Parser+Quantifier.swift
[31/54] Compiling Regex Parser.swift
[32/54] Compiling Regex ParserState.swift
[33/54] Emitting module Regex
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[34/54] Compiling Regex String.swift
[35/54] Compiling Regex Lexer+CharacterSet.swift
[36/54] Compiling Regex Lexer+Escaped.swift
[37/54] Compiling Regex Lexer+Flags.swift
[38/54] Compiling Regex RegexMatch.swift
[39/54] Compiling Regex Engine+Execution.swift
[40/54] Compiling Regex Engine+Matching.swift
[41/54] Compiling Regex Engine.swift
[42/54] Compiling Regex Symbol.swift
[43/54] Compiling Regex Token+Parser.swift
[44/54] Compiling Regex Regex.swift
[45/54] Compiling Regex RegexError.swift
[46/54] Compiling Regex Match.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[47/54] Compiling Regex Thread.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[48/54] Compiling Regex ThreadID.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[49/54] Compiling Regex ThreadIDGenerator.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[50/55] Wrapping AST for Regex for debugging
[51/55] Write Objects.LinkFileList
[53/55] Archiving libsRegex.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[54/55] Linking libdRegex.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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+Iterator.swift
[3/16] Compiling Generator Generator+String.swift
[4/16] Compiling Generator Generator+Sequence.swift
[5/16] Emitting module Generator
[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+Move.swift
[10/16] Compiling Generator Generator+Previous.swift
[11/16] Compiling Generator Generator.swift
[13/47] Emitting module Regex
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[14/51] Compiling Regex Lexer+Quantifier.swift
[15/51] Compiling Regex Lexer.swift
[16/51] Compiling Regex LexerState.swift
[17/51] Compiling Regex Token.swift
[18/51] Compiling Regex Match.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[19/51] Compiling Regex Thread.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[20/51] Compiling Regex ThreadID.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[21/51] Compiling Regex ThreadIDGenerator.swift
/host/spi-builder-workspace/Sources/Regex/VM/Thread.swift:25:6: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
23 | /// - Note: Only cares about `instructionPointer` and `startStringPointer`
24 | extension Thread: Hashable {
25 | 	var hashValue: Int {
   |      `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Thread' to 'Hashable' by implementing 'hash(into:)' instead
26 | 		return Int(Double((instructionPointer + startStringPointer) * (instructionPointer + startStringPointer + 1)) / 2.0) + startStringPointer
27 | 	}
[22/51] Compiling Regex Character+Regex.swift
[23/51] Compiling Regex Collection.swift
[24/51] Compiling Regex Sequence.swift
[25/51] Compiling Regex String+Regex.swift
[26/51] Compiling Regex Symbol.swift
[27/51] Compiling Regex Token+Parser.swift
[28/51] Compiling Regex Regex.swift
[29/51] Compiling Regex RegexError.swift
[30/51] Compiling Regex Compiler+GroupCorrection.swift
[31/51] Compiling Regex Compiler+Quantifier.swift
[32/51] Compiling Regex Compiler.swift
[33/51] Compiling Regex Instruction.swift
[34/51] Compiling Regex SaveSlot.swift
[35/51] Compiling Regex RegexMatch.swift
[36/51] Compiling Regex Engine+Execution.swift
[37/51] Compiling Regex Engine+Matching.swift
[38/51] Compiling Regex Engine.swift
[39/51] Compiling Regex Parser+Group.swift
[40/51] Compiling Regex Parser+Quantifier.swift
[41/51] Compiling Regex Parser.swift
[42/51] Compiling Regex ParserState.swift
[43/51] Compiling Regex String.swift
[44/51] Compiling Regex Lexer+CharacterSet.swift
[45/51] Compiling Regex Lexer+Escaped.swift
[46/51] Compiling Regex Lexer+Flags.swift
[47/52] Wrapping AST for Regex for debugging
[48/52] Write Objects.LinkFileList
[50/52] Archiving libsRegex.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[51/52] Linking libdRegex.wasm
BUILD FAILURE 6.1 wasm