Build Information
Failed to build swift-service, reference main (11e7f2
), with Swift 6.0 for Linux on 22 Aug 2025 16:53:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nslogmeng/swift-service.git
Reference: main
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/nslogmeng/swift-service
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 11e7f26 fix: test error
Cloned https://github.com/nslogmeng/swift-service.git
Revision (git rev-parse @):
11e7f26f1620e79713947506939ac7378be45a9c
SUCCESS checkout https://github.com/nslogmeng/swift-service.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nslogmeng/swift-service.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Service ServiceStorage.swift
[4/11] Compiling Service ServiceKey.swift
[5/11] Compiling Service ServiceEnv.swift
error: compile command failed due to signal 11 (use -v to see invocation)
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/Sources/Service/Scope.swift /host/spi-builder-workspace/Sources/Service/ScopeStorage.swift /host/spi-builder-workspace/Sources/Service/Service.swift /host/spi-builder-workspace/Sources/Service/ServiceContext.swift /host/spi-builder-workspace/Sources/Service/ServiceEnv.swift /host/spi-builder-workspace/Sources/Service/ServiceKey.swift /host/spi-builder-workspace/Sources/Service/ServiceStorage.swift -primary-file /host/spi-builder-workspace/Sources/Service/Utils/Lock.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Service.build/Lock.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Service.build/Lock.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Service -package-name spi_builder_workspace -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/Service.build/Lock.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0.3 (swift-6.0.3-RELEASE)
2. Compiling with the current language version
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/Service/Utils/Lock.swift")
4. While emitting IR SIL function "@$s7Service6LockedC7defaultACyxGx_tcfc".
for 'init(default:)' (at /host/spi-builder-workspace/Sources/Service/Utils/Lock.swift:26:5)
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):
0 swift-frontend 0x000056023d785bc7
1 swift-frontend 0x000056023d783b8e
2 swift-frontend 0x000056023d78623a
3 libc.so.6 0x00007f5af0265520
4 swift-frontend 0x0000560237f65612
5 swift-frontend 0x0000560237f28e06
6 swift-frontend 0x0000560237f28326
7 swift-frontend 0x0000560237f2b814
8 swift-frontend 0x000056023804359f
9 swift-frontend 0x0000560238043510
10 swift-frontend 0x0000560238060150
11 swift-frontend 0x00005602380636ad
12 swift-frontend 0x000056023809fbd3
13 swift-frontend 0x000056023809fe15
14 swift-frontend 0x000056023811ad71
15 swift-frontend 0x0000560237fcdff6
16 swift-frontend 0x0000560238117fa2
17 swift-frontend 0x0000560238117418
18 swift-frontend 0x0000560238116fbc
19 swift-frontend 0x000056023811a453
20 swift-frontend 0x0000560238116ca3
21 swift-frontend 0x0000560238116d55
22 swift-frontend 0x000056023809fc65
23 swift-frontend 0x00005602380eeefd
24 swift-frontend 0x00005602380e3a85
25 swift-frontend 0x00005602380e0ae0
26 swift-frontend 0x0000560237fba456
27 swift-frontend 0x0000560237e775a1
28 swift-frontend 0x0000560237ed4ad3
29 swift-frontend 0x0000560237ed4a29
30 swift-frontend 0x0000560237e80512
31 swift-frontend 0x0000560237e79b11
32 swift-frontend 0x0000560237ace9f9
33 swift-frontend 0x0000560237aca5b6
34 swift-frontend 0x0000560237ac9391
35 swift-frontend 0x0000560237acbf6b
36 swift-frontend 0x0000560237acb1d6
37 swift-frontend 0x00005602378a23b7
38 libc.so.6 0x00007f5af024cd90
39 libc.so.6 0x00007f5af024ce40 __libc_start_main + 128
40 swift-frontend 0x00005602378a0ad5
*** Signal 11: Backtracing from 0x560237f65612... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000018 ***
Thread 0 "swift-frontend" crashed:
0 0x0000560237f65612 swift::irgen::emitArchetypeTypeMetadataRef(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::ArchetypeType>, swift::irgen::DynamicMetadataRequest) + 258 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000000 0
rcx 0x0000000000000000 0
rbx 0x00007ffc8ef9c940 c0 28 dd 41 02 56 00 00 9b fa 4a 39 02 56 00 00 À(ÝA·V···úJ9·V··
rsi 0x0000560241b6dc40 10 34 31 41 02 56 00 00 22 02 00 04 00 00 03 00 ·41A·V··"·······
rdi 0x0000560241dd28c0 00 f0 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 ·ðÿÿÿÿÿÿ········
rbp 0x00007ffc8ef9ca90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rsp 0x00007ffc8ef9ca10 40 dc b6 41 02 56 00 00 a5 49 4b 39 02 56 00 00 @ܶA·V··¥IK9·V··
r8 0x0000560241dd24d0 00 f0 ff ff ff ff ff ff 00 00 00 00 00 00 00 00 ·ðÿÿÿÿÿÿ········
r9 0x0000000000000000 0
r10 0x0000560241b6dc40 10 34 31 41 02 56 00 00 22 02 00 04 00 00 03 00 ·41A·V··"·······
r11 0x0000000000000000 0
r12 0x0000000000000000 0
r13 0x00007ffc8ef9d050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r14 0x00007ffc8ef9d948 d0 07 fa 8e fc 7f 00 00 60 d9 f9 8e fc 7f 00 00 зú·ü···`Ùù·ü···
r15 0x0000560241b6dc40 10 34 31 41 02 56 00 00 22 02 00 04 00 00 03 00 ·41A·V··"·······
rip 0x0000560237f65612 48 8b 43 18 48 85 c0 74 10 89 c1 83 e1 02 48 85 H·C·H·Àt··Á·á·H·
rflags 0x0000000000010246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (34 omitted):
0x0000560237076000–0x000056023e4506e0 8e0005db0dddea8bdd7be09b9256d2bd43fd283f swift-frontend /usr/bin/swift-frontend
Backtrace took 0.37s
BUILD FAILURE 6.0 linux