Build Information
Failed to build DockProgress with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/DockProgress.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/sindresorhus/DockProgress
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 639ca66 Fix version in readme
Cloned https://github.com/sindresorhus/DockProgress.git
Revision (git rev-parse @):
639ca66f19dda6f8bf73470f186447abb1a5a2a2
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/sindresorhus/DockProgress.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/sindresorhus/DockProgress.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[3/5] Emitting module DockProgress
/host/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
| `- error: no such module 'Cocoa'
2 |
3 | /**
[4/5] Compiling DockProgress Utilities.swift
/host/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:1:8: error: no such module 'Cocoa'
1 | import Cocoa
| `- error: no such module 'Cocoa'
2 |
3 | /**
Can't demangle: $s12DockProgressAAO5StyleO8squircle33_F20472E406E488577DD24A40A4A145B0LLXeF5insetL_SdSgvp
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/Sources/DockProgress/DockProgress.swift /host/spi-builder-workspace/Sources/DockProgress/Utilities.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DockProgress.build/DockProgress.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/DockProgress.build/DockProgress.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -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 DockProgress -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/DockProgress.build/DockProgress.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-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While walking into 'Style' (at /host/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:332:9)
4. While evaluating request USRGenerationRequest(DockProgress.(file).DockProgress extension.Style.squircle(inset:color:).inset@/host/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:349:17)
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 0x000055ac21920497
1 swift-frontend 0x000055ac2191e1ee
2 swift-frontend 0x000055ac21920b0a
3 libc.so.6 0x00007f0a3bae4520
4 libc.so.6 0x00007f0a3bb389fc pthread_kill + 300
5 libc.so.6 0x00007f0a3bae4476 raise + 22
6 libc.so.6 0x00007f0a3baca7f3 abort + 211
7 swift-frontend 0x000055ac1ca50055
8 swift-frontend 0x000055ac1c69d934
9 swift-frontend 0x000055ac1ca1266f
10 swift-frontend 0x000055ac1c21654c
11 swift-frontend 0x000055ac1adfc9ce
12 swift-frontend 0x000055ac1adfc67a
13 swift-frontend 0x000055ac1adfb8d2
14 swift-frontend 0x000055ac1ca1319a
15 swift-frontend 0x000055ac1adcadab
16 swift-frontend 0x000055ac1adca2f7
17 swift-frontend 0x000055ac1adc7c29
18 swift-frontend 0x000055ac1bb44226
19 swift-frontend 0x000055ac1c6fc89c
20 swift-frontend 0x000055ac1c6fe38c
21 swift-frontend 0x000055ac1c701240
22 swift-frontend 0x000055ac1c6fc8ba
23 swift-frontend 0x000055ac1c701d5f
24 swift-frontend 0x000055ac1c70098f
25 swift-frontend 0x000055ac1c6fc8ba
26 swift-frontend 0x000055ac1c7014f6
27 swift-frontend 0x000055ac1c6fc8ba
28 swift-frontend 0x000055ac1c6fc7b3
29 swift-frontend 0x000055ac1c8e281f
30 swift-frontend 0x000055ac1bb41bd4
31 swift-frontend 0x000055ac1adc6c51
32 swift-frontend 0x000055ac1adc6afa
33 swift-frontend 0x000055ac1adbb12c
34 swift-frontend 0x000055ac1adbab15
35 swift-frontend 0x000055ac1ab6d572
36 swift-frontend 0x000055ac1ab6b67c
37 swift-frontend 0x000055ac1ab66198
38 swift-frontend 0x000055ac1ab644fc
39 swift-frontend 0x000055ac1a920dde
40 libc.so.6 0x00007f0a3bacbd90
41 libc.so.6 0x00007f0a3bacbe40 __libc_start_main + 128
42 swift-frontend 0x000055ac1a91fe85
BUILD FAILURE 6.0 linux