The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreJSON, reference 2.1.0 (d51bf4), with Swift 6.2 for Linux on 17 Jun 2025 17:46:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tomquist/CoreJSON.git
Reference: 2.1.0
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
 * tag               2.1.0      -> FETCH_HEAD
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 2.1.0
========================================
Build
========================================
Selected platform:         linux
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-3":/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/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.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
[15/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 {
[16/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 {
[18/26] Emitting module CoreJSONConvenience
[19/26] Compiling CoreJSONConvenience JSONConvenience.swift
[20/27] Emitting module CoreJSONSubscript
[21/27] Compiling CoreJSONSubscript JSONSubscript.swift
[24/28] Emitting module CoreJSONPointer
error: compile command failed due to signal 6 (use -v to see invocation)
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: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/CoreJSONPointer/JSONPointer.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CoreJSONPointer.build/JSONPointer.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CoreJSONPointer.build/JSONPointer.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CoreJSONPointer.build/JSONPointer.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 CoreJSONPointer -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/CoreJSONPointer.build/JSONPointer.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 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 0x000056393236a918
1  swift-frontend 0x000056393236843e
2  swift-frontend 0x000056393236afb1
3  libc.so.6      0x00007fc0b056f520
4  libc.so.6      0x00007fc0b05c39fc pthread_kill + 300
5  libc.so.6      0x00007fc0b056f476 raise + 22
6  libc.so.6      0x00007fc0b05557f3 abort + 211
7  swift-frontend 0x000056392aa5cc05
8  swift-frontend 0x00005639322be2f9
9  swift-frontend 0x00005639322be1e6
10 swift-frontend 0x000056392bb05e74
11 swift-frontend 0x000056392bb02b9e
12 swift-frontend 0x000056392bb03ddd
13 swift-frontend 0x000056392bb083fb
14 swift-frontend 0x000056392bb0ae94
15 swift-frontend 0x000056392bb0ad1b
16 swift-frontend 0x000056392bb3b665
17 swift-frontend 0x000056392bb3e774
18 swift-frontend 0x000056392bb2b401
19 swift-frontend 0x000056392bb17b8f
20 swift-frontend 0x000056392bb15f9b
21 swift-frontend 0x000056392bb0dc94
22 swift-frontend 0x000056392bb11a08
23 swift-frontend 0x000056392bb118bf
24 swift-frontend 0x000056392aa6b884
25 swift-frontend 0x000056392a7038f7
26 swift-frontend 0x000056392a70284e
27 swift-frontend 0x000056392a71442a
28 swift-frontend 0x000056392a7057de
29 swift-frontend 0x000056392a704878
30 swift-frontend 0x000056392a48026b
31 libc.so.6      0x00007fc0b0556d90
32 libc.so.6      0x00007fc0b0556e40 __libc_start_main + 128
33 swift-frontend 0x000056392a47f265
[25/28] Emitting module CoreJSONFoundation
BUILD FAILURE 6.2 linux