The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncObservable, reference main (0c7bde), with Swift 6.2 for Android on 23 Jun 2025 07:14:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/meech-ward/AsyncObservable.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/meech-ward/AsyncObservable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0c7bdec     remove continuation manually if terminated by not being assigned
Cloned https://github.com/meech-ward/AsyncObservable.git
Revision (git rev-parse @):
0c7bdec1fb0c5341de7e463385683cb0b655f885
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/meech-ward/AsyncObservable.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/meech-ward/AsyncObservable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/9] Compiling AsyncObservable StreamOf.swift
/host/spi-builder-workspace/Sources/AsyncObservable/StreamOf.swift:10:69: warning: conformance of 'AsyncStream<Element>.Continuation.BufferingPolicy' to protocol 'Sendable' conflicts with that stated in the type's module '_Concurrency' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 8 | #else
 9 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
10 | extension AsyncStream<Any>.Continuation.BufferingPolicy: @unchecked Sendable {}
   |                                                                     `- warning: conformance of 'AsyncStream<Element>.Continuation.BufferingPolicy' to protocol 'Sendable' conflicts with that stated in the type's module '_Concurrency' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
11 | #endif
12 |
_Concurrency.AsyncStream.Continuation.BufferingPolicy:3:47: note: 'AsyncStream<Element>.Continuation.BufferingPolicy' declares conformance to protocol 'Sendable' here
1 | generic struct AsyncStream {
2 |   struct Continuation {
3 | public enum AsyncStream<Element>.Continuation.BufferingPolicy : Sendable {
  |                                               `- note: 'AsyncStream<Element>.Continuation.BufferingPolicy' declares conformance to protocol 'Sendable' here
4 |     case unbounded
5 |     case bufferingOldest(Int)
[5/9] Compiling AsyncObservable AsyncObservableUnwrapped.swift
[6/9] Compiling AsyncObservable AsyncObservable.swift
[7/9] Compiling AsyncObservable AsyncObservableReadOnly.swift
[8/9] Emitting module AsyncObservable
/host/spi-builder-workspace/Sources/AsyncObservable/StreamOf.swift:10:69: warning: conformance of 'AsyncStream<Element>.Continuation.BufferingPolicy' to protocol 'Sendable' conflicts with that stated in the type's module '_Concurrency' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
 8 | #else
 9 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
10 | extension AsyncStream<Any>.Continuation.BufferingPolicy: @unchecked Sendable {}
   |                                                                     `- warning: conformance of 'AsyncStream<Element>.Continuation.BufferingPolicy' to protocol 'Sendable' conflicts with that stated in the type's module '_Concurrency' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
11 | #endif
12 |
_Concurrency.AsyncStream.Continuation.BufferingPolicy:3:47: note: 'AsyncStream<Element>.Continuation.BufferingPolicy' declares conformance to protocol 'Sendable' here
1 | generic struct AsyncStream {
2 |   struct Continuation {
3 | public enum AsyncStream<Element>.Continuation.BufferingPolicy : Sendable {
  |                                               `- note: 'AsyncStream<Element>.Continuation.BufferingPolicy' declares conformance to protocol 'Sendable' here
4 |     case unbounded
5 |     case bufferingOldest(Int)
[9/9] Compiling AsyncObservable AsyncObservableBase.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[11/12] Emitting module AsyncObservableUserDefaults
swift-frontend: /home/build-user/swift/lib/Sema/TypeCheckDeclPrimary.cpp:1171: void checkInheritedDefaultValueRestrictions(ParamDecl *): Assertion `(DC->isInSwiftinterface() || PD->isImplicit()) && "explicit inherited default argument outside of a module interface?"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AsyncObservableUserDefaults.build/AsyncObservableUserDefaults.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AsyncObservableUserDefaults.build/AsyncObservableUserDefaults.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AsyncObservableUserDefaults.build/AsyncObservableUserDefaults.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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/aarch64-unknown-linux-android28/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name AsyncObservableUserDefaults -package-name spi_builder_workspace -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.2-snapshot-2025-05-15/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/AsyncObservableUserDefaults.build/AsyncObservableUserDefaults.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/index/store -index-system-modules
1.	Swift version 6.2-dev (LLVM 74f18b3ab32b72c, Swift 245514cab31b823)
2.	Compiling with effective version 5.10
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(AsyncObservableUserDefaults.(file).AsyncObservableUserDefaults.init(key:initialValue:userDefaults:serialQueue:saveImmediately:)@/host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift:42:10)
5.	While type-checking statement at [/host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift:48:5 - line:61:3] RangeText="{
    var _initialValue = initialValue
    self.userDefaults = userDefaults
    let data = userDefaults.data(forKey: key)
    if let data, let value = try? JSONDecoder().decode(T.self, from: data) {
      _initialValue = value
    }
    self.key = key
    super.init(_initialValue, serialQueue: serialQueue)
    if saveImmediately && data == nil {
      save(initialValue, forKey: key)
    }
  "
6.	While type-checking expression at [/host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift:57:5 - line:57:55] RangeText="super.init(_initialValue, serialQueue: serialQueue"
7.	While type-checking-target starting at /host/spi-builder-workspace/Sources/AsyncObservableUserDefaults/AsyncObservableUserDefaults.swift:57:11
8.	While evaluating request DefaultArgumentTypeRequest(AsyncObservable.(file).AsyncObservable.init(_:bufferingPolicy:serialQueue:).bufferingPolicy)
9.	While evaluating request DefaultArgumentExprRequest(AsyncObservable.(file).AsyncObservable.init(_:bufferingPolicy:serialQueue:).bufferingPolicy)
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 0x0000558f700f3c58
1  swift-frontend 0x0000558f700f177e
2  swift-frontend 0x0000558f700f42f1
3  libc.so.6      0x00007fed7ed68520
4  libc.so.6      0x00007fed7edbc9fc pthread_kill + 300
5  libc.so.6      0x00007fed7ed68476 raise + 22
6  libc.so.6      0x00007fed7ed4e7f3 abort + 211
7  libc.so.6      0x00007fed7ed4e71b
8  libc.so.6      0x00007fed7ed5fe96
9  swift-frontend 0x0000558f69b866d5
10 swift-frontend 0x0000558f6a22eb07
11 swift-frontend 0x0000558f6a1904eb
12 swift-frontend 0x0000558f69b86779
13 swift-frontend 0x0000558f6a2301a7
14 swift-frontend 0x0000558f6a1905c7
15 swift-frontend 0x0000558f6996f24b
16 swift-frontend 0x0000558f6996d3c8
17 swift-frontend 0x0000558f6995c2ce
18 swift-frontend 0x0000558f69937d1f
19 swift-frontend 0x0000558f6992715f
20 swift-frontend 0x0000558f6a0f2da6
21 swift-frontend 0x0000558f6a0f2d70
22 swift-frontend 0x0000558f6a0f2cb3
23 swift-frontend 0x0000558f6992163e
24 swift-frontend 0x0000558f6991f1e5
25 swift-frontend 0x0000558f69998400
26 swift-frontend 0x0000558f69997dcf
27 swift-frontend 0x0000558f69b3bf26
28 swift-frontend 0x0000558f69b3bda1
29 swift-frontend 0x0000558f69b3bc76
30 swift-frontend 0x0000558f69c3a7d8
31 swift-frontend 0x0000558f69c3eb8d
32 swift-frontend 0x0000558f69c3c7dc
33 swift-frontend 0x0000558f69c3c024
34 swift-frontend 0x0000558f69c3bbbe
35 swift-frontend 0x0000558f6a23b702
36 swift-frontend 0x0000558f6a193219
37 swift-frontend 0x0000558f6a319168
38 swift-frontend 0x0000558f69ca95d2
39 swift-frontend 0x0000558f69cab5bb
40 swift-frontend 0x0000558f69ca94b5
41 swift-frontend 0x0000558f688026d9
42 swift-frontend 0x0000558f687f898a
43 swift-frontend 0x0000558f687f877b
44 swift-frontend 0x0000558f684a0772
45 swift-frontend 0x0000558f68491bbe
46 swift-frontend 0x0000558f68490c5c
47 swift-frontend 0x0000558f6820c5ab
48 libc.so.6      0x00007fed7ed4fd90
49 libc.so.6      0x00007fed7ed4fe40 __libc_start_main + 128
50 swift-frontend 0x0000558f6820b5a5
BUILD FAILURE 6.2 android