The Swift Package Index logo.Swift Package Index

Build Information

Successful build of zxcvbn, reference main (2d0c11), with Swift 6.1 for Wasm on 29 May 2025 06:16:21 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DeVitoC/zxcvbn-swift.git
Reference: main
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/DeVitoC/zxcvbn-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2d0c113 Create LICENSE
Cloned https://github.com/DeVitoC/zxcvbn-swift.git
Revision (git rev-parse @):
2d0c1137bab12e2c1dc13f167c650256bf60d0b8
SUCCESS checkout https://github.com/DeVitoC/zxcvbn-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DeVitoC/zxcvbn-swift.git
https://github.com/DeVitoC/zxcvbn-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "zxcvbn",
  "name" : "zxcvbn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "zxcvbn",
      "targets" : [
        "zxcvbn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "zxcvbnTests",
      "module_type" : "SwiftTarget",
      "name" : "zxcvbnTests",
      "path" : "Tests/zxcvbn-Tests",
      "sources" : [
        "TestCompatibility.swift",
        "TestHelpers.swift",
        "TestMatching.swift",
        "TestMatchingHelpers.swift",
        "TestScoring.swift",
        "TestTimeEstimates.swift",
        "TestValues1.swift"
      ],
      "target_dependencies" : [
        "zxcvbn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "zxcvbn",
      "module_type" : "SwiftTarget",
      "name" : "zxcvbn",
      "path" : "Sources/zxcvbn",
      "product_memberships" : [
        "zxcvbn"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/zxcvbn/Resources/adjacency-graphs.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/zxcvbn/Resources/frequency-lists.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Feedback.swift",
        "Match.swift",
        "Matching.swift",
        "MatchingHelpers.swift",
        "MostGuessableMatchSequenceResult.swift",
        "Optimal.swift",
        "Scoring.swift",
        "TimeEstimates.swift",
        "helpers.swift",
        "zxcvbn.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/4] Write sources
[0/4] Copying adjacency-graphs.json
[2/4] Copying frequency-lists.json
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling zxcvbn Scoring.swift
[6/16] Compiling zxcvbn zxcvbn.swift
[7/16] Compiling zxcvbn MostGuessableMatchSequenceResult.swift
[8/16] Compiling zxcvbn Optimal.swift
[9/16] Compiling zxcvbn Feedback.swift
[10/16] Compiling zxcvbn Match.swift
[11/16] Compiling zxcvbn Matching.swift
/host/spi-builder-workspace/Sources/zxcvbn/MatchingHelpers.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | class MatchingHelpers {
 11 |     static var shared = MatchingHelpers()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     let l33tTable: [Character: [Character]] = [
 13 |         "a": ["4", "@"],
[12/16] Compiling zxcvbn MatchingHelpers.swift
/host/spi-builder-workspace/Sources/zxcvbn/MatchingHelpers.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | class MatchingHelpers {
 11 |     static var shared = MatchingHelpers()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     let l33tTable: [Character: [Character]] = [
 13 |         "a": ["4", "@"],
[13/16] Emitting module zxcvbn
/host/spi-builder-workspace/Sources/zxcvbn/MatchingHelpers.swift:11:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | class MatchingHelpers {
 11 |     static var shared = MatchingHelpers()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     let l33tTable: [Character: [Character]] = [
 13 |         "a": ["4", "@"],
[14/16] Compiling zxcvbn helpers.swift
[15/16] Compiling zxcvbn TimeEstimates.swift
[16/16] Compiling zxcvbn resource_bundle_accessor.swift
Build complete! (8.13s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "zxcvbn",
  "name" : "zxcvbn",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "zxcvbn",
      "targets" : [
        "zxcvbn"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "zxcvbnTests",
      "module_type" : "SwiftTarget",
      "name" : "zxcvbnTests",
      "path" : "Tests/zxcvbn-Tests",
      "sources" : [
        "TestCompatibility.swift",
        "TestHelpers.swift",
        "TestMatching.swift",
        "TestMatchingHelpers.swift",
        "TestScoring.swift",
        "TestTimeEstimates.swift",
        "TestValues1.swift"
      ],
      "target_dependencies" : [
        "zxcvbn"
      ],
      "type" : "test"
    },
    {
      "c99name" : "zxcvbn",
      "module_type" : "SwiftTarget",
      "name" : "zxcvbn",
      "path" : "Sources/zxcvbn",
      "product_memberships" : [
        "zxcvbn"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/zxcvbn/Resources/adjacency-graphs.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/zxcvbn/Resources/frequency-lists.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Feedback.swift",
        "Match.swift",
        "Matching.swift",
        "MatchingHelpers.swift",
        "MostGuessableMatchSequenceResult.swift",
        "Optimal.swift",
        "Scoring.swift",
        "TimeEstimates.swift",
        "helpers.swift",
        "zxcvbn.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
Done.