The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Observable, reference 2.0.0 (d510e7), with Swift 6.2 (beta) for Linux on 19 Jun 2025 16:51:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Flowduino/Observable.git
Reference: 2.0.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/Flowduino/Observable
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at d510e71 Version 2.0.0
Cloned https://github.com/Flowduino/Observable.git
Revision (git rev-parse @):
d510e710900ea52bbfd9aa037addd708cbff526c
SUCCESS checkout https://github.com/Flowduino/Observable.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Flowduino/Observable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Flowduino/ThreadSafeSwift.git
[1/53] Fetching threadsafeswift
Fetched https://github.com/Flowduino/ThreadSafeSwift.git from cache (0.20s)
Computing version for https://github.com/Flowduino/ThreadSafeSwift.git
Computed https://github.com/Flowduino/ThreadSafeSwift.git at 1.1.0 (0.58s)
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] Emitting module ThreadSafeSwift
[5/5] Compiling ThreadSafeSwift ThreadSafeSemaphore.swift
[7/14] Compiling Observable ObservableClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
18 |  */
19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
20 | open class ObservableClass: Observable, ObservableObject {
   |                                         `- error: cannot find type 'ObservableObject' in scope
21 |     /**
22 |      Contains a Weak Reference to an Observer.
[8/14] Compiling Observable ObservableThread.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:12: error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThread: Thread, Observable, ObservableObject {
    |            `- error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThread: Thread, Observable, ObservableObject {
    |                                                  `- error: cannot find type 'ObservableObject' in scope
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:140:13: error: cannot find 'objectWillChange' in scope
138 |     open func notifyChange() async {
139 |         await MainActor.run {
140 |             objectWillChange.send()
    |             `- error: cannot find 'objectWillChange' in scope
141 |         }
142 |     }
[9/15] Compiling Observable Observable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/15] Emitting module Observable
/host/spi-builder-workspace/Sources/Observable/ObservableClass.swift:20:41: error: cannot find type 'ObservableObject' in scope
18 |  */
19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
20 | open class ObservableClass: Observable, ObservableObject {
   |                                         `- error: cannot find type 'ObservableObject' in scope
21 |     /**
22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:12: error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThread: Thread, Observable, ObservableObject {
    |            `- error: cannot inherit from class 'Thread' (compiled with Swift 6.2) because it has overridable members that could not be loaded in Swift 5.10
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThread.swift:20:50: error: cannot find type 'ObservableObject' in scope
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThread: Thread, Observable, ObservableObject {
    |                                                  `- error: cannot find type 'ObservableObject' in scope
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThreadSafeClass: Observable, ObservableObject {
    |                                                   `- error: cannot find type 'ObservableObject' in scope
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
[11/15] Compiling Observable ObservableThreadSafeClass.swift
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:20:51: error: cannot find type 'ObservableObject' in scope
 18 |  */
 19 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 20 | open class ObservableThreadSafeClass: Observable, ObservableObject {
    |                                                   `- error: cannot find type 'ObservableObject' in scope
 21 |     /**
 22 |      Contains a Weak Reference to an Observer.
/host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift:140:13: error: cannot find 'objectWillChange' in scope
138 |     open func notifyChange() async {
139 |         await MainActor.run {
140 |             objectWillChange.send()
    |             `- error: cannot find 'objectWillChange' in scope
141 |         }
142 |     }
[12/15] Compiling Observable KeyedObservableClass.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[13/15] Compiling Observable KeyedObservable.swift
[14/15] Compiling Observable KeyedObservableThreadSafeClass.swift
swift-frontend: /home/build-user/swift/lib/SILGen/SILGenType.cpp:319: void (anonymous namespace)::SILGenVTableBase<(anonymous namespace)::SILGenVTable>::addPlaceholder(MissingMemberDecl *) [T = (anonymous namespace)::SILGenVTable]: Assertion `isResilient || m->getNumberOfVTableEntries() == 0 && "Should not be emitting fragile class with missing members"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Observable/Keyed/KeyedObservable.swift /host/spi-builder-workspace/Sources/Observable/Keyed/KeyedObservableClass.swift -primary-file /host/spi-builder-workspace/Sources/Observable/Keyed/KeyedObservableThread.swift /host/spi-builder-workspace/Sources/Observable/Keyed/KeyedObservableThreadSafeClass.swift /host/spi-builder-workspace/Sources/Observable/Observable.swift /host/spi-builder-workspace/Sources/Observable/ObservableClass.swift /host/spi-builder-workspace/Sources/Observable/ObservableThread.swift /host/spi-builder-workspace/Sources/Observable/ObservableThreadSafeClass.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Observable.build/KeyedObservableThread.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Observable.build/KeyedObservableThread.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Observable.build/KeyedObservableThread.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name Observable -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Observable.build/KeyedObservableThread.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2.	Compiling with effective version 5.10
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/Observable/Keyed/KeyedObservableThread.swift")
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x000055ccc8d37918
1  swift-frontend 0x000055ccc8d3543e
2  swift-frontend 0x000055ccc8d37fb1
3  libc.so.6      0x00007fb650255520
4  libc.so.6      0x00007fb6502a99fc pthread_kill + 300
5  libc.so.6      0x00007fb650255476 raise + 22
6  libc.so.6      0x00007fb65023b7f3 abort + 211
7  libc.so.6      0x00007fb65023b71b
8  libc.so.6      0x00007fb65024ce96
9  swift-frontend 0x000055ccc1a21cac
10 swift-frontend 0x000055ccc1a21ae6
11 swift-frontend 0x000055ccc1a21ae6
12 swift-frontend 0x000055ccc1a1cebd
13 swift-frontend 0x000055ccc1a1caa8
14 swift-frontend 0x000055ccc18ef853
15 swift-frontend 0x000055ccc18effa4
16 swift-frontend 0x000055ccc1a028c6
17 swift-frontend 0x000055ccc18f4f53
18 swift-frontend 0x000055ccc18f092f
19 swift-frontend 0x000055ccc10cf808
20 swift-frontend 0x000055ccc10e142a
21 swift-frontend 0x000055ccc10d27de
22 swift-frontend 0x000055ccc10d1878
23 swift-frontend 0x000055ccc0e4d26b
24 libc.so.6      0x00007fb65023cd90
25 libc.so.6      0x00007fb65023ce40 __libc_start_main + 128
26 swift-frontend 0x000055ccc0e4c265
BUILD FAILURE 6.2 linux