The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommandLineKit with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-commandlinekit.git
Reference: master
Cloned https://github.com/objecthub/swift-commandlinekit.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/objecthub/swift-commandlinekit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  /host/spi-builder-workspace
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/CommandLineKitDemo/Info.plist

Building for debugging...
[1/19] Compiling CommandLineKit FlagError.swift
[2/19] Compiling CommandLineKit FlagWrapper.swift
[3/21] Emitting module CommandLineKit
error: compile command failed due to signal 11 (use -v to see invocation)[4/21] Compiling CommandLineKit AnsiCodes.swift
[5/21] Compiling CommandLineKit BackgroundColor.swift
[6/21] Compiling CommandLineKit Command.swift
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/CommandLineKit/AnsiCodes.swift /host/spi-builder-workspace/Sources/CommandLineKit/BackgroundColor.swift /host/spi-builder-workspace/Sources/CommandLineKit/Command.swift -primary-file /host/spi-builder-workspace/Sources/CommandLineKit/ControlCharacters.swift -primary-file /host/spi-builder-workspace/Sources/CommandLineKit/ConvertibleFromString.swift /host/spi-builder-workspace/Sources/CommandLineKit/EditState.swift /host/spi-builder-workspace/Sources/CommandLineKit/Flag.swift /host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift /host/spi-builder-workspace/Sources/CommandLineKit/FlagWrapper.swift /host/spi-builder-workspace/Sources/CommandLineKit/Flags.swift /host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift /host/spi-builder-workspace/Sources/CommandLineKit/LineReaderError.swift /host/spi-builder-workspace/Sources/CommandLineKit/LineReaderHistory.swift /host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift /host/spi-builder-workspace/Sources/CommandLineKit/TextColor.swift /host/spi-builder-workspace/Sources/CommandLineKit/TextProperties.swift /host/spi-builder-workspace/Sources/CommandLineKit/TextStyle.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ControlCharacters.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ControlCharacters.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ConvertibleFromString.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ConvertibleFromString.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 -module-name CommandLineKit -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ControlCharacters.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CommandLineKit.build/ConvertibleFromString.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.7.3 (swift-5.7.3-RELEASE)
2.	Compiling with the current language version
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/CommandLineKit/ConvertibleFromString.swift")
4.	While silgen emitConstructor SIL function "@$sSq14CommandLineKitAA21ConvertibleFromStringRzlE04fromF0xSgSgSS_tcfC".
 for 'init(fromString:)' (at /host/spi-builder-workspace/Sources/CommandLineKit/ConvertibleFromString.swift:119:10)
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(+0x551a103)[0x560400d34103]
/usr/bin/swift-frontend(+0x551802e)[0x560400d3202e]
/usr/bin/swift-frontend(+0x551a48a)[0x560400d3448a]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f2175fba520]
/usr/bin/swift-frontend(+0x1bf686b)[0x5603fd41086b]
/usr/bin/swift-frontend(+0xb6d0fc)[0x5603fc3870fc]
/usr/bin/swift-frontend(+0xb641c1)[0x5603fc37e1c1]
/usr/bin/swift-frontend(+0xb64a5d)[0x5603fc37ea5d]
/usr/bin/swift-frontend(+0xae8757)[0x5603fc302757]
/usr/bin/swift-frontend(+0xfa6227)[0x5603fc7c0227]
/usr/bin/swift-frontend(+0xf8b7ab)[0x5603fc7a57ab]
/usr/bin/swift-frontend(+0xf93846)[0x5603fc7ad846]
/usr/bin/swift-frontend(+0xfb6583)[0x5603fc7d0583]
/usr/bin/swift-frontend(+0xfb10cf)[0x5603fc7cb0cf]
/usr/bin/swift-frontend(+0xfa8c4e)[0x5603fc7c2c4e]
/usr/bin/swift-frontend(+0xff888c)[0x5603fc81288c]
/usr/bin/swift-frontend(+0xff7aad)[0x5603fc811aad]
/usr/bin/swift-frontend(+0xf8eb26)[0x5603fc7a8b26]
/usr/bin/swift-frontend(+0xf7682f)[0x5603fc79082f]
/usr/bin/swift-frontend(+0xf77bfa)[0x5603fc791bfa]
/usr/bin/swift-frontend(+0xf77ee5)[0x5603fc791ee5]
/usr/bin/swift-frontend(+0x100658a)[0x5603fc82058a]
/usr/bin/swift-frontend(+0x1003cad)[0x5603fc81dcad]
/usr/bin/swift-frontend(+0x1003c5d)[0x5603fc81dc5d]
/usr/bin/swift-frontend(+0xf7a063)[0x5603fc794063]
/usr/bin/swift-frontend(+0xff761f)[0x5603fc81161f]
/usr/bin/swift-frontend(+0xff7539)[0x5603fc811539]
/usr/bin/swift-frontend(+0xf7cea8)[0x5603fc796ea8]
/usr/bin/swift-frontend(+0xf7ad9a)[0x5603fc794d9a]
/usr/bin/swift-frontend(+0xa40ebb)[0x5603fc25aebb]
/usr/bin/swift-frontend(+0xa4341e)[0x5603fc25d41e]
/usr/bin/swift-frontend(+0xa4273d)[0x5603fc25c73d]
/usr/bin/swift-frontend(+0x914a39)[0x5603fc12ea39]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f2175fa1d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f2175fa1e40]
/usr/bin/swift-frontend(+0x914295)[0x5603fc12e295]
BUILD FAILURE 5.7 linux

Build Machine: Linux 2