The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreJSON with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/tomquist/CoreJSON.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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 CoreJSONSubscript
[13/24] Compiling CoreJSONSubscript JSONSubscript.swift
[14/25] Emitting module CoreJSONLiterals
[15/25] Compiling CoreJSONLiterals JSONLiterals.swift
[17/26] Emitting module CoreJSONConvenience
[18/26] Compiling CoreJSONConvenience JSONConvenience.swift
[20/27] Emitting module CoreJSONCodable
[21/27] Compiling CoreJSONCodable JSONCodable.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:   %269 = copy_value %1 : $Optional<JSON>          // users: %270, %282
User:   destroy_value %270 : $@noescape @callee_guaranteed () -> @owned Optional<JSON> // id: %360
End Error in Function: '$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF'
Found ownership error?!
triggering standard assertion failure routine
UNREACHABLE executed at /home/build-user/swift/lib/SIL/Verifier/LinearLifetimeCheckerPrivate.h:211!
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 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name CoreJSONPointer -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 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { Non-Diagnostic Mandatory Optimizations, Serialization, Rest of Onone } on SIL for CoreJSONPointer)
4.	While running pass #389 SILFunctionTransform "OwnershipModelEliminator" on SILFunction "@$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF".
 for 'set(path:value:)' (at /host/spi-builder-workspace/Sources/CoreJSONPointer/JSONPointer.swift:157:22)
5.	Found verification error when verifying before lowering ownership. Please re-run with -sil-verify-all to identify the actual pass that introduced the verification error.
6.	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):
/usr/bin/swift-frontend(+0x7307d73)[0x5643eb8ead73]
/usr/bin/swift-frontend(+0x7305abe)[0x5643eb8e8abe]
/usr/bin/swift-frontend(+0x73080ea)[0x5643eb8eb0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f6f8ca6e520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f6f8cac29fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f6f8ca6e476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f6f8ca547f3]
/usr/bin/swift-frontend(+0x722811f)[0x5643eb80b11f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x5643e65c00ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x5643e65bdc77]
/usr/bin/swift-frontend(+0x1fdb077)[0x5643e65be077]
/usr/bin/swift-frontend(+0x1fdf924)[0x5643e65c2924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x5643e65c4ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x5643e65c4969]
/usr/bin/swift-frontend(+0x2009bf2)[0x5643e65ecbf2]
/usr/bin/swift-frontend(+0x200cec4)[0x5643e65efec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x5643e65ddfc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x5643e65cf2f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x5643e65cd9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x5643e65c6462]
/usr/bin/swift-frontend(+0x1bb5291)[0x5643e6198291]
/usr/bin/swift-frontend(+0x16ad547)[0x5643e5c90547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x5643e5c915a1]
/usr/bin/swift-frontend(+0x16ab738)[0x5643e5c8e738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x5643e5c8e6eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x5643e5cc5c1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x5643e5cb1b03]
/usr/bin/swift-frontend(+0x16ab935)[0x5643e5c8e935]
/usr/bin/swift-frontend(+0x16d0add)[0x5643e5cb3add]
/usr/bin/swift-frontend(+0x10ebeff)[0x5643e56ceeff]
/usr/bin/swift-frontend(+0xe35783)[0x5643e5418783]
/usr/bin/swift-frontend(+0xe347bb)[0x5643e54177bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x5643e542d7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x5643e541b2ad]
/usr/bin/swift-frontend(+0xe369db)[0x5643e54199db]
/usr/bin/swift-frontend(+0xcc3315)[0x5643e52a6315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f6f8ca55d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f6f8ca55e40]
/usr/bin/swift-frontend(+0xcc2375)[0x5643e52a5375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
[2/6] 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:   %269 = copy_value %1 : $Optional<JSON>          // users: %270, %282
User:   destroy_value %270 : $@noescape @callee_guaranteed () -> @owned Optional<JSON> // id: %360
End Error in Function: '$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF'
Found ownership error?!
triggering standard assertion failure routine
UNREACHABLE executed at /home/build-user/swift/lib/SIL/Verifier/LinearLifetimeCheckerPrivate.h:211!
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 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name CoreJSONPointer -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 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { Non-Diagnostic Mandatory Optimizations, Serialization, Rest of Onone } on SIL for CoreJSONPointer)
4.	While running pass #389 SILFunctionTransform "OwnershipModelEliminator" on SILFunction "@$s8CoreJSON0B0O0A11JSONPointerE3set33_72DCCE79AC2F079C0DE132F3186B27FALL4path5valueSbs10ArraySliceVyAD0C0V8PathItemAFLLVG_ACSgtF".
 for 'set(path:value:)' (at /host/spi-builder-workspace/Sources/CoreJSONPointer/JSONPointer.swift:157:22)
5.	Found verification error when verifying before lowering ownership. Please re-run with -sil-verify-all to identify the actual pass that introduced the verification error.
6.	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):
/usr/bin/swift-frontend(+0x7307d73)[0x55edba25ad73]
/usr/bin/swift-frontend(+0x7305abe)[0x55edba258abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55edba25b0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f3772a01520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f3772a559fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f3772a01476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f37729e77f3]
/usr/bin/swift-frontend(+0x722811f)[0x55edba17b11f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x55edb4f300ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x55edb4f2dc77]
/usr/bin/swift-frontend(+0x1fdb077)[0x55edb4f2e077]
/usr/bin/swift-frontend(+0x1fdf924)[0x55edb4f32924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x55edb4f34ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x55edb4f34969]
/usr/bin/swift-frontend(+0x2009bf2)[0x55edb4f5cbf2]
/usr/bin/swift-frontend(+0x200cec4)[0x55edb4f5fec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x55edb4f4dfc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x55edb4f3f2f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x55edb4f3d9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x55edb4f36462]
/usr/bin/swift-frontend(+0x1bb5291)[0x55edb4b08291]
/usr/bin/swift-frontend(+0x16ad547)[0x55edb4600547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x55edb46015a1]
/usr/bin/swift-frontend(+0x16ab738)[0x55edb45fe738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x55edb45fe6eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x55edb4635c1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x55edb4621b03]
/usr/bin/swift-frontend(+0x16ab935)[0x55edb45fe935]
/usr/bin/swift-frontend(+0x16d0add)[0x55edb4623add]
/usr/bin/swift-frontend(+0x10ebeff)[0x55edb403eeff]
/usr/bin/swift-frontend(+0xe35783)[0x55edb3d88783]
/usr/bin/swift-frontend(+0xe347bb)[0x55edb3d877bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x55edb3d9d7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x55edb3d8b2ad]
/usr/bin/swift-frontend(+0xe369db)[0x55edb3d899db]
/usr/bin/swift-frontend(+0xcc3315)[0x55edb3c16315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f37729e8d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f37729e8e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55edb3c15375]
[3/6] Emitting module CoreJSONFoundation
BUILD FAILURE 5.10 linux

Build Machine: Linux 2