The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-log-telegram, reference v0.0.2 (118ba1), with Swift 6.3 for Linux on 13 Apr 2026 05:27:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6521] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.04s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogHandler.swift
[5/9] Compiling Logging LogEvent.swift
[6/9] Compiling Logging MetadataProvider.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging Locks.swift
[9/9] Compiling Logging Logging.swift
[11/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>
[12/19] Compiling LoggingTelegram TelegramUser.swift
[13/19] Compiling LoggingTelegram TelegramId.swift
[14/19] Compiling LoggingTelegram TelegramReturn.swift
[15/19] Compiling LoggingTelegram TelegramUserRepresentable.swift
[16/19] Compiling LoggingTelegram TelegramGroupChat.swift
[17/19] Emitting module LoggingTelegram
/host/spi-builder-workspace/Sources/LoggingTelegram/TelegramLogHandler.swift:21:14: warning: deprecated default implementation is used to satisfy instance method 'log(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/19] Compiling LoggingTelegram MarkdownLog.swift
[19/19] 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(event:)' 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(event:)' 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:256:17: note: 'log(event:)' declared here
143 |     ///
144 |     /// - Parameter event: The log event containing the level, message, metadata, and source location.
145 |     func log(event: LogEvent)
    |          `- note: requirement 'log(event:)' declared here
146 |
147 |     /// Please do _not_ implement this method when you create a `LogHandler` implementation.
    :
254 |     ///   Implement ``log(event:)`` in your ``LogHandler`` instead.
255 |     @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
256 |     public func log(event: LogEvent) {
    |                 `- note: 'log(event:)' declared here
257 |         self.log(
258 |             level: event.level,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (18.09s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.