The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 0.4.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/meech-ward/AsyncObservable
 * tag               0.4.1      -> FETCH_HEAD
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 0.4.1
========================================
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-4606859-1":/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 AsyncObservableReadOnly.swift
[7/9] Compiling AsyncObservable AsyncObservable.swift
[8/9] Compiling AsyncObservable AsyncObservableBase.swift
[9/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)
error: compile command failed due to signal 6 (use -v to see invocation)
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 0x000055d529ddcc58
1  swift-frontend 0x000055d529dda77e
2  swift-frontend 0x000055d529ddd2f1
3  libc.so.6      0x00007f88ca4ef520
4  libc.so.6      0x00007f88ca5439fc pthread_kill + 300
5  libc.so.6      0x00007f88ca4ef476 raise + 22
6  libc.so.6      0x00007f88ca4d57f3 abort + 211
7  libc.so.6      0x00007f88ca4d571b
8  libc.so.6      0x00007f88ca4e6e96
9  swift-frontend 0x000055d52386f6d5
10 swift-frontend 0x000055d523f17b07
11 swift-frontend 0x000055d523e794eb
12 swift-frontend 0x000055d52386f779
13 swift-frontend 0x000055d523f191a7
14 swift-frontend 0x000055d523e795c7
15 swift-frontend 0x000055d52365824b
16 swift-frontend 0x000055d5236563c8
17 swift-frontend 0x000055d5236452ce
18 swift-frontend 0x000055d523620d1f
19 swift-frontend 0x000055d52361015f
20 swift-frontend 0x000055d523ddbda6
21 swift-frontend 0x000055d523ddbd70
22 swift-frontend 0x000055d523ddbcb3
23 swift-frontend 0x000055d52360a63e
24 swift-frontend 0x000055d5236081e5
25 swift-frontend 0x000055d523681400
26 swift-frontend 0x000055d523680dcf
27 swift-frontend 0x000055d523824f26
28 swift-frontend 0x000055d523824da1
29 swift-frontend 0x000055d523824c76
30 swift-frontend 0x000055d5239237d8
31 swift-frontend 0x000055d523927b8d
32 swift-frontend 0x000055d5239257dc
33 swift-frontend 0x000055d523925024
34 swift-frontend 0x000055d523924bbe
35 swift-frontend 0x000055d523f24702
36 swift-frontend 0x000055d523e7c219
37 swift-frontend 0x000055d524002168
38 swift-frontend 0x000055d5239925d2
39 swift-frontend 0x000055d5239945bb
40 swift-frontend 0x000055d5239924b5
41 swift-frontend 0x000055d5224eb6d9
42 swift-frontend 0x000055d5224e198a
43 swift-frontend 0x000055d5224e177b
44 swift-frontend 0x000055d522189772
45 swift-frontend 0x000055d52217abbe
46 swift-frontend 0x000055d522179c5c
47 swift-frontend 0x000055d521ef55ab
48 libc.so.6      0x00007f88ca4d6d90
49 libc.so.6      0x00007f88ca4d6e40 __libc_start_main + 128
50 swift-frontend 0x000055d521ef45a5
BUILD FAILURE 6.2 android