Build Information
Failed to build SwiftUIMessage with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/edonv/SwiftUIMessage.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/edonv/SwiftUIMessage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 17027d2 Added empty privacy manifest
Cloned https://github.com/edonv/SwiftUIMessage.git
Revision (git rev-parse @):
17027d2151f0d6961eb48abd934341ea1794efd1
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/edonv/SwiftUIMessage.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/edonv/SwiftUIMessage.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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/8] Emitting module SwiftUIMessage
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension View where Self == MailComposeView {
[4/8] Compiling SwiftUIMessage MailComposeView+ViewModifiers.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension View where Self == MailComposeView {
Can't demangle: $s14SwiftUIMessage18MessageComposeViewV10AttachmentO3url33_16A5E638B6CFC775DD4A90F3D4B7DA25LLXeF17alternateFilenameL_SSSgvp
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/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift /host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView.swift -primary-file /host/spi-builder-workspace/Sources/SwiftUIMessage/MFMessageComposeViewController/MessageComposeView+ViewModifiers.swift /host/spi-builder-workspace/Sources/SwiftUIMessage/MFMessageComposeViewController/MessageComposeView.swift /host/spi-builder-workspace/Sources/SwiftUIMessage/NotificationName+Extensions.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftUIMessage.build/MessageComposeView+ViewModifiers.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SwiftUIMessage.build/MessageComposeView+ViewModifiers.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 SwiftUIMessage -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/SwiftUIMessage.build/MessageComposeView+ViewModifiers.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 'Attachment' (at /host/spi-builder-workspace/Sources/SwiftUIMessage/MFMessageComposeViewController/MessageComposeView+ViewModifiers.swift:36:12)
4. While evaluating request USRGenerationRequest(SwiftUIMessage.(file).MessageComposeView extension.Attachment.url(attachmentURL:alternateFilename:).alternateFilename@/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMessageComposeViewController/MessageComposeView+ViewModifiers.swift:43:38)
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 0x00005577b8039497
1 swift-frontend 0x00005577b80371ee
2 swift-frontend 0x00005577b8039b0a
3 libc.so.6 0x00007f9db0fbf520
4 libc.so.6 0x00007f9db10139fc pthread_kill + 300
5 libc.so.6 0x00007f9db0fbf476 raise + 22
6 libc.so.6 0x00007f9db0fa57f3 abort + 211
7 swift-frontend 0x00005577b3169055
8 swift-frontend 0x00005577b2db6934
9 swift-frontend 0x00005577b312b66f
10 swift-frontend 0x00005577b292f54c
11 swift-frontend 0x00005577b15159ce
12 swift-frontend 0x00005577b151567a
13 swift-frontend 0x00005577b15148d2
14 swift-frontend 0x00005577b312c19a
15 swift-frontend 0x00005577b14e3dab
16 swift-frontend 0x00005577b14e32f7
17 swift-frontend 0x00005577b14e0c29
18 swift-frontend 0x00005577b225d226
19 swift-frontend 0x00005577b2e1589c
20 swift-frontend 0x00005577b2e1738c
21 swift-frontend 0x00005577b2e1a240
22 swift-frontend 0x00005577b2e158ba
23 swift-frontend 0x00005577b2e1ad5f
24 swift-frontend 0x00005577b2e1998f
25 swift-frontend 0x00005577b2e158ba
26 swift-frontend 0x00005577b2e1a4f6
27 swift-frontend 0x00005577b2e158ba
28 swift-frontend 0x00005577b2e157b3
29 swift-frontend 0x00005577b2ffb81f
30 swift-frontend 0x00005577b225abd4
31 swift-frontend 0x00005577b14dfc51
32 swift-frontend 0x00005577b14dfafa
33 swift-frontend 0x00005577b14d412c
34 swift-frontend 0x00005577b14d3b15
35 swift-frontend 0x00005577b1286572
36 swift-frontend 0x00005577b128467c
37 swift-frontend 0x00005577b127f198
38 swift-frontend 0x00005577b127d4fc
39 swift-frontend 0x00005577b1039dde
40 libc.so.6 0x00007f9db0fa6d90
41 libc.so.6 0x00007f9db0fa6e40 __libc_start_main + 128
42 swift-frontend 0x00005577b1038e85
BUILD FAILURE 6.0 linux