The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftRDPTools, reference 1.0.3 (11fd81), with Swift 6.1 for Android on 24 Oct 2025 22:10:21 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/timi2506/swift-rdp-tools.git
Reference: 1.0.3
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/timi2506/swift-rdp-tools
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 11fd818 Update RDPTools.swift
Cloned https://github.com/timi2506/swift-rdp-tools.git
Revision (git rev-parse @):
11fd818b99a458afd5129b6ab773fd818cf44a12
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/timi2506/swift-rdp-tools.git at 1.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/timi2506/swift-rdp-tools.git
https://github.com/timi2506/swift-rdp-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftRDPTools",
  "name" : "SwiftRDPTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RDPTools",
      "targets" : [
        "RDPTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RDPTools",
      "module_type" : "SwiftTarget",
      "name" : "RDPTools",
      "path" : "Sources/RDPTools",
      "product_memberships" : [
        "RDPTools"
      ],
      "sources" : [
        "RDPTools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling RDPTools RDPTools.swift
/host/spi-builder-workspace/Sources/RDPTools/RDPTools.swift:9:23: warning: static property 'username' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct RDPKey: RawRepresentable, Hashable, ExpressibleByStringLiteral, Codable {
    |               `- note: consider making struct 'RDPKey' conform to the 'Sendable' protocol
  4 |     public let rawValue: String
  5 |
    :
  7 |     public init(stringLiteral value: String) { self.rawValue = value }
  8 |
  9 |     public static let username: RDPKey = "username"
    |                       |- warning: static property 'username' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'username' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     public static let fullAddress: RDPKey = "full address"
 11 | }
/host/spi-builder-workspace/Sources/RDPTools/RDPTools.swift:10:23: warning: static property 'fullAddress' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct RDPKey: RawRepresentable, Hashable, ExpressibleByStringLiteral, Codable {
    |               `- note: consider making struct 'RDPKey' conform to the 'Sendable' protocol
  4 |     public let rawValue: String
  5 |
    :
  8 |
  9 |     public static let username: RDPKey = "username"
 10 |     public static let fullAddress: RDPKey = "full address"
    |                       |- warning: static property 'fullAddress' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'fullAddress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 | }
 12 |
[4/4] Emitting module RDPTools
/host/spi-builder-workspace/Sources/RDPTools/RDPTools.swift:9:23: warning: static property 'username' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct RDPKey: RawRepresentable, Hashable, ExpressibleByStringLiteral, Codable {
    |               `- note: consider making struct 'RDPKey' conform to the 'Sendable' protocol
  4 |     public let rawValue: String
  5 |
    :
  7 |     public init(stringLiteral value: String) { self.rawValue = value }
  8 |
  9 |     public static let username: RDPKey = "username"
    |                       |- warning: static property 'username' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'username' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |     public static let fullAddress: RDPKey = "full address"
 11 | }
/host/spi-builder-workspace/Sources/RDPTools/RDPTools.swift:10:23: warning: static property 'fullAddress' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public struct RDPKey: RawRepresentable, Hashable, ExpressibleByStringLiteral, Codable {
    |               `- note: consider making struct 'RDPKey' conform to the 'Sendable' protocol
  4 |     public let rawValue: String
  5 |
    :
  8 |
  9 |     public static let username: RDPKey = "username"
 10 |     public static let fullAddress: RDPKey = "full address"
    |                       |- warning: static property 'fullAddress' is not concurrency-safe because non-'Sendable' type 'RDPKey' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'fullAddress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 | }
 12 |
Build complete! (16.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftRDPTools",
  "name" : "SwiftRDPTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "RDPTools",
      "targets" : [
        "RDPTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RDPTools",
      "module_type" : "SwiftTarget",
      "name" : "RDPTools",
      "path" : "Sources/RDPTools",
      "product_memberships" : [
        "RDPTools"
      ],
      "sources" : [
        "RDPTools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.