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-4606859-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: 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:         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-4606859-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 CoreJSONLiterals
[13/24] Emitting module CoreJSONSubscript
[14/24] Emitting module CoreJSONCodable
[15/24] Compiling CoreJSONCodable JSONCodable.swift
[16/25] Compiling CoreJSONSubscript JSONSubscript.swift
[18/26] Compiling CoreJSONLiterals JSONLiterals.swift
[20/27] Emitting module CoreJSONConvenience
[21/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:   %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)[0x5654d0d07d73]
/usr/bin/swift-frontend(+0x7305abe)[0x5654d0d05abe]
/usr/bin/swift-frontend(+0x73080ea)[0x5654d0d080ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f9278a32520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f9278a869fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f9278a32476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f9278a187f3]
/usr/bin/swift-frontend(+0x722811f)[0x5654d0c2811f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x5654cb9dd0ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x5654cb9dac77]
/usr/bin/swift-frontend(+0x1fdb077)[0x5654cb9db077]
/usr/bin/swift-frontend(+0x1fdf924)[0x5654cb9df924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x5654cb9e1ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x5654cb9e1969]
/usr/bin/swift-frontend(+0x2009bf2)[0x5654cba09bf2]
/usr/bin/swift-frontend(+0x200cec4)[0x5654cba0cec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x5654cb9fafc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x5654cb9ec2f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x5654cb9ea9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x5654cb9e3462]
/usr/bin/swift-frontend(+0x1bb5291)[0x5654cb5b5291]
/usr/bin/swift-frontend(+0x16ad547)[0x5654cb0ad547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x5654cb0ae5a1]
/usr/bin/swift-frontend(+0x16ab738)[0x5654cb0ab738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x5654cb0ab6eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x5654cb0e2c1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x5654cb0ceb03]
/usr/bin/swift-frontend(+0x16ab935)[0x5654cb0ab935]
/usr/bin/swift-frontend(+0x16d0add)[0x5654cb0d0add]
/usr/bin/swift-frontend(+0x10ebeff)[0x5654caaebeff]
/usr/bin/swift-frontend(+0xe35783)[0x5654ca835783]
/usr/bin/swift-frontend(+0xe347bb)[0x5654ca8347bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x5654ca84a7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x5654ca8382ad]
/usr/bin/swift-frontend(+0xe369db)[0x5654ca8369db]
/usr/bin/swift-frontend(+0xcc3315)[0x5654ca6c3315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f9278a19d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f9278a19e40]
/usr/bin/swift-frontend(+0xcc2375)[0x5654ca6c2375]
[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)[0x55945dfcfd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55945dfcdabe]
/usr/bin/swift-frontend(+0x73080ea)[0x55945dfd00ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f4379ff1520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f437a0459fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f4379ff1476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f4379fd77f3]
/usr/bin/swift-frontend(+0x722811f)[0x55945def011f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x559458ca50ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x559458ca2c77]
/usr/bin/swift-frontend(+0x1fdb077)[0x559458ca3077]
/usr/bin/swift-frontend(+0x1fdf924)[0x559458ca7924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x559458ca9ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x559458ca9969]
/usr/bin/swift-frontend(+0x2009bf2)[0x559458cd1bf2]
/usr/bin/swift-frontend(+0x200cec4)[0x559458cd4ec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x559458cc2fc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x559458cb42f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x559458cb29c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x559458cab462]
/usr/bin/swift-frontend(+0x1bb5291)[0x55945887d291]
/usr/bin/swift-frontend(+0x16ad547)[0x559458375547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x5594583765a1]
/usr/bin/swift-frontend(+0x16ab738)[0x559458373738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x5594583736eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x5594583aac1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x559458396b03]
/usr/bin/swift-frontend(+0x16ab935)[0x559458373935]
/usr/bin/swift-frontend(+0x16d0add)[0x559458398add]
/usr/bin/swift-frontend(+0x10ebeff)[0x559457db3eff]
/usr/bin/swift-frontend(+0xe35783)[0x559457afd783]
/usr/bin/swift-frontend(+0xe347bb)[0x559457afc7bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x559457b127f5]
/usr/bin/swift-frontend(+0xe382ad)[0x559457b002ad]
/usr/bin/swift-frontend(+0xe369db)[0x559457afe9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55945798b315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f4379fd8d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f4379fd8e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55945798a375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 1