The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ReverseJson 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/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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/tomquist/reversejson.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
Fetching https://github.com/tomquist/CoreJSON.git
[1/178] Fetching corejson
Fetched https://github.com/tomquist/CoreJSON.git from cache (0.19s)
Computing version for https://github.com/tomquist/CoreJSON.git
Computed https://github.com/tomquist/CoreJSON.git at 2.0.0 (0.41s)
Creating working copy for https://github.com/tomquist/CoreJSON.git
Working copy of https://github.com/tomquist/CoreJSON.git resolved at 2.0.0
Building for debugging...
[0/28] Write sources
[13/28] Write swift-version-24593BA9C3E375BF.txt
[15/30] Emitting module CoreJSON
[16/30] Compiling CoreJSON JSON.swift
[17/31] Wrapping AST for CoreJSON for debugging
[19/42] Compiling CoreJSONSubscript JSONSubscript.swift
[20/42] Emitting module CoreJSONSubscript
[21/43] Emitting module CoreJSONLiterals
[22/43] Compiling CoreJSONLiterals JSONLiterals.swift
[25/44] Emitting module CoreJSONConvenience
[26/44] Compiling CoreJSONConvenience JSONConvenience.swift
[26/45] Wrapping AST for CoreJSONSubscript for debugging
[27/45] Wrapping AST for CoreJSONLiterals for debugging
[29/45] Wrapping AST for CoreJSONConvenience for debugging
error: compile command failed due to signal 6 (use -v to see invocation)
[31/45] 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/.build/checkouts/CoreJSON/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 -suppress-warnings -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/.build/checkouts/CoreJSON/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/.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):
/usr/bin/swift-frontend(+0x7307d73)[0x55941ce4bd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55941ce49abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55941ce4c0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f3554df6520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f3554e4a9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f3554df6476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f3554ddc7f3]
/usr/bin/swift-frontend(+0x722811f)[0x55941cd6c11f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x559417b210ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x559417b1ec77]
/usr/bin/swift-frontend(+0x1fdb077)[0x559417b1f077]
/usr/bin/swift-frontend(+0x1fdf924)[0x559417b23924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x559417b25ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x559417b25969]
/usr/bin/swift-frontend(+0x2009bf2)[0x559417b4dbf2]
/usr/bin/swift-frontend(+0x200cec4)[0x559417b50ec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x559417b3efc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x559417b302f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x559417b2e9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x559417b27462]
/usr/bin/swift-frontend(+0x1bb5291)[0x5594176f9291]
/usr/bin/swift-frontend(+0x16ad547)[0x5594171f1547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x5594171f25a1]
/usr/bin/swift-frontend(+0x16ab738)[0x5594171ef738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x5594171ef6eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x559417226c1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x559417212b03]
/usr/bin/swift-frontend(+0x16ab935)[0x5594171ef935]
/usr/bin/swift-frontend(+0x16d0add)[0x559417214add]
/usr/bin/swift-frontend(+0x10ebeff)[0x559416c2feff]
/usr/bin/swift-frontend(+0xe35783)[0x559416979783]
/usr/bin/swift-frontend(+0xe347bb)[0x5594169787bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x55941698e7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x55941697c2ad]
/usr/bin/swift-frontend(+0xe369db)[0x55941697a9db]
/usr/bin/swift-frontend(+0xcc3315)[0x559416807315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f3554dddd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f3554ddde40]
/usr/bin/swift-frontend(+0xcc2375)[0x559416806375]
[0/1] Planning build
Building for debugging...
[0/15] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
[2/16] 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/.build/checkouts/CoreJSON/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 -suppress-warnings -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/.build/checkouts/CoreJSON/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/.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):
/usr/bin/swift-frontend(+0x7307d73)[0x5655513aad73]
/usr/bin/swift-frontend(+0x7305abe)[0x5655513a8abe]
/usr/bin/swift-frontend(+0x73080ea)[0x5655513ab0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f6b4eb54520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f6b4eba89fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f6b4eb54476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f6b4eb3a7f3]
/usr/bin/swift-frontend(+0x722811f)[0x5655512cb11f]
/usr/bin/swift-frontend(+0x1fdd0ae)[0x56554c0800ae]
/usr/bin/swift-frontend(+0x1fdac77)[0x56554c07dc77]
/usr/bin/swift-frontend(+0x1fdb077)[0x56554c07e077]
/usr/bin/swift-frontend(+0x1fdf924)[0x56554c082924]
/usr/bin/swift-frontend(+0x1fe1ad6)[0x56554c084ad6]
/usr/bin/swift-frontend(+0x1fe1969)[0x56554c084969]
/usr/bin/swift-frontend(+0x2009bf2)[0x56554c0acbf2]
/usr/bin/swift-frontend(+0x200cec4)[0x56554c0afec4]
/usr/bin/swift-frontend(+0x1ffafc0)[0x56554c09dfc0]
/usr/bin/swift-frontend(+0x1fec2f0)[0x56554c08f2f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x56554c08d9c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x56554c086462]
/usr/bin/swift-frontend(+0x1bb5291)[0x56554bc58291]
/usr/bin/swift-frontend(+0x16ad547)[0x56554b750547]
/usr/bin/swift-frontend(+0x16ae5a1)[0x56554b7515a1]
/usr/bin/swift-frontend(+0x16ab738)[0x56554b74e738]
/usr/bin/swift-frontend(+0x16ab6eb)[0x56554b74e6eb]
/usr/bin/swift-frontend(+0x16e2c1a)[0x56554b785c1a]
/usr/bin/swift-frontend(+0x16ceb03)[0x56554b771b03]
/usr/bin/swift-frontend(+0x16ab935)[0x56554b74e935]
/usr/bin/swift-frontend(+0x16d0add)[0x56554b773add]
/usr/bin/swift-frontend(+0x10ebeff)[0x56554b18eeff]
/usr/bin/swift-frontend(+0xe35783)[0x56554aed8783]
/usr/bin/swift-frontend(+0xe347bb)[0x56554aed77bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x56554aeed7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x56554aedb2ad]
/usr/bin/swift-frontend(+0xe369db)[0x56554aed99db]
/usr/bin/swift-frontend(+0xcc3315)[0x56554ad66315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f6b4eb3bd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f6b4eb3be40]
/usr/bin/swift-frontend(+0xcc2375)[0x56554ad65375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 1