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

Successful build of Finite, reference 4.0.0 (f5376d), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 10:32:12 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/Finite.git
Reference: 4.0.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/vknabel/Finite
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at f5376dd Version 4.0.0
Cloned https://github.com/vknabel/Finite.git
Revision (git rev-parse @):
f5376dd4fe161d7d9f006247754db64982a5b87b
SUCCESS checkout https://github.com/vknabel/Finite.git at 4.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vknabel/Finite.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling Finite StateMachine.swift
[4/7] Emitting module Finite
/host/spi-builder-workspace/Sources/Ref.swift:37:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | internal class Ref<T> {
   |                    `- note: 'T' previously declared here
 8 |     private var value: () -> T?
 9 |
   :
35 |     }
36 |
37 |     private struct Weak<T> {
   |                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 |         fileprivate weak var value: Box<T>?
39 |     }
/host/spi-builder-workspace/Sources/Ref.swift:41:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | internal class Ref<T> {
   |                    `- note: 'T' previously declared here
 8 |     private var value: () -> T?
 9 |
   :
39 |     }
40 |
41 |     private class Box<T>: ReferenceDisposable {
   |                       `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |         var value: T?
43 |
[5/7] Compiling Finite Ref.swift
/host/spi-builder-workspace/Sources/Ref.swift:37:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | internal class Ref<T> {
   |                    `- note: 'T' previously declared here
 8 |     private var value: () -> T?
 9 |
   :
35 |     }
36 |
37 |     private struct Weak<T> {
   |                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 |         fileprivate weak var value: Box<T>?
39 |     }
/host/spi-builder-workspace/Sources/Ref.swift:41:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | }
 6 |
 7 | internal class Ref<T> {
   |                    `- note: 'T' previously declared here
 8 |     private var value: () -> T?
 9 |
   :
39 |     }
40 |
41 |     private class Box<T>: ReferenceDisposable {
   |                       `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 |         var value: T?
43 |
[6/7] Compiling Finite StateFlow.swift
[7/7] Compiling Finite Transition.swift
Build complete! (5.41s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Finite",
  "name" : "Finite",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Finite",
      "targets" : [
        "Finite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FiniteTests",
      "module_type" : "SwiftTarget",
      "name" : "FiniteTests",
      "path" : "Tests",
      "sources" : [
        "FiniteTests/StateFlowTests.swift",
        "FiniteTests/StateMachine.swift",
        "FiniteTests/SwiftShim.swift",
        "FiniteTests/TransitionTests.swift",
        "LinuxMain.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Finite"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Finite",
      "module_type" : "SwiftTarget",
      "name" : "Finite",
      "path" : "Sources",
      "product_memberships" : [
        "Finite"
      ],
      "sources" : [
        "Ref.swift",
        "StateFlow.swift",
        "StateMachine.swift",
        "Transition.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.