Build Information
Successful build of Embassy, reference 4.1.6 (8469f2
), with Swift 6.0 for Linux on 29 Nov 2024 10:01:31 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/envoy/Embassy.git
Reference: 4.1.6
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/envoy/Embassy
* tag 4.1.6 -> FETCH_HEAD
HEAD is now at 8469f2c Merge pull request #106 from mahyarwd/fix-4.1.5-build-error
Cloned https://github.com/envoy/Embassy.git
Revision (git rev-parse @):
8469f2c1b334a7c1c3566e2cb2f97826c7cca898
SUCCESS checkout https://github.com/envoy/Embassy.git at 4.1.6
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/envoy/Embassy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/29] Emitting module Embassy
[4/32] Compiling Embassy SWSGI.swift
[5/32] Compiling Embassy SWSGIUtils.swift
[6/32] Compiling Embassy SelectSelector.swift
[7/32] Compiling Embassy TCPSocket.swift
/host/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 | inet_ntop(
290 | family,
291 | &addrStruct,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 | pointer,
293 | socklen_t(addressLength)
[8/32] Compiling Embassy TransformLogHandler.swift
/host/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 | inet_ntop(
290 | family,
291 | &addrStruct,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 | pointer,
293 | socklen_t(addressLength)
[9/32] Compiling Embassy Transport.swift
/host/spi-builder-workspace/Sources/TCPSocket.swift:291:17: warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
289 | inet_ntop(
290 | family,
291 | &addrStruct,
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'StructType'; this is likely incorrect because 'StructType' may contain an object reference.
292 | pointer,
293 | socklen_t(addressLength)
[10/32] Compiling Embassy Atomic.swift
[11/32] Compiling Embassy DefaultHTTPServer.swift
[12/32] Compiling Embassy DefaultLogFormatter.swift
[13/32] Compiling Embassy DefaultLogger.swift
[14/32] Compiling Embassy HTTPHeaderParser.swift
[15/32] Compiling Embassy HTTPRequest.swift
[16/32] Compiling Embassy HTTPServer.swift
[17/32] Compiling Embassy HeapSort.swift
[18/32] Compiling Embassy IOUtils.swift
[19/32] Compiling Embassy KqueueSelector.swift
[20/32] Compiling Embassy LogFormatter.swift
[21/32] Compiling Embassy LogHandler.swift
[22/32] Compiling Embassy Errors.swift
/host/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
| `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 | let fileHandle: FileHandle
15 | public var formatter: LogFormatter?
:
27 | public func emit(record: LogRecord) {
28 | queue.async {
29 | if let formatter = self.formatter {
| `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let msg = formatter.format(record: record) + "\n"
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/host/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | queue.async {
29 | if let formatter = self.formatter {
30 | let msg = formatter.format(record: record) + "\n"
| `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 | self.fileHandle.synchronizeFile()
/host/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
| `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 | let loggerName: String
39 | let level: LogLevel
[23/32] Compiling Embassy EventLoop.swift
/host/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
| `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 | let fileHandle: FileHandle
15 | public var formatter: LogFormatter?
:
27 | public func emit(record: LogRecord) {
28 | queue.async {
29 | if let formatter = self.formatter {
| `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let msg = formatter.format(record: record) + "\n"
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/host/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | queue.async {
29 | if let formatter = self.formatter {
30 | let msg = formatter.format(record: record) + "\n"
| `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 | self.fileHandle.synchronizeFile()
/host/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
| `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 | let loggerName: String
39 | let level: LogLevel
[24/32] Compiling Embassy FileLogHandler.swift
/host/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
| `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 | let fileHandle: FileHandle
15 | public var formatter: LogFormatter?
:
27 | public func emit(record: LogRecord) {
28 | queue.async {
29 | if let formatter = self.formatter {
| `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let msg = formatter.format(record: record) + "\n"
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/host/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | queue.async {
29 | if let formatter = self.formatter {
30 | let msg = formatter.format(record: record) + "\n"
| `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 | self.fileHandle.synchronizeFile()
/host/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
| `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 | let loggerName: String
39 | let level: LogLevel
[25/32] Compiling Embassy HTTPConnection.swift
/host/spi-builder-workspace/Sources/FileLogHandler.swift:29:32: warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// A log handler which writes log records to given file handle
13 | public struct FileLogHandler: LogHandler {
| `- note: consider making struct 'FileLogHandler' conform to the 'Sendable' protocol
14 | let fileHandle: FileHandle
15 | public var formatter: LogFormatter?
:
27 | public func emit(record: LogRecord) {
28 | queue.async {
29 | if let formatter = self.formatter {
| `- warning: capture of 'self' with non-sendable type 'FileLogHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 | let msg = formatter.format(record: record) + "\n"
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
/host/spi-builder-workspace/Sources/FileLogHandler.swift:30:52: warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | queue.async {
29 | if let formatter = self.formatter {
30 | let msg = formatter.format(record: record) + "\n"
| `- warning: capture of 'record' with non-sendable type 'LogRecord' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | self.fileHandle.write(msg.data(using: String.Encoding.utf8)!)
32 | self.fileHandle.synchronizeFile()
/host/spi-builder-workspace/Sources/Logger.swift:37:15: note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
35 | }
36 |
37 | public struct LogRecord {
| `- note: consider making struct 'LogRecord' conform to the 'Sendable' protocol
38 | let loggerName: String
39 | let level: LogLevel
[26/32] Compiling Embassy Logger.swift
[27/32] Compiling Embassy MultiDictionary.swift
[28/32] Compiling Embassy PrintLogHandler.swift
[29/32] Compiling Embassy PropagateLogHandler.swift
[30/32] Compiling Embassy Selector.swift
[31/32] Compiling Embassy SelectorEventLoop.swift
[32/32] Compiling Embassy SystemLibrary.swift
Build complete! (11.63s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Embassy",
"name" : "Embassy",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Embassy",
"targets" : [
"Embassy"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Embassy",
"module_type" : "SwiftTarget",
"name" : "Embassy",
"path" : "Sources",
"product_memberships" : [
"Embassy"
],
"sources" : [
"Atomic.swift",
"DefaultHTTPServer.swift",
"DefaultLogFormatter.swift",
"DefaultLogger.swift",
"Errors.swift",
"EventLoop.swift",
"FileLogHandler.swift",
"HTTPConnection.swift",
"HTTPHeaderParser.swift",
"HTTPRequest.swift",
"HTTPServer.swift",
"HeapSort.swift",
"IOUtils.swift",
"KqueueSelector.swift",
"LogFormatter.swift",
"LogHandler.swift",
"Logger.swift",
"MultiDictionary.swift",
"PrintLogHandler.swift",
"PropagateLogHandler.swift",
"SWSGI.swift",
"SWSGIUtils.swift",
"SelectSelector.swift",
"Selector.swift",
"SelectorEventLoop.swift",
"SystemLibrary.swift",
"TCPSocket.swift",
"TransformLogHandler.swift",
"Transport.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.