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 DidUpdate, reference main (3fc88f), with Swift 6.2 (beta) for Android on 23 Jun 2025 01:51:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/PimCoumans/DidUpdate.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/PimCoumans/DidUpdate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3fc88f1 Move down Codable initializer
Cloned https://github.com/PimCoumans/DidUpdate.git
Revision (git rev-parse @):
3fc88f18ccfca134a0b60f4b85e2379b5d23f5af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/PimCoumans/DidUpdate.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PimCoumans/DidUpdate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: compile command failed due to signal 6 (use -v to see invocation)
SIL verification failed: can't upcast to same type: UI->getType() != UI->getOperand()->getType()
Verifying instruction:
     %4 = load [take] %2 : $*WeakReadOnlyProxy<Value> // user: %5
->   %5 = upcast %4 : $WeakReadOnlyProxy<Value> to $WeakReadOnlyProxy<Value> // users: %13, %6
     %6 = begin_borrow %5 : $WeakReadOnlyProxy<Value> // users: %10, %9
     destroy_value %5 : $WeakReadOnlyProxy<Value> // id: %13
In function:
// key path getter for WeakReadOnlyProxy.currentValue : <A>Self
sil shared [thunk] [ossa] @$s9DidUpdate17WeakReadOnlyProxyC12currentValuexvplACyxGXDTK : $@convention(keypath_accessor_getter) <Value> (@in_guaranteed WeakReadOnlyProxy<Value>) -> @out Value {
// %0                                             // user: %11
// %1                                             // user: %3
bb0(%0 : $*Value, %1 : $*WeakReadOnlyProxy<Value>):
  %2 = alloc_stack $WeakReadOnlyProxy<Value>      // users: %14, %4, %3
  copy_addr %1 to [init] %2                       // id: %3
  %4 = load [take] %2                             // user: %5
  %5 = upcast %4 to $WeakReadOnlyProxy<Value>     // users: %13, %6
  %6 = begin_borrow %5                            // users: %10, %9
  %7 = alloc_stack $Value                         // users: %12, %11, %9
  // function_ref WeakReadOnlyProxy.currentValue.getter
  %8 = function_ref @$s9DidUpdate17WeakReadOnlyProxyC12currentValuexvg : $@convention(method) <τ_0_0> (@guaranteed WeakReadOnlyProxy<τ_0_0>) -> @out τ_0_0 // user: %9
  %9 = apply %8<Value>(%7, %6) : $@convention(method) <τ_0_0> (@guaranteed WeakReadOnlyProxy<τ_0_0>) -> @out τ_0_0
  end_borrow %6                                   // id: %10
  copy_addr [take] %7 to [init] %0                // id: %11
  dealloc_stack %7                                // id: %12
  destroy_value %5                                // id: %13
  dealloc_stack %2                                // id: %14
  %15 = tuple ()                                  // user: %16
  return %15                                      // id: %16
} // end sil function '$s9DidUpdate17WeakReadOnlyProxyC12currentValuexvplACyxGXDTK'
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 /host/spi-builder-workspace/Sources/DidUpdate/Observers/StateObserver.swift /host/spi-builder-workspace/Sources/DidUpdate/Observers/StateValueObserver.swift "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ExternallyUpdating.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ObservedState.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ObservedValue.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ReadOnlyProxy+compound.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ReadOnlyProxy.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/StoredValue.swift" -primary-file "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/ValueProxy.swift" -primary-file "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/WeakReadOnlyProxy.swift" "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/WeakValueProxy.swift" /host/spi-builder-workspace/Sources/DidUpdate/Protocols/ObservableState.swift /host/spi-builder-workspace/Sources/DidUpdate/Protocols/UpdateObservable.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/ValueProxy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/ValueProxy.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/ValueProxy.dia -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/WeakReadOnlyProxy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/WeakReadOnlyProxy.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/WeakReadOnlyProxy.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 DidUpdate -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/DidUpdate.build/ValueProxy.swift.o -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/DidUpdate.build/WeakReadOnlyProxy.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 ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/DidUpdate/Property Wrappers/WeakReadOnlyProxy.swift")
4.	While verifying SIL function "@$s9DidUpdate17WeakReadOnlyProxyC12currentValuexvplACyxGXDTK".
 for <<debugloc at "<compiler-generated>":0:0>>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 0x000055ac50461c58
1  swift-frontend 0x000055ac5045f77e
2  swift-frontend 0x000055ac504622f1
3  libc.so.6      0x00007f03f860d520
4  libc.so.6      0x00007f03f86619fc pthread_kill + 300
5  libc.so.6      0x00007f03f860d476 raise + 22
6  libc.so.6      0x00007f03f85f37f3 abort + 211
7  swift-frontend 0x000055ac49c08649
8  swift-frontend 0x000055ac49c135b8
9  swift-frontend 0x000055ac49c12a9f
10 swift-frontend 0x000055ac49c10eab
11 swift-frontend 0x000055ac49c090db
12 swift-frontend 0x000055ac49c0c888
13 swift-frontend 0x000055ac49c0c73f
14 swift-frontend 0x000055ac49012810
15 swift-frontend 0x000055ac4901de6d
16 swift-frontend 0x000055ac491305d6
17 swift-frontend 0x000055ac490229b3
18 swift-frontend 0x000055ac4901e38f
19 swift-frontend 0x000055ac487fcc18
20 swift-frontend 0x000055ac4880e7da
21 swift-frontend 0x000055ac487ffbbe
22 swift-frontend 0x000055ac487fec5c
23 swift-frontend 0x000055ac4857a5ab
24 libc.so.6      0x00007f03f85f4d90
25 libc.so.6      0x00007f03f85f4e40 __libc_start_main + 128
26 swift-frontend 0x000055ac485795a5
BUILD FAILURE 6.2 android