Build Information
Failed to build SwiftXmlRpc with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/helje5/SwiftXmlRpc.git
Reference: develop
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/helje5/SwiftXmlRpc
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 5449191 Update README.md
Cloned https://github.com/helje5/SwiftXmlRpc.git
Revision (git rev-parse @):
544919182a839666e3d1b007e82c14c9eadeb79c
SUCCESS checkout https://github.com/helje5/SwiftXmlRpc.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/helje5/SwiftXmlRpc.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling XmlRpc XmlRpcLiterals.swift
[5/15] Compiling XmlRpc XmlRpcGeneration.swift
[6/16] Compiling XmlRpc XmlRpcValueRepresentable.swift
[7/16] Compiling XmlRpc XmlRpcUtilities.swift
[8/16] Compiling XmlRpc XmlRpc.swift
[9/16] Emitting module XmlRpc
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:80:10: warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
78 | public enum ClientError: Swift.Error {
79 | case transportError (Swift.Error)
80 | case httpError (status: Int, headers: [AnyHashable : Any])
| `- warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
81 | case noContentInResponse
82 | case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:82:10: warning: associated value 'couldNotDecodeDataAsString(_:encoding:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
80 | case httpError (status: Int, headers: [AnyHashable : Any])
81 | case noContentInResponse
82 | case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
| `- warning: associated value 'couldNotDecodeDataAsString(_:encoding:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
83 | case invalidXmlRpcResponse (content: String)
84 | case fault (XmlRpc.Fault)
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: struct 'Encoding' does not conform to the 'Sendable' protocol
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 |
10 | import Dispatch
11 | import struct Foundation.URL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | import struct Foundation.Data
13 |
[10/16] Compiling XmlRpc XmlRpcClient.swift
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:80:10: warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
78 | public enum ClientError: Swift.Error {
79 | case transportError (Swift.Error)
80 | case httpError (status: Int, headers: [AnyHashable : Any])
| `- warning: associated value 'httpError(status:headers:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type '(status: Int, headers: [AnyHashable : Any])'; this is an error in the Swift 6 language mode
81 | case noContentInResponse
82 | case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:82:10: warning: associated value 'couldNotDecodeDataAsString(_:encoding:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
80 | case httpError (status: Int, headers: [AnyHashable : Any])
81 | case noContentInResponse
82 | case couldNotDecodeDataAsString(Data, encoding: String.Encoding)
| `- warning: associated value 'couldNotDecodeDataAsString(_:encoding:)' of 'Sendable'-conforming enum 'ClientError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
83 | case invalidXmlRpcResponse (content: String)
84 | case fault (XmlRpc.Fault)
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
1 | extension String {
2 | public struct Encoding : RawRepresentable {
| `- note: struct 'Encoding' does not conform to the 'Sendable' protocol
3 | public var rawValue: UInt
4 | public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
9 |
10 | import Dispatch
11 | import struct Foundation.URL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
12 | import struct Foundation.Data
13 |
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:244:9: warning: capture of 'client' with non-sendable type 'XmlRpcClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | */
75 | @dynamicMemberLookup
76 | public struct XmlRpcClient {
| `- note: consider making struct 'XmlRpcClient' conform to the 'Sendable' protocol
77 |
78 | public enum ClientError: Swift.Error {
:
242 | let client = self.client
243 | DispatchQueue.global().async {
244 | client.call(methodCall) { error, value in
| `- warning: capture of 'client' with non-sendable type 'XmlRpcClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 | if let error = error { result = .failure(error) }
246 | else { result = .success(value) }
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:245:34: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
243 | DispatchQueue.global().async {
244 | client.call(methodCall) { error, value in
245 | if let error = error { result = .failure(error) }
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
246 | else { result = .success(value) }
247 | semaphore.signal()
/host/spi-builder-workspace/Sources/XmlRpc/XmlRpcClient.swift:246:34: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
244 | client.call(methodCall) { error, value in
245 | if let error = error { result = .failure(error) }
246 | else { result = .success(value) }
| `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
247 | semaphore.signal()
248 | }
[11/16] Compiling XmlRpc XmlRpcMultiCall.swift
[12/16] Compiling XmlRpc XmlRpcParser.swift
[13/17] Wrapping AST for XmlRpc for debugging
error: emit-module command failed due to signal 6 (use -v to see invocation)
[15/19] Compiling xmlrpc_call main.swift
swift-frontend: /home/build-user/swift/lib/SIL/IR/TypeLowering.cpp:4240: auto swift::Lowering::TypeConverter::getLoweredLocalCaptures(swift::SILDeclRef)::(anonymous class)::operator()(swift::CaptureInfo, swift::DeclContext *) const: Assertion `captureInfo.hasBeenComputed()' failed.
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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/xmlrpc_call/main.swift -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 xmlrpc_call -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/xmlrpc_call.build/xmlrpc_call.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/xmlrpc_call.build/xmlrpc_call.swiftsourceinfo -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/xmlrpc_call.build/xmlrpc_call.emit-module.d -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/xmlrpc_call.build/xmlrpc_call.swiftmodule
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request ASTLoweringRequest(Lowering AST to SIL for module xmlrpc_call)
4. While getting lowered local captures at expression at [/host/spi-builder-workspace/Sources/xmlrpc_call/main.swift:86:25 - line:93:1] RangeText="{ error, value in
if let error = error {
handleError(error)
}
print(value)
exit(0)
"
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 0x0000557ba1f4f497
1 swift-frontend 0x0000557ba1f4d1ee
2 swift-frontend 0x0000557ba1f4fb0a
3 libc.so.6 0x00007f8cb70d7520
4 libc.so.6 0x00007f8cb712b9fc pthread_kill + 300
5 libc.so.6 0x00007f8cb70d7476 raise + 22
6 libc.so.6 0x00007f8cb70bd7f3 abort + 211
7 libc.so.6 0x00007f8cb70bd71b
8 libc.so.6 0x00007f8cb70cee96
9 swift-frontend 0x0000557b9c41aa2d
10 swift-frontend 0x0000557b9c41ba1a
11 swift-frontend 0x0000557b9c41a511
12 swift-frontend 0x0000557b9c41ba1a
13 swift-frontend 0x0000557b9c41c3ad
14 swift-frontend 0x0000557b9c40695d
15 swift-frontend 0x0000557b9c409545
16 swift-frontend 0x0000557b9b91cec4
17 swift-frontend 0x0000557b9b9964f2
18 swift-frontend 0x0000557b9b996242
19 swift-frontend 0x0000557b9b98144b
20 swift-frontend 0x0000557b9b974bbc
21 swift-frontend 0x0000557b9ba81f73
22 swift-frontend 0x0000557b9ba6cab9
23 swift-frontend 0x0000557b9ba80335
24 swift-frontend 0x0000557b9ba8dd5b
25 swift-frontend 0x0000557b9ba8d2e1
26 swift-frontend 0x0000557b9ba71e57
27 swift-frontend 0x0000557b9ba6fa0d
28 swift-frontend 0x0000557b9b981414
29 swift-frontend 0x0000557b9b975391
30 swift-frontend 0x0000557b9ba41872
31 swift-frontend 0x0000557b9ba3f5eb
32 swift-frontend 0x0000557b9ba3e91f
33 swift-frontend 0x0000557b9ba40ec2
34 swift-frontend 0x0000557b9b91eefb
35 swift-frontend 0x0000557b9ba2cdb4
36 swift-frontend 0x0000557b9b924912
37 swift-frontend 0x0000557b9b91fa33
38 swift-frontend 0x0000557b9b191415
39 swift-frontend 0x0000557b9b1a7f65
40 swift-frontend 0x0000557b9b195177
41 swift-frontend 0x0000557b9b1934fc
42 swift-frontend 0x0000557b9af4fdde
43 libc.so.6 0x00007f8cb70bed90
44 libc.so.6 0x00007f8cb70bee40 __libc_start_main + 128
45 swift-frontend 0x0000557b9af4ee85
BUILD FAILURE 6.0 linux