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 Linux on 23 Jun 2025 01:51:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/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:         linux
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-4606859-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.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: /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/x86_64-unknown-linux-gnu/debug/DidUpdate.build/ValueProxy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/ValueProxy.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/ValueProxy.dia -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/WeakReadOnlyProxy.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/WeakReadOnlyProxy.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/WeakReadOnlyProxy.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 DidUpdate -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/DidUpdate.build/ValueProxy.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DidUpdate.build/WeakReadOnlyProxy.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/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 0x000055bef586f918
1  swift-frontend 0x000055bef586d43e
2  swift-frontend 0x000055bef586ffb1
3  libc.so.6      0x00007f81068ae520
4  libc.so.6      0x00007f81069029fc pthread_kill + 300
5  libc.so.6      0x00007f81068ae476 raise + 22
6  libc.so.6      0x00007f81068947f3 abort + 211
7  swift-frontend 0x000055beef012189
8  swift-frontend 0x000055beef01d6a8
9  swift-frontend 0x000055beef01cb8f
10 swift-frontend 0x000055beef01af9b
11 swift-frontend 0x000055beef012c94
12 swift-frontend 0x000055beef016a08
13 swift-frontend 0x000055beef0168bf
14 swift-frontend 0x000055beee41cda0
15 swift-frontend 0x000055beee42840d
16 swift-frontend 0x000055beee53a8c6
17 swift-frontend 0x000055beee42cf53
18 swift-frontend 0x000055beee42892f
19 swift-frontend 0x000055beedc07808
20 swift-frontend 0x000055beedc1942a
21 swift-frontend 0x000055beedc0a7de
22 swift-frontend 0x000055beedc09878
23 swift-frontend 0x000055beed98526b
24 libc.so.6      0x00007f8106895d90
25 libc.so.6      0x00007f8106895e40 __libc_start_main + 128
26 swift-frontend 0x000055beed984265
BUILD FAILURE 6.2 linux