The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RandomPasswordGenerator, reference main (362a5b), with Swift 6.1 for Wasm on 29 May 2025 05:28:26 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/yukanamori/RandomPasswordGenerator.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/yukanamori/RandomPasswordGenerator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 362a5b1 Modify usage
Cloned https://github.com/yukanamori/RandomPasswordGenerator.git
Revision (git rev-parse @):
362a5b1253395aad39d47e8e8a6b0e9273da0e43
SUCCESS checkout https://github.com/yukanamori/RandomPasswordGenerator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yukanamori/RandomPasswordGenerator.git
https://github.com/yukanamori/RandomPasswordGenerator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RandomPasswordGenerator",
  "name" : "RandomPasswordGenerator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RandomPasswordGenerator",
      "targets" : [
        "RandomPasswordGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RandomPasswordGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "RandomPasswordGeneratorTests",
      "path" : "Tests/RandomPasswordGeneratorTests",
      "sources" : [
        "RandomPasswordGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "RandomPasswordGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RandomPasswordGenerator",
      "module_type" : "SwiftTarget",
      "name" : "RandomPasswordGenerator",
      "path" : "Sources/RandomPasswordGenerator",
      "product_memberships" : [
        "RandomPasswordGenerator"
      ],
      "sources" : [
        "RandomPasswordGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module RandomPasswordGenerator
/host/spi-builder-workspace/Sources/RandomPasswordGenerator/RandomPasswordGenerator.swift:26:70: warning: associated value 'noAvailableCharactersForType' of 'Sendable'-conforming enum 'RandomPasswordGeneratorError' has non-sendable type 'CharacterType'; this is an error in the Swift 6 language mode
  2 |
  3 | /// Represents the type of characters to be used in the password.
  4 | public enum CharacterType {
    |             `- note: consider making enum 'CharacterType' conform to the 'Sendable' protocol
  5 |     case digits, uppercase, lowercase
  6 |     /// Includes all ASCII symbols except for space.
    :
 24 | /// Represents the errors that can occur during password generation.
 25 | public enum RandomPasswordGeneratorError: LocalizedError, Equatable {
 26 |     case insufficientLength, emptyCharacterTypes, emptyCharacterSet, noAvailableCharactersForType(CharacterType)
    |                                                                      `- warning: associated value 'noAvailableCharactersForType' of 'Sendable'-conforming enum 'RandomPasswordGeneratorError' has non-sendable type 'CharacterType'; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Returns a localized description of the error.
[4/4] Compiling RandomPasswordGenerator RandomPasswordGenerator.swift
/host/spi-builder-workspace/Sources/RandomPasswordGenerator/RandomPasswordGenerator.swift:26:70: warning: associated value 'noAvailableCharactersForType' of 'Sendable'-conforming enum 'RandomPasswordGeneratorError' has non-sendable type 'CharacterType'; this is an error in the Swift 6 language mode
  2 |
  3 | /// Represents the type of characters to be used in the password.
  4 | public enum CharacterType {
    |             `- note: consider making enum 'CharacterType' conform to the 'Sendable' protocol
  5 |     case digits, uppercase, lowercase
  6 |     /// Includes all ASCII symbols except for space.
    :
 24 | /// Represents the errors that can occur during password generation.
 25 | public enum RandomPasswordGeneratorError: LocalizedError, Equatable {
 26 |     case insufficientLength, emptyCharacterTypes, emptyCharacterSet, noAvailableCharactersForType(CharacterType)
    |                                                                      `- warning: associated value 'noAvailableCharactersForType' of 'Sendable'-conforming enum 'RandomPasswordGeneratorError' has non-sendable type 'CharacterType'; this is an error in the Swift 6 language mode
 27 |
 28 |     /// Returns a localized description of the error.
Build complete! (6.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RandomPasswordGenerator",
  "name" : "RandomPasswordGenerator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RandomPasswordGenerator",
      "targets" : [
        "RandomPasswordGenerator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RandomPasswordGeneratorTests",
      "module_type" : "SwiftTarget",
      "name" : "RandomPasswordGeneratorTests",
      "path" : "Tests/RandomPasswordGeneratorTests",
      "sources" : [
        "RandomPasswordGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "RandomPasswordGenerator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RandomPasswordGenerator",
      "module_type" : "SwiftTarget",
      "name" : "RandomPasswordGenerator",
      "path" : "Sources/RandomPasswordGenerator",
      "product_memberships" : [
        "RandomPasswordGenerator"
      ],
      "sources" : [
        "RandomPasswordGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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.