The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ReverseJson, reference master (49913b), with Swift 6.2 for Android on 18 Jun 2025 00:01:22 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/tomquist/reversejson.git
Reference: master
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/tomquist/reversejson
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 49913ba Migrate to Swift 5
Cloned https://github.com/tomquist/reversejson.git
Revision (git rev-parse @):
49913ba879defe524f5ed6372c0e8cdce2028bb5
SUCCESS checkout https://github.com/tomquist/reversejson.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tomquist/reversejson.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
Fetching https://github.com/tomquist/CoreJSON.git
[1/178] Fetching corejson
Fetched https://github.com/tomquist/CoreJSON.git from cache (0.24s)
Computing version for https://github.com/tomquist/CoreJSON.git
Computed https://github.com/tomquist/CoreJSON.git at 2.1.0 (0.79s)
Creating working copy for https://github.com/tomquist/CoreJSON.git
Working copy of https://github.com/tomquist/CoreJSON.git resolved at 2.1.0
Building for debugging...
[0/30] Write sources
[14/30] Write swift-version-8C5A4AE7A8CE2BA.txt
[16/32] Compiling CoreJSON JSON.swift
[17/32] Emitting module CoreJSON
[18/44] Wrapping AST for CoreJSON for debugging
[20/46] Emitting module CoreJSONLiterals
[21/46] Compiling CoreJSONLiterals JSONLiterals.swift
[23/47] Emitting module CoreJSONCodable
[24/47] Compiling CoreJSONCodable JSONCodable.swift
[25/48] Emitting module CoreJSONSubscript
[26/48] Compiling CoreJSONSubscript JSONSubscript.swift
[29/49] Emitting module CoreJSONConvenience
[30/49] Compiling CoreJSONConvenience JSONConvenience.swift
[31/50] Wrapping AST for CoreJSONLiterals for debugging
[32/50] Wrapping AST for CoreJSONConvenience for debugging
[33/50] Wrapping AST for CoreJSONSubscript for debugging
[34/50] Wrapping AST for CoreJSONCodable for debugging
error: compile command failed due to signal 6 (use -v to see invocation)
[36/50] Emitting module CoreJSONPointer
Begin Error in Function: '$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF'
Function: '$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF'
Found non consuming use outside of the lifetime being verified.
Value:   %234 = copy_value %1 : $Optional<JSON>          // users: %252, %235
User:   destroy_value %238 : $@noescape @callee_guaranteed () -> @owned Optional<JSON> // id: %286
End Error in Function: '$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF'
Found ownership error?!
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: triggering standard assertion failure routine
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/.build/checkouts/CoreJSON/Sources/CoreJSONPointer/JSONPointer.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/CoreJSONPointer.build/JSONPointer.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/CoreJSONPointer.build/JSONPointer.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/CoreJSONPointer.build/JSONPointer.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 -suppress-warnings -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 CoreJSONPointer -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/CoreJSONPointer.build/JSONPointer.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 verifying SIL function "@$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF".
 for 'set(path:value:)' (at /host/spi-builder-workspace/.build/checkouts/CoreJSON/Sources/CoreJSONPointer/JSONPointer.swift:157:22)
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 0x000056217bbb8c58
1  swift-frontend 0x000056217bbb677e
2  swift-frontend 0x000056217bbb92f1
3  libc.so.6      0x00007f49ee88c520
4  libc.so.6      0x00007f49ee8e09fc pthread_kill + 300
5  libc.so.6      0x00007f49ee88c476 raise + 22
6  libc.so.6      0x00007f49ee8727f3 abort + 211
7  swift-frontend 0x00005621742af055
8  swift-frontend 0x000056217bb0c639
9  swift-frontend 0x000056217bb0c526
10 swift-frontend 0x00005621753583a4
11 swift-frontend 0x00005621753550ce
12 swift-frontend 0x000056217535630d
13 swift-frontend 0x000056217535a92b
14 swift-frontend 0x000056217535d354
15 swift-frontend 0x000056217535d1db
16 swift-frontend 0x000056217538d575
17 swift-frontend 0x0000562175390684
18 swift-frontend 0x000056217537d311
19 swift-frontend 0x0000562175369a9f
20 swift-frontend 0x0000562175367eab
21 swift-frontend 0x00005621753600db
22 swift-frontend 0x0000562175363888
23 swift-frontend 0x000056217536373f
24 swift-frontend 0x00005621742bde14
25 swift-frontend 0x0000562173f54d07
26 swift-frontend 0x0000562173f53c5e
27 swift-frontend 0x0000562173f657da
28 swift-frontend 0x0000562173f56bbe
29 swift-frontend 0x0000562173f55c5c
30 swift-frontend 0x0000562173cd15ab
31 libc.so.6      0x00007f49ee873d90
32 libc.so.6      0x00007f49ee873e40 __libc_start_main + 128
33 swift-frontend 0x0000562173cd05a5
BUILD FAILURE 6.2 android