The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-secrecy, reference 0.2.0 (54570e), with Swift 6.1 for Android on 28 May 2025 11:32:33 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattia/swift-secrecy.git
Reference: 0.2.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/mattia/swift-secrecy
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 54570e4 Fortify `Secret.Wrapped` value protection (#9)
Cloned https://github.com/mattia/swift-secrecy.git
Revision (git rev-parse @):
54570e445a100bffc239ef351fa4217e53f4b6f6
SUCCESS checkout https://github.com/mattia/swift-secrecy.git at 0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattia/swift-secrecy.git
https://github.com/mattia/swift-secrecy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-secrecy",
  "name" : "swift-secrecy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Secrecy",
      "targets" : [
        "Secrecy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SecrecyTests",
      "module_type" : "SwiftTarget",
      "name" : "SecrecyTests",
      "path" : "Tests/SecrecyTests",
      "sources" : [
        "SecrecyTests.swift"
      ],
      "target_dependencies" : [
        "Secrecy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Secrecy",
      "module_type" : "SwiftTarget",
      "name" : "Secrecy",
      "path" : "Sources/Secrecy",
      "product_memberships" : [
        "Secrecy"
      ],
      "sources" : [
        "Redactor.swift",
        "Secret+Decodable.swift",
        "Secret+Encodable.swift",
        "Secret+Literal.swift",
        "Secret.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/8] Compiling Secrecy Secret+Literal.swift
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:67:20: warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | where Element: InitializableByLiteralType {
 66 |   public var anonymizeValues: @Sendable () -> Array<Element> {
 67 |     { @Sendable in map(Element.redactor.redact) }
    |                    `- warning: capture of 'self' with non-sendable type 'Array<Element>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 68 |   }
 69 | }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:111:7: warning: capture of 'self' with non-sendable type 'Dictionary<Key, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 |   public var anonymizeValues: @Sendable () -> Dictionary<Key, Value> {
110 |     { @Sendable in
111 |       first
    |       `- warning: capture of 'self' with non-sendable type 'Dictionary<Key, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
112 |         .map { (key, value) in [Key.redactor.redact(key): Value.redactor.redact(value)] }
113 |         ?? [:]
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:111:7: warning: capture of 'self' with non-sendable type 'Dictionary<Key, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 |   public var anonymizeValues: @Sendable () -> Dictionary<Key, Value> {
110 |     { @Sendable in
111 |       first
    |       `- warning: capture of 'self' with non-sendable type 'Dictionary<Key, Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
112 |         .map { (key, value) in [Key.redactor.redact(key): Value.redactor.redact(value)] }
113 |         ?? [:]
[4/8] Compiling Secrecy Secret+Encodable.swift
[5/8] Compiling Secrecy Secret.swift
/host/spi-builder-workspace/Sources/Secrecy/Secret.swift:27:33: warning: generic parameter 'Wrapped' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 1 | /// A type that wraps a value which should not be exposed lightly.
 2 | @propertyWrapper
 3 | public struct Secret<Wrapped> {
   |                      `- note: 'Wrapped' previously declared here
 4 |   /// The value that should be treated with care.
 5 |   private let value: Wrapped
   :
25 |   }
26 |
27 |   public struct UnwrappedSecret<Wrapped> {
   |                                 `- warning: generic parameter 'Wrapped' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 |     public let value: Wrapped
29 |
[6/8] Emitting module Secrecy
/host/spi-builder-workspace/Sources/Secrecy/Secret.swift:27:33: warning: generic parameter 'Wrapped' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 1 | /// A type that wraps a value which should not be exposed lightly.
 2 | @propertyWrapper
 3 | public struct Secret<Wrapped> {
   |                      `- note: 'Wrapped' previously declared here
 4 |   /// The value that should be treated with care.
 5 |   private let value: Wrapped
   :
25 |   }
26 |
27 |   public struct UnwrappedSecret<Wrapped> {
   |                                 `- warning: generic parameter 'Wrapped' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
28 |     public let value: Wrapped
29 |
[7/8] Compiling Secrecy Secret+Decodable.swift
[8/8] Compiling Secrecy Redactor.swift
Build complete! (3.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-secrecy",
  "name" : "swift-secrecy",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Secrecy",
      "targets" : [
        "Secrecy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SecrecyTests",
      "module_type" : "SwiftTarget",
      "name" : "SecrecyTests",
      "path" : "Tests/SecrecyTests",
      "sources" : [
        "SecrecyTests.swift"
      ],
      "target_dependencies" : [
        "Secrecy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Secrecy",
      "module_type" : "SwiftTarget",
      "name" : "Secrecy",
      "path" : "Sources/Secrecy",
      "product_memberships" : [
        "Secrecy"
      ],
      "sources" : [
        "Redactor.swift",
        "Secret+Decodable.swift",
        "Secret+Encodable.swift",
        "Secret+Literal.swift",
        "Secret.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.