The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreJSON, reference master (d51bf4), with Swift 6.2 for Android on 17 Jun 2025 17:46:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/tomquist/CoreJSON.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/CoreJSON
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d51bf48 Add conformance to Codable
Cloned https://github.com/tomquist/CoreJSON.git
Revision (git rev-parse @):
d51bf4881192a9325a856d81c2e2fc7a5d25bc2d
SUCCESS checkout https://github.com/tomquist/CoreJSON.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tomquist/CoreJSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/8] Write sources
[7/8] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/10] Emitting module CoreJSON
[10/10] Compiling CoreJSON JSON.swift
[12/24] Emitting module CoreJSONLiterals
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
29 |     public init(integerLiteral value: Int) {
30 |         self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |     public init(nilLiteral: ()) {
36 |         self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
41 |     public init(unicodeScalarLiteral value: String) {
42 |         self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
53 |     public init(floatLiteral value: Double) {
54 |         self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
59 |     public init(booleanLiteral value: Bool) {
60 |         self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
65 |     public init(arrayLiteral elements: JSON...) {
66 |         self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
71 |     public init(dictionaryLiteral elements: (String, JSON)...) {
72 |         self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[13/24] Compiling CoreJSONLiterals JSONLiterals.swift
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:28:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
26 | #endif
27 |
28 | extension JSON: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
29 |     public init(integerLiteral value: Int) {
30 |         self = .number(.int(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:34:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
32 | }
33 |
34 | extension JSON: ExpressibleByNilLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByNilLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
35 |     public init(nilLiteral: ()) {
36 |         self = .null
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:40:1: warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
38 | }
39 |
40 | extension JSON: ExpressibleByStringLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
41 |     public init(unicodeScalarLiteral value: String) {
42 |         self = .string(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:52:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
50 | }
51 |
52 | extension JSON: ExpressibleByFloatLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
53 |     public init(floatLiteral value: Double) {
54 |         self = .number(.double(value))
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:58:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
56 | }
57 |
58 | extension JSON: ExpressibleByBooleanLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
59 |     public init(booleanLiteral value: Bool) {
60 |         self = .bool(value)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:64:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
62 | }
63 |
64 | extension JSON: ExpressibleByArrayLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
65 |     public init(arrayLiteral elements: JSON...) {
66 |         self = .array(elements)
/host/spi-builder-workspace/Sources/CoreJSONLiterals/JSONLiterals.swift:70:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
68 | }
69 |
70 | extension JSON: ExpressibleByDictionaryLiteral {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
71 |     public init(dictionaryLiteral elements: (String, JSON)...) {
72 |         self = .object(elements.reduce([:]) { (dict, tuple) -> [String: JSON] in
[14/25] Emitting module CoreJSONCodable
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
28 |
29 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
   | |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
43 |
44 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |
56 |     public init(from decoder: Decoder) throws {
[15/25] Compiling CoreJSONCodable JSONCodable.swift
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:27:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
25 | import CoreJSON
26 |
27 | extension JSON: Encodable {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
28 |
29 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:42:1: warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
40 | }
41 |
42 | extension JSONNumber: Encodable {
   | |- warning: extension declares a conformance of imported type 'JSONNumber' to imported protocol 'Encodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
43 |
44 |     public func encode(to encoder: Encoder) throws {
/host/spi-builder-workspace/Sources/CoreJSONCodable/JSONCodable.swift:54:1: warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
52 | }
53 |
54 | extension JSON: Decodable {
   | |- warning: extension declares a conformance of imported type 'JSON' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'CoreJSON' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |
56 |     public init(from decoder: Decoder) throws {
[17/26] Emitting module CoreJSONSubscript
[18/26] Compiling CoreJSONSubscript JSONSubscript.swift
[21/27] Emitting module CoreJSONConvenience
[22/27] Compiling CoreJSONConvenience JSONConvenience.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[24/28] 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/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 -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/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 0x000055efc1a82c58
1  swift-frontend 0x000055efc1a8077e
2  swift-frontend 0x000055efc1a832f1
3  libc.so.6      0x00007f7e7f66a520
4  libc.so.6      0x00007f7e7f6be9fc pthread_kill + 300
5  libc.so.6      0x00007f7e7f66a476 raise + 22
6  libc.so.6      0x00007f7e7f6507f3 abort + 211
7  swift-frontend 0x000055efba179055
8  swift-frontend 0x000055efc19d6639
9  swift-frontend 0x000055efc19d6526
10 swift-frontend 0x000055efbb2223a4
11 swift-frontend 0x000055efbb21f0ce
12 swift-frontend 0x000055efbb22030d
13 swift-frontend 0x000055efbb22492b
14 swift-frontend 0x000055efbb227354
15 swift-frontend 0x000055efbb2271db
16 swift-frontend 0x000055efbb257575
17 swift-frontend 0x000055efbb25a684
18 swift-frontend 0x000055efbb247311
19 swift-frontend 0x000055efbb233a9f
20 swift-frontend 0x000055efbb231eab
21 swift-frontend 0x000055efbb22a0db
22 swift-frontend 0x000055efbb22d888
23 swift-frontend 0x000055efbb22d73f
24 swift-frontend 0x000055efba187e14
25 swift-frontend 0x000055efb9e1ed07
26 swift-frontend 0x000055efb9e1dc5e
27 swift-frontend 0x000055efb9e2f7da
28 swift-frontend 0x000055efb9e20bbe
29 swift-frontend 0x000055efb9e1fc5c
30 swift-frontend 0x000055efb9b9b5ab
31 libc.so.6      0x00007f7e7f651d90
32 libc.so.6      0x00007f7e7f651e40 __libc_start_main + 128
33 swift-frontend 0x000055efb9b9a5a5
[25/28] Emitting module CoreJSONFoundation
BUILD FAILURE 6.2 android