The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-log-telegram, reference master (20187f), with Swift 6.2 for Linux on 19 Jun 2025 14:24:28 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevapple/swift-log-telegram.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 20187f2 Add the missing dot
Cloned https://github.com/stevapple/swift-log-telegram.git
Revision (git rev-parse @):
20187f23b187cb302ab6a38e7e7431e86aa54549
SUCCESS checkout https://github.com/stevapple/swift-log-telegram.git at master
========================================
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-4606859-0":/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.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.62s)
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] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[10/17] Compiling LoggingTelegram SynchronousDataTask.swift
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:16:7: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
14 |
15 |     let dataTask = self.dataTask(with: request) {
16 |       data = $0
   |       `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
17 |       response = $1
18 |       error = $2
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:17:7: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
15 |     let dataTask = self.dataTask(with: request) {
16 |       data = $0
17 |       response = $1
   |       `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
18 |       error = $2
19 |       semaphore.signal()
/host/spi-builder-workspace/Sources/LoggingTelegram/SynchronousDataTask.swift:18:7: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
16 |       data = $0
17 |       response = $1
18 |       error = $2
   |       `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
19 |       semaphore.signal()
20 |     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[11/18] Compiling LoggingTelegram MarkdownLog.swift
[12/18] Compiling LoggingTelegram TelegramGroupChat.swift
[13/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>
[14/18] Compiling LoggingTelegram TelegramReturn.swift
[15/18] Compiling LoggingTelegram TelegramId.swift
[16/18] Compiling LoggingTelegram TelegramUserRepresentable.swift
[17/18] Compiling LoggingTelegram TelegramUser.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! (20.62s)
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.