The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Observable, reference 2.2.1 (60aad1), with Swift 6.1 for Android on 30 May 2025 05:26:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/roberthein/Observable.git
Reference: 2.2.1
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/roberthein/Observable
 * tag               2.2.1      -> FETCH_HEAD
HEAD is now at 60aad1e Update min target
Cloned https://github.com/roberthein/Observable.git
Revision (git rev-parse @):
60aad1ecc56ae0b54e68bfb48aa89cb026488fc5
SUCCESS checkout https://github.com/roberthein/Observable.git at 2.2.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/roberthein/Observable.git
https://github.com/roberthein/Observable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Observable",
  "name" : "Observable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Observable",
      "targets" : [
        "Observable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObservableTests",
      "module_type" : "SwiftTarget",
      "name" : "ObservableTests",
      "path" : "Observable/Tests",
      "sources" : [
        "Disposable_Tests.swift",
        "Observable_Tests.swift"
      ],
      "target_dependencies" : [
        "Observable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Observable",
      "module_type" : "SwiftTarget",
      "name" : "Observable",
      "path" : "Observable/Classes",
      "product_memberships" : [
        "Observable"
      ],
      "sources" : [
        "Disposable.swift",
        "Observable+Binding.swift",
        "Observable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/6] Compiling Observable Observable.swift
/host/spi-builder-workspace/Observable/Classes/Observable.swift:86:17: warning: capture of 'observer' with non-sendable type 'Observable<T>.Observer' (aka '(T, Optional<T>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 |         if let queue = queue {
 85 |             queue.async {
 86 |                 observer(value, oldValue)
    |                 |- warning: capture of 'observer' with non-sendable type 'Observable<T>.Observer' (aka '(T, Optional<T>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 87 |             }
 88 |         } else {
/host/spi-builder-workspace/Observable/Classes/Observable.swift:86:26: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | public typealias ImmutableObservable = Observable
  5 |
  6 | open class Observable<T> {
    |                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  7 |
  8 |     public typealias Observer = (T, T?) -> Void
    :
 84 |         if let queue = queue {
 85 |             queue.async {
 86 |                 observer(value, oldValue)
    |                          `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 87 |             }
 88 |         } else {
/host/spi-builder-workspace/Observable/Classes/Observable.swift:86:33: warning: capture of 'oldValue' with non-sendable type 'T?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | public typealias ImmutableObservable = Observable
  5 |
  6 | open class Observable<T> {
    |                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  7 |
  8 |     public typealias Observer = (T, T?) -> Void
    :
 84 |         if let queue = queue {
 85 |             queue.async {
 86 |                 observer(value, oldValue)
    |                                 `- warning: capture of 'oldValue' with non-sendable type 'T?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 87 |             }
 88 |         } else {
[4/6] Compiling Observable Disposable.swift
[5/6] Emitting module Observable
[6/6] Compiling Observable Observable+Binding.swift
Build complete! (9.50s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Observable",
  "name" : "Observable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Observable",
      "targets" : [
        "Observable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ObservableTests",
      "module_type" : "SwiftTarget",
      "name" : "ObservableTests",
      "path" : "Observable/Tests",
      "sources" : [
        "Disposable_Tests.swift",
        "Observable_Tests.swift"
      ],
      "target_dependencies" : [
        "Observable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Observable",
      "module_type" : "SwiftTarget",
      "name" : "Observable",
      "path" : "Observable/Classes",
      "product_memberships" : [
        "Observable"
      ],
      "sources" : [
        "Disposable.swift",
        "Observable+Binding.swift",
        "Observable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.