The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-secrecy, reference main (63bb4a), with Swift 6.2 for Android on 19 Jun 2025 21:49:04 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattia/swift-secrecy.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/mattia/swift-secrecy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63bb4a5 Add manual dispatch to CI
Cloned https://github.com/mattia/swift-secrecy.git
Revision (git rev-parse @):
63bb4a5546d2463ebde86928594e0fe6c47ecb56
SUCCESS checkout https://github.com/mattia/swift-secrecy.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mattia/swift-secrecy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/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 |
[4/8] Compiling Secrecy Secret+Literal.swift
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:52:57: warning: capture of non-sendable type 'Wrapped.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 | extension Secret: ExpressibleByArrayLiteral where Wrapped: _InitializableByArrayLiteralElements {
 51 |   public init(arrayLiteral elements: Wrapped.ArrayLiteralElement...) {
 52 |     self.init(Wrapped(elements), redactor: Redactor{ $0.anonymizeValues() })
    |                                                         `- warning: capture of non-sendable type 'Wrapped.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |   }
 54 | }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:67:20: warning: capture of non-sendable type 'Element.Type' in an isolated 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 non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |   }
 69 | }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:66:62: warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 | extension Array: _InitializableByArrayLiteralElements
 65 | where Element: InitializableByLiteralType {
 66 |   public var anonymizeValues: @Sendable () -> Array<Element> {
    |                                                              `- warning: capture of non-sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     { @Sendable in map(Element.redactor.redact) }
 68 |   }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:90:58: warning: capture of non-sendable type 'Wrapped.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 | extension Secret: ExpressibleByDictionaryLiteral where Wrapped: _WrapperForDictionaryLiteralElements {
 89 |   public init(dictionaryLiteral elements: (Wrapped.Key, Wrapped.Value)...) {
 90 |     self.init(Wrapped(elements), redactor: Redactor { $0.anonymizeValues() })
    |                                                          `- warning: capture of non-sendable type 'Wrapped.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |   }
 92 | }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:113:9: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 |       first
112 |         .map { (key, value) in [Key.redactor.redact(key): Value.redactor.redact(value)] }
113 |         ?? [:]
    |         `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 |     }
115 |   }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:113:9: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
111 |       first
112 |         .map { (key, value) in [Key.redactor.redact(key): Value.redactor.redact(value)] }
113 |         ?? [:]
    |         `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 |     }
115 |   }
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:109:70: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 |   }
108 |
109 |   public var anonymizeValues: @Sendable () -> Dictionary<Key, Value> {
    |                                                                      `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 |     { @Sendable in
111 |       first
/host/spi-builder-workspace/Sources/Secrecy/Secret+Literal.swift:109:70: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 |   }
108 |
109 |   public var anonymizeValues: @Sendable () -> Dictionary<Key, Value> {
    |                                                                      `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 |     { @Sendable in
111 |       first
[5/8] Compiling Secrecy Secret+Encodable.swift
[6/8] Compiling Secrecy Redactor.swift
[7/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 |
[8/8] Compiling Secrecy Secret+Decodable.swift
Build complete! (6.70s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.