The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-log-telegram, reference v0.0.2 (118ba1), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 14:28:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/stevapple/swift-log-telegram.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging Logging.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Emitting module Logging
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging MetadataProvider.swift
[9/17] Compiling LoggingTelegram TelegramGroupChat.swift
[10/17] Compiling LoggingTelegram TelegramId.swift
[11/17] Compiling LoggingTelegram SynchronousDataTask.swift
[12/17] Compiling LoggingTelegram TelegramUser.swift
[13/17] Emitting module LoggingTelegram
/Users/admin/builder/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)
/Users/admin/builder/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/17] Compiling LoggingTelegram MarkdownLog.swift
[15/17] Compiling LoggingTelegram TelegramUserRepresentable.swift
[16/17] Compiling LoggingTelegram TelegramLogHandler.swift
/Users/admin/builder/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)
/Users/admin/builder/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/17] Compiling LoggingTelegram TelegramReturn.swift
Build complete! (6.91s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.57s)
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
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" : "/Users/admin/builder/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"
}
Done.