Build Information
Successful build of Observable with Swift 6.0 for Linux.
Swift 6 data race errors: 0
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roberthein/Observable.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c789e97 Update version number.
Cloned https://github.com/roberthein/Observable.git
Revision (git rev-parse @):
c789e973131a4c2aba2a575345a91bcc06eef38d
SUCCESS checkout https://github.com/roberthein/Observable.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/roberthein/Observable.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module Observable
[4/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 {
[5/6] Compiling Observable Disposable.swift
[6/6] Compiling Observable Observable+Binding.swift
Build complete! (10.67s)
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"
}
Done.