The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Observable with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flowduino/Observable.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/Flowduino/Observable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8634c9d Update FUNDING.yml
Cloned https://github.com/Flowduino/Observable.git
Revision (git rev-parse @):
8634c9d72b50763a6d66879fafa2cdd0345fce17
SUCCESS checkout https://github.com/Flowduino/Observable.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Flowduino/Observable.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
[1/53] Fetching threadsafeswift
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.24s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.42s)
Creating working copy for https://github.com/Flowduino/ThreadSafeSwift.git
Working copy of https://github.com/Flowduino/ThreadSafeSwift.git resolved at 1.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
[5/5] Emitting module ThreadSafeSwift
[7/14] Compiling Observable Observable.swift
[8/14] Compiling Observable ObservableThread.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
open class ObservableThread: Thread, Observable, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:140:13: error: cannot find 'objectWillChange' in scope
            objectWillChange.send()
            ^~~~~~~~~~~~~~~~
[9/14] Compiling Observable ObservableClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
open class ObservableClass: Observable, ObservableObject {
                                        ^~~~~~~~~~~~~~~~
[10/15] Compiling Observable ObservableThreadSafeClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
open class ObservableThreadSafeClass: Observable, ObservableObject {
                                                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:140:13: error: cannot find 'objectWillChange' in scope
            objectWillChange.send()
            ^~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/15] Compiling Observable KeyedObservable.swift
[12/15] Emitting module Observable
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
open class ObservableClass: Observable, ObservableObject {
                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
open class ObservableThread: Thread, Observable, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
open class ObservableThreadSafeClass: Observable, ObservableObject {
                                                  ^~~~~~~~~~~~~~~~
[13/15] Compiling Observable KeyedObservableClass.swift
[14/15] Compiling Observable KeyedObservableThread.swift
[15/15] Compiling Observable KeyedObservableThreadSafeClass.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module Observable
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
open class ObservableClass: Observable, ObservableObject {
                                        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
open class ObservableThread: Thread, Observable, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
open class ObservableThreadSafeClass: Observable, ObservableObject {
                                                  ^~~~~~~~~~~~~~~~
[3/5] Compiling Observable ObservableClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
open class ObservableClass: Observable, ObservableObject {
                                        ^~~~~~~~~~~~~~~~
[4/5] Compiling Observable ObservableThreadSafeClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
open class ObservableThreadSafeClass: Observable, ObservableObject {
                                                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:140:13: error: cannot find 'objectWillChange' in scope
            objectWillChange.send()
            ^~~~~~~~~~~~~~~~
[5/5] Compiling Observable ObservableThread.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
open class ObservableThread: Thread, Observable, ObservableObject {
                                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:140:13: error: cannot find 'objectWillChange' in scope
            objectWillChange.send()
            ^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux