The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Spanker with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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/KittyMac/Spanker.git
Reference: v0.2.47
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/KittyMac/Spanker
 * tag               v0.2.47    -> FETCH_HEAD
HEAD is now at 96e58f6 fixes for JsonElement(unknown:) and Any?
Cloned https://github.com/KittyMac/Spanker.git
Revision (git rev-parse @):
96e58f68274a2e6f370fff153ceb5674a06936c4
SUCCESS checkout https://github.com/KittyMac/Spanker.git at v0.2.47
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/KittyMac/Spanker.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/KittyMac/Hitch.git
[1/2234] Fetching hitch
Fetched https://github.com/KittyMac/Hitch.git from cache (0.33s)
Computing version for https://github.com/KittyMac/Hitch.git
Computed https://github.com/KittyMac/Hitch.git at 0.4.112 (0.38s)
Creating working copy for https://github.com/KittyMac/Hitch.git
Working copy of https://github.com/KittyMac/Hitch.git resolved at 0.4.112
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Hitch CHitch.swift
[5/14] Compiling Hitch HalfHitch.swift
[6/15] Compiling Hitch Hitch+Format.swift
[7/15] Compiling Hitch Hitch+FormatOperator.swift
[8/15] Compiling Hitch Hitch+Base32.swift
[9/15] Compiling Hitch Hitch+CodeBlock.swift
[10/15] Compiling Hitch Hitch+MD5.swift
error: emit-module command failed due to signal 6 (use -v to see invocation)
SIL verification failed: internal/private function cannot be serialized or serializable: !F->isSerialized()
In function:
// closure #1 in unescapeBinary(ampersand:count:)
sil private [serialized] [_semantics "sil.optimizer.moveonly.delete_if_unused"] [ossa] @$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_ : $@convention(thin) (UInt8, Int, @guaranteed { var UnsafeMutablePointer<UInt8> }, @guaranteed { var UnsafeMutablePointer<UInt8> }) -> () {
// %0 "v"
// %1 "advance"
// %2 "write"
// %3 "read"
bb0(%0 : $UInt8, %1 : $Int, %2 : @closureCapture @guaranteed ${ var UnsafeMutablePointer<UInt8> }, %3 : @closureCapture @guaranteed ${ var UnsafeMutablePointer<UInt8> }):
  unreachable                                     // id: %4
} // end sil function '$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_'
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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/CHitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/HalfHitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Base32.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+CodeBlock.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Format.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+FormatOperator.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+MD5.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Shared.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Utility/Int8+Ascii.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Utility/UInt8+Ascii.swift -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 Hitch -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.swiftsourceinfo -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.build/Hitch.emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.swiftmodule
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
3.	While verifying SIL function "@$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_".
 for expression at [/host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Shared.swift:1048:40 - line:1052:5] RangeText="{ v, advance in
        write[0] = v
        write += 1
        read += advance
    "
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)[0x5648e6dccd73]
/usr/bin/swift-frontend(+0x7305abe)[0x5648e6dcaabe]
/usr/bin/swift-frontend(+0x73080ea)[0x5648e6dcd0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f57b7484520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f57b74d89fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f57b7484476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f57b746a7f3]
/usr/bin/swift-frontend(+0x1fe7ad1)[0x5648e1aacad1]
/usr/bin/swift-frontend(+0x1fe8422)[0x5648e1aad422]
/usr/bin/swift-frontend(+0x1fe3462)[0x5648e1aa8462]
/usr/bin/swift-frontend(+0x1fe6b79)[0x5648e1aabb79]
/usr/bin/swift-frontend(+0x1fe6a59)[0x5648e1aaba59]
/usr/bin/swift-frontend(+0x10ebe92)[0x5648e0bb0e92]
/usr/bin/swift-frontend(+0xe35783)[0x5648e08fa783]
/usr/bin/swift-frontend(+0xe349a8)[0x5648e08f99a8]
/usr/bin/swift-frontend(+0xe4a7f5)[0x5648e090f7f5]
/usr/bin/swift-frontend(+0xe382ad)[0x5648e08fd2ad]
/usr/bin/swift-frontend(+0xe369db)[0x5648e08fb9db]
/usr/bin/swift-frontend(+0xcc3315)[0x5648e0788315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f57b746bd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f57b746be40]
/usr/bin/swift-frontend(+0xcc2375)[0x5648e0787375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Hitch Int8+Ascii.swift
[3/11] Compiling Hitch UInt8+Ascii.swift
[4/12] Compiling Hitch Hitch.swift
[5/13] Compiling Hitch Hitch+Format.swift
[6/13] Compiling Hitch Hitch+FormatOperator.swift
[7/13] Compiling Hitch Hitch+MD5.swift
[8/13] Compiling Hitch HalfHitch.swift
error: compile command failed due to signal 6 (use -v to see invocation)
SIL verification failed: internal/private function cannot be serialized or serializable: !F->isSerialized()
In function:
// closure #1 in unescapeBinary(ampersand:count:)
sil private [serialized] [_semantics "sil.optimizer.moveonly.delete_if_unused"] [ossa] @$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_ : $@convention(thin) (UInt8, Int, @guaranteed { var UnsafeMutablePointer<UInt8> }, @guaranteed { var UnsafeMutablePointer<UInt8> }) -> () {
// %0 "v"
// %1 "advance"
// %2 "write"
// %3 "read"
bb0(%0 : $UInt8, %1 : $Int, %2 : @closureCapture @guaranteed ${ var UnsafeMutablePointer<UInt8> }, %3 : @closureCapture @guaranteed ${ var UnsafeMutablePointer<UInt8> }):
  unreachable                                     // id: %4
} // end sil function '$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_'
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 /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/CHitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/HalfHitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Base32.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+CodeBlock.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Format.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+FormatOperator.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+MD5.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Shared.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Utility/Int8+Ascii.swift /host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Utility/UInt8+Ascii.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.build/Hitch+Shared.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Hitch.build/Hitch+Shared.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 Hitch -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/Hitch.build/Hitch+Shared.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 verifying SIL function "@$s5Hitch14unescapeBinary9ampersand5countSiSpys5UInt8VG_SitFyAF_SitcfU_".
 for expression at [/host/spi-builder-workspace/.build/checkouts/Hitch/Sources/Hitch/Hitch+Shared.swift:1048:40 - line:1052:5] RangeText="{ v, advance in
        write[0] = v
        write += 1
        read += advance
    "
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)[0x559c8395dd73]
/usr/bin/swift-frontend(+0x7305abe)[0x559c8395babe]
/usr/bin/swift-frontend(+0x73080ea)[0x559c8395e0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f17f1277520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f17f12cb9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f17f1277476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f17f125d7f3]
/usr/bin/swift-frontend(+0x1fe7ad1)[0x559c7e63dad1]
/usr/bin/swift-frontend(+0x1fe8422)[0x559c7e63e422]
/usr/bin/swift-frontend(+0x1fe3462)[0x559c7e639462]
/usr/bin/swift-frontend(+0x1fe6b79)[0x559c7e63cb79]
/usr/bin/swift-frontend(+0x1fe6a59)[0x559c7e63ca59]
/usr/bin/swift-frontend(+0x10ebe92)[0x559c7d741e92]
/usr/bin/swift-frontend(+0xe35783)[0x559c7d48b783]
/usr/bin/swift-frontend(+0xe347bb)[0x559c7d48a7bb]
/usr/bin/swift-frontend(+0xe4a7f5)[0x559c7d4a07f5]
/usr/bin/swift-frontend(+0xe382ad)[0x559c7d48e2ad]
/usr/bin/swift-frontend(+0xe369db)[0x559c7d48c9db]
/usr/bin/swift-frontend(+0xcc3315)[0x559c7d319315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f17f125ed90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f17f125ee40]
/usr/bin/swift-frontend(+0xcc2375)[0x559c7d318375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 1