The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KatexUtils with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nks5117/KatexUtils.git
Reference: master
Cloned https://github.com/nks5117/KatexUtils.git into spi-builder-workspace
SUCCESS checkout https://github.com/nks5117/KatexUtils.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[0/1] Copying Assets
[2/7] Compiling KatexUtils KatexRenderer.swift
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
[3/7] Compiling KatexUtils resource_bundle_accessor.swift
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
[4/7] Compiling KatexUtils KatexView.swift
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module KatexUtils
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
[6/7] Compiling KatexUtils Bundle+KatexUtils.swift
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:9:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
       ^
Can't demangle: $s10KatexUtils0A0C0A5ErrorO05parseC0027_087F10748408DF84DEBEA4B5E3I4EF5FLLXeF7messageL_SSvp
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/KatexUtils/Classes/Bundle+KatexUtils.swift -primary-file /host/spi-builder-workspace/KatexUtils/Classes/Katex.swift /host/spi-builder-workspace/KatexUtils/Classes/KatexRenderer.swift /host/spi-builder-workspace/KatexUtils/Classes/KatexView.swift /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KatexUtils.build/DerivedSources/resource_bundle_accessor.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KatexUtils.build/Classes/Katex.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KatexUtils.build/Classes/Katex.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 -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name KatexUtils -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/KatexUtils.build/Classes/Katex.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.9-dev (LLVM 464b04eb9b157e3, Swift 7203d52cb1e074d)
2.	Compiling with the current language version
3.	While walking into 'KatexError' (at /host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:124:5)
4.	While evaluating request USRGenerationRequest(KatexUtils.(file).Katex extension.KatexError.parseError(message:rawObject:).message@/host/spi-builder-workspace/KatexUtils/Classes/Katex.swift:126:25)
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[0x6b367f3]
/usr/bin/swift-frontend[0x6b3440e]
/usr/bin/swift-frontend[0x6b36b5f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f9d1c367420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f9d1b7ae00b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f9d1b78d859]
/usr/bin/swift-frontend[0x22b3aa2]
/usr/bin/swift-frontend[0x1f25594]
/usr/bin/swift-frontend[0x2277429]
/usr/bin/swift-frontend[0x1bdf11c]
/usr/bin/swift-frontend[0x88a5c7]
/usr/bin/swift-frontend[0x88a0e7]
/usr/bin/swift-frontend[0x8891be]
/usr/bin/swift-frontend[0x2277f3a]
/usr/bin/swift-frontend[0x8562e9]
/usr/bin/swift-frontend[0x855af7]
/usr/bin/swift-frontend[0x852bde]
/usr/bin/swift-frontend[0x1525a1e]
/usr/bin/swift-frontend[0x1f7ae22]
/usr/bin/swift-frontend[0x1f7de3b]
/usr/bin/swift-frontend[0x1f7ae6a]
/usr/bin/swift-frontend[0x1f7ec76]
/usr/bin/swift-frontend[0x1f7ae6a]
/usr/bin/swift-frontend[0x1f7e565]
/usr/bin/swift-frontend[0x1f7ae6a]
/usr/bin/swift-frontend[0x1f7ad33]
/usr/bin/swift-frontend[0x214a8b2]
/usr/bin/swift-frontend[0x1523136]
/usr/bin/swift-frontend[0x852220]
/usr/bin/swift-frontend[0x8520ba]
/usr/bin/swift-frontend[0x8477e5]
/usr/bin/swift-frontend[0x8471e4]
/usr/bin/swift-frontend[0x66fcdc]
/usr/bin/swift-frontend[0x66dcdc]
/usr/bin/swift-frontend[0x6691b0]
/usr/bin/swift-frontend[0x4c43d1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f9d1b78f083]
/usr/bin/swift-frontend[0x4c3b1e]
BUILD FAILURE 5.9 linux

Build Machine: Linux 2