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 HiveEngine, reference 3.1.4 (0fa54c), with Swift 6.1 for Wasm on 27 May 2025 23:11:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/autoreleasefool/hive-engine.git
Reference: 3.1.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/autoreleasefool/hive-engine
 * tag               3.1.4      -> FETCH_HEAD
HEAD is now at 0fa54ca Move testing utilities into target
Cloned https://github.com/autoreleasefool/hive-engine.git
Revision (git rev-parse @):
0fa54ca24d7881d661119d97fe0867bd3bf72ff6
SUCCESS checkout https://github.com/autoreleasefool/hive-engine.git at 3.1.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/autoreleasefool/hive-engine.git
https://github.com/autoreleasefool/hive-engine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    }
  ],
  "manifest_display_name" : "HiveEngine",
  "name" : "HiveEngine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.4"
    }
  ],
  "products" : [
    {
      "name" : "HiveEngine",
      "targets" : [
        "HiveEngine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HiveEngineTestUtilities",
      "targets" : [
        "HiveEngineTestUtilities"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HiveEngineTests",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineTests",
      "path" : "Tests/HiveEngineTests",
      "sources" : [
        "Engine/Commands/BestMoveCommandTests.swift",
        "Engine/Commands/InfoCommandTests.swift",
        "Engine/Commands/NewGameCommandTests.swift",
        "Engine/Commands/OptionsCommandTests.swift",
        "Engine/Commands/PlayCommandTests.swift",
        "Engine/Commands/UHPCommandParserTests.swift",
        "Engine/Commands/UndoCommandTests.swift",
        "Engine/Commands/ValidMovesCommandTests.swift",
        "Engine/EngineTests.swift",
        "Engine/Util/GameStringTests.swift",
        "Engine/Util/TurnStringTests.swift",
        "State/GameState+UHPTests.swift",
        "State/GameStateTests.swift",
        "State/MovementTests.swift",
        "State/PlayerTests.swift",
        "State/PositionTests.swift",
        "State/RelativeMovementTests.swift",
        "Unit/Unit+AntTests.swift",
        "Unit/Unit+BeetleTests.swift",
        "Unit/Unit+HopperTests.swift",
        "Unit/Unit+LadyBugTests.swift",
        "Unit/Unit+MosquitoTests.swift",
        "Unit/Unit+PillBugTests.swift",
        "Unit/Unit+QueenTests.swift",
        "Unit/Unit+SpiderTests.swift",
        "Unit/UnitTests.swift",
        "Validation/PerftTests.swift"
      ],
      "target_dependencies" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HiveEngineTestUtilities",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineTestUtilities",
      "path" : "Sources/HiveEngineTestUtilities",
      "product_memberships" : [
        "HiveEngineTestUtilities"
      ],
      "sources" : [
        "GameStateProvider/GameStateProvider+Ant.swift",
        "GameStateProvider/GameStateProvider+Beetle.swift",
        "GameStateProvider/GameStateProvider+Hopper.swift",
        "GameStateProvider/GameStateProvider+LadyBug.swift",
        "GameStateProvider/GameStateProvider+Mosquito.swift",
        "GameStateProvider/GameStateProvider+PillBug.swift",
        "GameStateProvider/GameStateProvider+Queen.swift",
        "GameStateProvider/GameStateProvider+Spider.swift",
        "GameStateProvider/GameStateProvider.swift",
        "HiveEngineTestCase.swift"
      ],
      "target_dependencies" : [
        "HiveEngine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HiveEngineBenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngineBenchmarkTests",
      "path" : "Tests/HiveEngineBenchmarkTests",
      "sources" : [
        "State/GameStateBenchmarkTests.swift",
        "State/PositionBenchmarkTests.swift",
        "Unit/BeetleBenchmarkTests.swift"
      ],
      "target_dependencies" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HiveEngine",
      "module_type" : "SwiftTarget",
      "name" : "HiveEngine",
      "path" : "Sources/HiveEngine",
      "product_dependencies" : [
        "Regex"
      ],
      "product_memberships" : [
        "HiveEngine",
        "HiveEngineTestUtilities"
      ],
      "sources" : [
        "Engine/Commands/BestMoveCommand.swift",
        "Engine/Commands/InfoCommand.swift",
        "Engine/Commands/NewGameCommand.swift",
        "Engine/Commands/OptionsCommand.swift",
        "Engine/Commands/PlayCommand.swift",
        "Engine/Commands/UHPCommand.swift",
        "Engine/Commands/UHPResult.swift",
        "Engine/Commands/UndoCommand.swift",
        "Engine/Commands/ValidMovesCommand.swift",
        "Engine/Engine.swift",
        "Engine/Util/GameStateString.swift",
        "Engine/Util/GameString.swift",
        "Engine/Util/GameTypeString.swift",
        "Engine/Util/MoveString.swift",
        "Engine/Util/TurnString.swift",
        "Extensions/FatalError.swift",
        "State/GameState+UHP.swift",
        "State/GameState.swift",
        "State/Movement.swift",
        "State/Player.swift",
        "State/Position.swift",
        "State/RelativeMovement.swift",
        "Unit/Unit+Ant.swift",
        "Unit/Unit+Beetle.swift",
        "Unit/Unit+Hopper.swift",
        "Unit/Unit+LadyBug.swift",
        "Unit/Unit+Mosquito.swift",
        "Unit/Unit+PillBug.swift",
        "Unit/Unit+Queen.swift",
        "Unit/Unit+Spider.swift",
        "Unit/Unit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/sharplet/Regex.git
[1/1254] Fetching regex
Fetched https://github.com/sharplet/Regex.git from cache (0.95s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.34s)
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling Regex Foundation+Ranges.swift
[6/11] Compiling Regex String+ReplaceMatching.swift
[7/11] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[8/11] Compiling Regex Options.swift
[9/11] Compiling Regex MatchResult.swift
[10/11] Emitting module Regex
[11/11] Compiling Regex Regex.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Regex ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:13:14: error: cannot find 'Thread' in scope
11 |   var value: T? {
12 |     get {
13 |       return Thread.current.threadDictionary[key] as? T
   |              `- error: cannot find 'Thread' in scope
14 |     }
15 |     set {
/host/spi-builder-workspace/.build/checkouts/Regex/Source/Regex/ThreadLocal.swift:16:7: error: cannot find 'Thread' in scope
14 |     }
15 |     set {
16 |       Thread.current.threadDictionary[key] = newValue
   |       `- error: cannot find 'Thread' in scope
17 |     }
18 |   }
[3/8] Compiling Regex String+ReplaceMatching.swift
[4/8] Compiling Regex Foundation+Ranges.swift
[5/8] Compiling Regex MatchResult.swift
[6/8] Emitting module Regex
[7/8] Compiling Regex Options.swift
[8/8] Compiling Regex Regex.swift
BUILD FAILURE 6.1 wasm