Build Information
Successful build of swift-log-telegram, reference v0.0.2 (118ba1), with Swift 6.2 for Linux on 19 Jun 2025 14:23:30 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevapple/swift-log-telegram.git
Reference: v0.0.2
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/stevapple/swift-log-telegram
* tag v0.0.2 -> FETCH_HEAD
HEAD is now at 118ba1d Refactor Models
Cloned https://github.com/stevapple/swift-log-telegram.git
Revision (git rev-parse @):
118ba1de0a9e8cbd5392fca7f7fefcaeac347653
SUCCESS checkout https://github.com/stevapple/swift-log-telegram.git at v0.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/stevapple/swift-log-telegram.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.84s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[10/17] Compiling LoggingTelegram TelegramUser.swift
[11/18] Compiling LoggingTelegram TelegramId.swift
[12/18] Compiling LoggingTelegram TelegramReturn.swift
[13/18] Compiling LoggingTelegram SynchronousDataTask.swift
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:15:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
13 |
14 | let dataTask = self.dataTask(with: request) {
15 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
16 | response = $1
17 | error = $2
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:16:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
14 | let dataTask = self.dataTask(with: request) {
15 | data = $0
16 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
17 | error = $2
18 | semaphore.signal()
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:17:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
15 | data = $0
16 | response = $1
17 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
18 | semaphore.signal()
19 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[14/18] Compiling LoggingTelegram TelegramUserRepresentable.swift
[15/18] Compiling LoggingTelegram TelegramGroupChat.swift
[16/18] Emitting module LoggingTelegram
/host/spi-builder-workspace/Sources/LoggingTelegram/TelegramLogHandler.swift:21:14: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
19 | /// `Logger` output directly to Telegram,
20 | /// Forked from `SlackLogHandler`.
21 | public class TelegramLogHandler<T>: LogHandler where T: TelegramId {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
22 | private var timestamp: String {
23 | var buffer = [Int8](repeating: 0, count: 255)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/18] Compiling LoggingTelegram MarkdownLog.swift
[18/18] Compiling LoggingTelegram TelegramLogHandler.swift
/host/spi-builder-workspace/Sources/LoggingTelegram/TelegramLogHandler.swift:21:14: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
19 | /// `Logger` output directly to Telegram,
20 | /// Forked from `SlackLogHandler`.
21 | public class TelegramLogHandler<T>: LogHandler where T: TelegramId {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation [#DeprecatedDeclaration]
22 | private var timestamp: String {
23 | var buffer = [Int8](repeating: 0, count: 255)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:209:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | level: Logger.Level,
137 | message: Logger.Message,
:
207 | extension LogHandler {
208 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
209 | public func log(
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
210 | level: Logger.Level,
211 | message: Logger.Message,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (15.29s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "swift-log-telegram",
"name" : "swift-log-telegram",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "LoggingTelegram",
"targets" : [
"LoggingTelegram"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoggingTelegramTests",
"module_type" : "SwiftTarget",
"name" : "LoggingTelegramTests",
"path" : "Tests/LoggingTelegramTests",
"sources" : [
"XCTestManifests.swift"
],
"target_dependencies" : [
"LoggingTelegram"
],
"type" : "test"
},
{
"c99name" : "LoggingTelegram",
"module_type" : "SwiftTarget",
"name" : "LoggingTelegram",
"path" : "Sources/LoggingTelegram",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"LoggingTelegram"
],
"sources" : [
"MarkdownLog.swift",
"Models/TelegramGroupChat.swift",
"Models/TelegramId.swift",
"Models/TelegramReturn.swift",
"Models/TelegramUser.swift",
"Models/TelegramUserRepresentable.swift",
"SynchronousDataTask.swift",
"TelegramLogHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.